[texhax] the role of the tilde "~" in the set definition
Lars Madsen
daleif at imf.au.dk
Sun Oct 18 13:26:43 CEST 2009
Micha Hofri wrote:
> At 11:10 on 10/17/09 Lars Madsen sent:
>
> : P. R. Stanley wrote:
> : > Hi folks
> : > Here's another one taken from the Spivey text on the z (pronounced zed)
> : > language:
> : > \[ \{~p: PERSON | age(p) \geq 16~\} \]
> : > A simple set definition. Any idea what the "~" is supposed to do?
> : >
> : > many thanks
> : > Paul
> : >
> : > _______________________________________________
> : > TeX FAQ: http://www.tex.ac.uk/faq
> : > Mailing list archives: http://tug.org/pipermail/texhax/
> : > More links: http://tug.org/begin.html
> : >
> : > Automated subscription management: http://tug.org/mailman/listinfo/texhax
> : > Human mailing list managers: postmaster at tug.org
> :
> : it usually represents a non-breakable space
> :
> : in math is doesn't really have any meaning, I'm guessing here that the author
> : is misusing it to provide some extra space instead of using a say \ followed
> : by a space.
> :
> : /daleif
>
>
> Why is the use of tilde in math mode a misuse? it is the most
> keyboard-efficient of getting a controlled spacing. I _think_ it is
> controlled...
>
> Just puzzled, --Micha Hofri
>
well having seen people write
\begin{align*}
A &= long equation\\
~~~~~~~~~~~~~~~~~ + B
\end{align*}
that is just nasty
/daleif
More information about the texhax
mailing list