On Sep 10, 2008, at 1:49 PM, Steffen Wolfrum wrote:
Hi,
I'd like to change the phrase
"if lastskip equals \EinsSignal set vskip to 0pt else ..."
to
"if lastskip equals \EinsSignal set vskip to 0pt else if lastskip equals \\ZweiSignal set vskip to -2pt else ... "
in the following code ...
\newsignal\ZweiSignal \def\EbeneDreibefore {\ifdim\lastskip=\EinsSignal \vskip-0pt \else \blank[20pt]\fi} \setuphead[EbeneDrei][...,before=\EbeneDreibefore,...]
Some native (tex)speaker can help me translating?
Steffen I'm not a native texspeaker, but this should wo what you want:
\def\EbeneDreibefore% {\ifdim\lastskip=\EinsSignal \vskip-0pt% \else\ifdim\lastskip=\ZweiSignal \vskip-2pt% \else \blank[20pt]% \fi% \fi} You just nest the two \ifdim tests. Thomas