구두점 앞이나 뒤에 \index를 사용하시겠습니까?

구두점 앞이나 뒤에 \index를 사용하시겠습니까?

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 ~ 전에이러한 문제를 방지하기 위한 단어입니다.

관련 정보