Recently I typeset the same document on two different computers—once on my Mac and once on a machine running Ubuntu. (Both have the latest release of TeX Live, or whatever the standard distro is.) The two PDFs were identical, except that the heads of the \rightarrow
s (hence \to
s) the Ubuntu machine produced were slightly fatter (and uglier) than those the Mac produced. Does this style feature vary across versions of LaTeX, and how can I control which arrowheads are typeset?
The code
\documentclass{article}
\begin{document}
This document was created on the Ubuntu machine, using \TeX\ Live 2009, \LaTeX\ 2e, etc.
Here is an arrow:
\[ \rightarrow\]
\end{document}
on the Ubuntu machine generated arrowtest.pdf.
And the code
\documentclass{article}
\begin{document}
This document was created using the Mac, using \LaTeX\ 2e, etc.
This is an arrow:
\[ \rightarrow \]
\end{document}
on my Mac generated arrowtest2.pdf.
Best Answer
There are two versions of the arrow heads in circulation, so it is possible that on one machine a font uses the first while on the other machine a font uses the other one.
What happened is that Knuth changed the styles of arrows in 1992 as he says in his Important Message to all Users of TeX :
Here is the two versions side by side by comparison:
The problem is that when the fonts based on Computer Modern where converted in type1 format, some of them stayed with the old version and some with the new version. For example, the amssymb
\twoheadrightarrow
uses the short arrowhead whereas the bluesky type1 \rightarrow uses the large one:If you load an old
lmodern
package (e.g. version 1.3 from 2007/01/14) the\rightarrow
will use the old arrow head (but the text arrow the new one). However, in the newestlmodern
, the correct arrow heads are now being used, as the lm-hist.txt file says:If you are sure that your two TeX distributions are recent, using
\usepackage{lmodern}
on both should solve the issue.