
私は文書を読みましたフォント変更 xetex\hangpun
font-change-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