On Tue, 24 Oct 2006 21:31:29 +0200 (CEST)
Peter Münster
On Tue, 24 Oct 2006, Wolfgang Schuster wrote:
\def\MySpace {\dosingleempty\doMySpace}
\def\doMySpace[#1]% {\setbox\scratchbox=\hbox{#1}% \unskip\hskip \the\wd \scratchbox}
Or perhaps just:
\starttext Text\hphantom{999}Text \stoptext
?
Cheers, Peter
Hi Peter, right this also works but we wont care about spaces in the souce. Look: \starttext Text\hphantom{999}Text Text\hphantom{999} Text Text \hphantom{999} Text \stoptext Antoher solution for the spacemacro: \def\MySpace {\dosingleempty\doMySpace} \def\doMySpace[#1]% {\unskip\hphantom{#1}\ignorespaces} \starttext Text\hphantom{999}Text Text\hphantom{999} Text Text \hphantom{999} Text \stoptext and we have always the same gap. Wolfgang