ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* small smaller and vertical stretch
@ 2006-12-12 16:52 Steffen Wolfrum
  2006-12-12 17:18 ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Steffen Wolfrum @ 2006-12-12 16:52 UTC (permalink / raw)


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?


Steffen

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: small smaller and vertical stretch
  2006-12-12 16:52 small smaller and vertical stretch Steffen Wolfrum
@ 2006-12-12 17:18 ` Hans Hagen
  2006-12-12 18:58   ` Steffen Wolfrum
  2006-12-13 12:01   ` Steffen Wolfrum
  0 siblings, 2 replies; 5+ messages in thread
From: Hans Hagen @ 2006-12-12 17:18 UTC (permalink / raw)


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 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: small smaller and vertical stretch
  2006-12-12 17:18 ` Hans Hagen
@ 2006-12-12 18:58   ` Steffen Wolfrum
  2006-12-13 11:41     ` Steffen Wolfrum
  2006-12-13 12:01   ` Steffen Wolfrum
  1 sibling, 1 reply; 5+ messages in thread
From: Steffen Wolfrum @ 2006-12-12 18:58 UTC (permalink / raw)


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] ?


Steffen

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: small smaller and vertical stretch
  2006-12-12 18:58   ` Steffen Wolfrum
@ 2006-12-13 11:41     ` Steffen Wolfrum
  0 siblings, 0 replies; 5+ messages in thread
From: Steffen Wolfrum @ 2006-12-13 11:41 UTC (permalink / raw)



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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: small smaller and vertical stretch
  2006-12-12 17:18 ` Hans Hagen
  2006-12-12 18:58   ` Steffen Wolfrum
@ 2006-12-13 12:01   ` Steffen Wolfrum
  1 sibling, 0 replies; 5+ messages in thread
From: Steffen Wolfrum @ 2006-12-13 12:01 UTC (permalink / raw)


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


Blank? I am not sure whether I could make the problem clear:

What I need is a kind of \setupinterlinespace[.75*small].

But this syntax gives an error.


So the question is: What is the right syntax to make  
"\setupinterlinespace[small]" smaller *and* keep the stretch?


Steffen

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-12-13 12:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-12 16:52 small smaller and vertical stretch Steffen Wolfrum
2006-12-12 17:18 ` Hans Hagen
2006-12-12 18:58   ` Steffen Wolfrum
2006-12-13 11:41     ` Steffen Wolfrum
2006-12-13 12:01   ` Steffen Wolfrum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).