[texhax] Displaying math in the same line

Philipp Stephani st_philipp at yahoo.de
Wed May 25 07:51:33 CEST 2011


Am 24.05.2011 um 22:31 schrieb Soeren D. Schulze:

> On 24.05.2011 20:12, Philipp Stephani wrote:
>>> \noindent{\bf Pythagoras' Theorem:}
>>> %\vskip-24pt
>>> $$a^2+b^2=c^2$$
>>> \bye
>>> 
>>> [...]
>> 
>> Maybe just
>> 
>> \noindent\rlap{\bf Pythagoras' Theorem:}\hfil$a^2+b^2=c^2$\hfil\par
>> \bye
> 
> Thanks, that almost what I'm looking for.
> But what if I make it more complex?  Say I want:
> $$\langle v,w \rangle := \sum_{i=1}^n v_i\cdot w_i$$
> 
> What I want to do is to format the displayed equation as if the introductory text hadn't been there.

... \hfil$\displaystyle ...


More information about the texhax mailing list