Hello Wolfgang. Here is example of other using of your TextGap. There is a problem in some lines? Why linewidth is change? Thanx Jaroslav Hajtmar \def\TextGap[#1]% {\scratchdimen#1\relax \divide\scratchdimen\plusten \dorecurse\plusten {\vrule width \scratchdimen height \linewidth\relax \ifnum\recurselevel<10 \hskip\zeropoint\relax \fi}} \def\textgap#1{\setbox0=\hbox{#1}% \TextGap[\the\wd0]% } \starttext a \TextGap[4cm] b \TextGap[4cm] c \TextGap[4cm] d \TextGap[4cm] e My words: \textgap{My words}. Why is line very thick here? Here is an sentence: \textgap{Here is an sentence} -- linewidth is OK here. Here is an sentence: \textgap{Here is an sentence}. And why is problem here again? \stoptext Dne 27.6.2013 20:23, Wolfgang Schuster napsal(a):
\def\TextGap[#1]% {\scratchdimen#1\relax \divide\scratchdimen\plusten \dorecurse\plusten {\vrule width \scratchdimen height \linewidth\relax \ifnum\recurselevel<10 \hskip\zeropoint\relax \fi}}
\starttext a \TextGap[4cm] b \TextGap[4cm] c \TextGap[4cm] d \TextGap[4cm] e \stoptext