在我看來,如果使用say\index{say}.
與使用say.\index{say}
以下愚蠢的範例,您會得到不同的字距調整:
\documentclass[12pt]{memoir}
\usepackage{microtype}
\begin{document}
Some simple text about say.\index{say}
Additional text about say\index{say}.
say\index{say}. say.\index{say}
say\index{say}. say.\index{say}
say\index{say}. say.\index{say}
say\index{say}. say.\index{say}
say\index{say}. say.\index{say}
say\index{say}. say.\index{say}
say.\index{say} say.\index{say}
say\index{say}. say.\index{say}
say\index{say}. say.\index{say}
say\index{say}. say.\index{say}
say\index{say}. say.\index{say}
say\index{say}. say.\index{say}
say\index{say}. say.\index{say}
say\index{say}. say.\index{say}
say\index{say}. say.\index{say}
say\index{say}. say.\index{say}
say\index{say}. say.\index{say}
say\index{say}. say.\index{say}
say\index{say}. say.\index{say}
Can you see that there are lots of say\index{say}?
\end{document}
他們對我來說看起來不同:
所以我問,這是正確的方法say.\index{say}
嗎?標點符號之後是否應該有任何命令(即\label
等)?
答案1
在日誌檔案中更容易看到差異。
\documentclass[12pt]{memoir}
\usepackage{microtype}
\begin{document}
\showoutput
1say.\index{say}
2say\index{say}.
\end{document}
節目
....\OT1/cmr/m/n/12 1
....\OT1/cmr/m/n/12 s
....\OT1/cmr/m/n/12 a
....\kern-0.32639
....\OT1/cmr/m/n/12 y
....\kern-0.97916
....\OT1/cmr/m/n/12 .
....\penalty 10000
....\OT1/cmr/m/n/12 2
....\OT1/cmr/m/n/12 s
....\OT1/cmr/m/n/12 a
....\kern-0.32639
....\OT1/cmr/m/n/12 y
....\OT1/cmr/m/n/12 .
....\penalty 10000
正如您在問題中所建議的那樣,這證實您丟失了字體指定的緊距,糾正了.
在這種情況下 之前的空格-0.97916pt
。
正如我看到egreg剛剛評論的那樣,最好把\index
前這個詞就可以避免這些問題。