Packages


Table of Contents

Space problem for my own abbreviations 
Space problem for my own abbreviations 
textmerg questions 
PDFlatex losing fancyhdr? 
Heading losing with fancyhdr? 
Big leading letters? 
the "what's new" feature 
changebar and finer granularity? 
changebar and finer granularity? 
Slides (Changing size of left margin) 
Latex Slides Headings 

Space problem for my own abbreviations 

> If I define my own abbreviations as follows (no ending space),
>
> \newcommand{\knn}{$k$NN}
>
> I found that the space after the \knn will be eaten

Either call the command like \knn{} to avoid the eating of the space or use the `xspace' package and the command with the same:

\newcommand{knn}{$k$NN\xspace}

\xspace will determine if a space is needed, and if so insert one.

Magnus

Space problem for my own abbreviations 

xspace comes as an ready-made package with latex. It's at:

/usr/share/texmf/tex/latex/tools/xspace.sty

documented on: 2000.11.30