Unicode 为什么可以';t我显示ð;乳胶的象征?
我可以使用Unicode 为什么可以';t我显示ð;乳胶的象征?,unicode,latex,Unicode,Latex,我可以使用\DeclareUnicodeCharacter{0278}{\phi}然后$ɸ$以LaTeX显示ɸ符号。但是,当我尝试使用: \usepackage[utf8]{inputenc} \DeclareUnicodeCharacter{0360}{\eth} \begin{document} $ð$ \end{document} ð不显示。为什么这个不行?你需要 在您使用的编码中提供\eth宏的包,例如stix 与\phi不同,此软件包中的\eth宏是一个文本宏,而不是一个数
\DeclareUnicodeCharacter{0278}{\phi}
然后$ɸ$
以LaTeX显示ɸ符号。但是,当我尝试使用:
\usepackage[utf8]{inputenc}
\DeclareUnicodeCharacter{0360}{\eth}
\begin{document}
$ð$
\end{document}
ð不显示。为什么这个不行?你需要
- 在您使用的编码中提供
宏的包,例如\eth
stix
- 与
不同,此软件包中的\phi
宏是一个文本宏,而不是一个数学宏,因此可以在数学环境之外使用它,也可以使用\eth
软件包中的\text{..}
\text{..}
- 如果您的tex发行版没有完全过时,您不需要
,这是几年来的默认版本\usepack[utf8]{inputenc}
或者避免所有的麻烦,只需使用一个支持unicode的引擎,如lualatex:
% !TeX TS-program = lualatex
\documentclass{article}
\begin{document}
ð
\end{document}
% !TeX TS-program = lualatex
\documentclass{article}
\begin{document}
ð
\end{document}