
나는 의 문서를 읽었다.글꼴 변경-xetex. \hangpun
글꼴 변경-xetex 명령이 구두점 매달기를 사용하는 방법을 제공한다고 나와 있습니다 . 그래서 시도해 보았지만 작동하지 않습니다.
이것은 내 테스트 파일입니다.
\input font-change-xetex
\hsize3.4in
\myfont{Adobe Caslon Pro}{11}{}\hangpun
\noindent Some people are for using hanging punctuation,
and some against. In the end, it is a matter of personal
choice. He said, “I use hanging punctuation.”
“But does it really lead to better text justification?”
asked Joe.
\bye
그런 다음 다음과 같은 따뜻함을 보여줍니다.
! Missing number, treated as zero.
<to be read again>
U
\setprotcode ...\XeTeXprotrudechars =1\rpcode #1 U
"0021 226\rpcode #1 U"002C...
\hangpun ... {\capsslbf }{}\setprotcode {\fiverm }
{}\setprotcode {\fiveit }{...
l.4 \myfont{Adobe Caslon Pro}{11}{}\hangpun
?
어떻게 만들 수 있나요?
답변1
를 사용하여 문서 글꼴을 설정해야 하며 \myzfont
이는 \myfont
로컬 변경에만 해당됩니다.
\input font-change-xetex
\hsize3.4in
\myzfont{TeX Gyre Heros}{11}{}
\hangpun
\noindent Some people are for using hanging punctuation,
and some against. In the end, it is a matter of personal
choice. He said, “I use hanging punctuation.”
“But does it really lead to better text justification?”
asked Joe.
\bye