Re: [NTG-context] Struggling with \hskip
Hello, Thanks, but if I omit second argument, no skip is produced (I often to this to have a place for writing number by pen). How to save the skip with \author{Bla-bla}? I'd even rather don't have skip if second argument is provided :) Regards, Vyatcheslav
\define[2]\author{{\itx (#1)}{\hfill\tx bpm=#2\hskip1cm}}
\starttext
\showframe \author{Bla-bla}{foo}
\stoptext
In this context it is also safe to use a fixed space like '\hbox to 1cm{}', but that is cheating. ;)
Best wishes, Peter
Am 19.08.2009 um 01:37 schrieb Vyatcheslav Yatskovsky:
Hello,
Thanks, but if I omit second argument, no skip is produced (I often to this to have a place for writing number by pen). How to save the skip with
\author{Bla-bla}?
\author{Bla-bla}{}
I'd even rather don't have skip if second argument is provided :)
\define[2]\author{{\itx (#1)}{\hfill\tx bpm=#2\doifnothing{#2} {\hskip1cm}}} Wolfgang
participants (2)
-
Vyatcheslav Yatskovsky
-
Wolfgang Schuster