
마크업이 동일한 출력을 제공하는지 확인하는 방법이 있습니까? 다소 어리석은 예로서, 이것이 PDF에서 동일하게 보이는지 어떻게 확인할 수 있습니까?
\mathop{\text{cos}}
\cos
답변1
\documentclass{article}
\usepackage{amsmath}
\showoutput
\begin{document}
$\mathop{\text{cos}}$
$\cos$
\itshape
$\mathop{\text{cos}}$
$\cos$
\end{document}
첫 번째가 만든다
....\mathon
....\hbox(4.30554+0.0)x13.3889
.....\hbox(4.30554+0.0)x13.3889
......\OT1/cmr/m/n/10 c
......\OT1/cmr/m/n/10 o
......\OT1/cmr/m/n/10 s
....\mathoff
두번째
....\mathon
....\hbox(4.30554+0.0)x13.3889
.....\kern 0.0
.....\OT1/cmr/m/n/10 c
.....\OT1/cmr/m/n/10 o
.....\OT1/cmr/m/n/10 s
....\mathoff
보이지 않는 제로 컨을 제외하고는 동일합니다.
하지만 세 번째는
....\mathon
....\hbox(4.30554+0.0)x13.28879
.....\hbox(4.30554+0.0)x13.28879
......\OT1/cmr/m/it/10 c
......\kern-0.51112
......\OT1/cmr/m/it/10 o
......\OT1/cmr/m/it/10 s
....\mathoff
이는 네 번째와 완전히 다릅니다(두 번째와 동일함).
....\mathon
....\hbox(4.30554+0.0)x13.3889
.....\kern 0.0
.....\OT1/cmr/m/n/10 c
.....\OT1/cmr/m/n/10 o
.....\OT1/cmr/m/n/10 s
....\mathoff