Hi all, new guy here.
I want to avoid typing frequently used long words and phrases, and use
abbreviations instead. I tried with
\def\CLT{$\mbox{central limit theorem}$}
and
\newcommand{\CLT}{central limit theorem}
and a few variations but the problem is that LaTeX doesn't leave
a space at the end of the word (and if I define the space within
the command, then I have a problem with puntcuation after the word).
In addition there are problems with line ending.
What's the solution? Thanks.
General ⇒ define frequently used phrases
NEW: TikZ book now 40% off at Amazon.com for a short time.

define frequently used phrases
Hi,
load the xspace package and use something like
load the xspace package and use something like
Code: Select all
\newcommand{\CLT}{central limit theorem\xspace}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Re: define frequently used phrases
Thanks, that worked!