[NTG-context] small smaller and vertical stretch

Steffen Wolfrum context at st.estfiles.de
Wed Dec 13 12:41:08 CET 2006


Am 12.12.2006 um 19:58 schrieb Steffen Wolfrum:

> Am 12.12.2006 um 18:18 schrieb Hans Hagen:
>
>> Steffen Wolfrum wrote:
>>> Hi,
>>>
>>> using "small" and "medium" rather than "8pt" or "10pt" gives some
>>> vertical "stretch".
>>> Very useful in some situations:
>>>
>>> \setupinterlinespace[small]
>>> \setupwhitespace[medium]
>>>
>>>
>>> But what to do if "small" is still too big?
>>> And yet the "stretch" is needed?
>>>
>>>
>>> While I can say ... \blank[.75*medium] ... this operation is not
>>> allowed for the two above. So, what to do?
>>>
>> define a new blank
>
>
> like this (?) ...
>
> \defineblank[smaller][8pt plus 1pt minus 1pt]
>
> ... and then ...
>
> \setupinterlinespace[smaller]
>
> ... provides a similar "stretch" effect as its bigger brother
> \setupinterlinespace[small] ?


back on my tex-machine today I've tried the above and ended up in ...


! Missing number, treated as zero.
<to be read again>
                    s
\currentrelativeinterlinespace ->s
                                   maller
\setspacingfactor ...imen #2\points \strutdimen #3
                                                   \strutdimen \edef  
#1{\with...

\spacing ...skipfactor \to \topskipfactor \by #1\\
                                                   \setspacingfactor  
\systemm...

\p!compareprocessactionD ...ommalistelement {#3}#2
                                                   \fi \fi
\next2 #1,->\p!dodoprocessaction {#1}
                                      \doprocesscommaitem
...
l.36 \setupinterlinespace[smaller]

?


I also tried ...

\def\smaller{\blank[.75*small]}

... which has exactly the same result / error-log.


Is there another way to "define a new blank"?


Steffen



More information about the ntg-context mailing list