Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道我可以用---(和用--)创建一个破折号。但是,我想在我的 Unicode 设置中使用这些字形,并尝试如下:
---
--
\DeclareUnicodeCharacter{2012}{--} \DeclareUnicodeCharacter{2013}{--} \DeclareUnicodeCharacter{2014}{---}
只是在输出中产生一系列两个或三个破折号。我应该改用什么?我试过\endashand \ndash,但那些不是已知的命令。
\endash
\ndash
\textemdash和\textendash
\textemdash
\textendash