[texhax] Odd behavior of \check at mathfonts
Philip G. Ratcliffe
philip.ratcliffe at uninsubria.it
Tue May 15 16:20:54 CEST 2007
> > If you compile the following file
>
> [snipped]
> > you will see that there is a spurious indentation in the
> line following
> > the first display, but not the second. Is there a better
> way of getting
> > the mathfont recognized?
>
> Here's my version, but it still uses an \hbox !
> Philip Taylor
> --------
> \documentclass {article}
> \newdimen \axis
> \setbox 0 = \hbox {\makeatletter \check at mathfonts \makeatother}
> \axis = \fontdimen 22 \textfont 2
> \begin {document}
>
> $$e = mc^2$$
> xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx
> xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx
> xxx xxx
> $$e = mc^2$$
> xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx
> xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx
> xxx xxx
>
> \end {document}
This works too
\bgroup\makeatletter \check at mathfonts \makeatother\egroup
Cheers, Phil
More information about the texhax
mailing list