[texhax] Odd behavior of \check at mathfonts

Michael Barr barr at math.mcgill.ca
Mon May 14 16:44:21 CEST 2007


Interesting, but I'll stick to my solution for the nonce.  The full code 
had been 
\ifx\check at mathfonts\undefined
\else \check at mathfonts
\fi

My diagxy macros work just as well in plain tex, but it seems that in 
plain tex those fonts were preloaded.

Michael

On Mon, 14 May 2007, Philip Taylor (Webmaster) wrote:

> 
> 
> Michael Barr wrote:
> > 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}
> 



More information about the texhax mailing list