[texhax] TeX commands as abbreviations

Matthew Leingang leingang at math.harvard.edu
Thu Nov 1 15:27:09 CET 2007


On Nov 1, 2007, at 10:04 AM, martin f krafft wrote:

> also sprach Morten Høgholm <morten.hoegholm at gmail.com>  
> [2007.11.01.1442 +0100]:
>
> For instance, with
>
>   \newcommand{\foreign}[1] {\emph{#1}}
>   \newcommand{\vs}[1] {\foreign{vs.}\xspace}
>
> "Variance \vs process theory" becomes "Variance vs. rocess theory".
> Properly spaced, but it still eats a character.

Why does \vs take an argument?  I believe that's where your p went.

--Matt

--
Matthew Leingang
Preceptor in Mathematics
Harvard University

http://www.math.harvard.edu/~leingang/vCard.vcf





More information about the texhax mailing list