[texhax] Sentence end after \uppercase
Oleg Katsitadze
olegkat at gmail.com
Tue Jan 2 20:36:39 CET 2007
On Tue, Jan 02, 2007 at 01:33:06PM -0500, Joel Salomon wrote:
> \uc{foo} bar
> typesets as
> FOObar
Sorry, this is my fault -- the space is eaten after the assignment
inside \ucsf. Just add \relax after the assignment, and everything
should be ok:
\def\uc#1{%
\setbox0=\hbox{#1\xdef\ucsf{\spacefactor\the\spacefactor\relax}}%
\uppercase{#1}\ucsf
}%
Best,
Oleg
More information about the texhax
mailing list