[texhax] unexpeced space

Philip G. Ratcliffe philip.ratcliffe at fastwebnet.it
Tue May 8 21:59:22 CEST 2007


> 	I found that if  a macro is creating unexpected space 
> then use that
> macro within \llap,
>             as in '\lap{\macro}', to eliminate the space.  
> It's a shoestring
> solution  because it doesn't 
> 	treat the source of the problem.   I'm happy anyway.

Not wishing to offend, but it's worse than "shoestring" since the presence
of something like \llap can cause other problems:

\documentclass{article}
\def\mymacro{%
  \typeout{ello World}
  ello World
}
\begin{document}
Do you prefer H\llap{\mymacro} or H\mymacro?
\end{document}

Cheers,  Phil



More information about the texhax mailing list