[texhax] Displaying math in the same line

Philip TAYLOR (Webmaster, Ret'd) P.Taylor at Rhul.Ac.Uk
Tue May 24 20:40:22 CEST 2011



Soeren D. Schulze wrote:
> 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?

$$a^2+b^2=c^2\leqno {\hbox to 1 sp {\bf Pythoragas's Theorem$\,$:\hss}}$$
\bye

Philip Taylor


More information about the texhax mailing list