[texhax] Displaying math in the same line

Philipp Stephani st_philipp at yahoo.de
Tue May 24 20:12:30 CEST 2011


Am 24.05.2011 um 19:29 schrieb Soeren D. Schulze:

> Consider the following simple plain TeX file:
> 
> \noindent{\bf Pythagoras' Theorem:}
> %\vskip-24pt
> $$a^2+b^2=c^2$$
> \bye
> 
> To my taste, the first line looks a bit "abandoned" because there is so much space left.
> If I uncomment the "vskip" line, I like it much better, but it's technically not exactly clean.
> 
> Is there any kind of alternative you can propose?

Maybe just

\noindent\rlap{\bf Pythagoras' Theorem:}\hfil$a^2+b^2=c^2$\hfil\par
\bye




More information about the texhax mailing list