문제

I know I can create an em-dash with --- (and an en-dash with --). However, I want to use these glyphs in my Unicode setup, and trying it as follows:

\DeclareUnicodeCharacter{2012}{--}
\DeclareUnicodeCharacter{2013}{--}
\DeclareUnicodeCharacter{2014}{---}

simply yields series of two or three dashes in the output. What should I use instead? I tried \endash and \ndash, but those are not known commands.

도움이 되었습니까?

해결책

\textemdash and \textendash

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top