* Beside blank with 1 or 2, how to do it with 1.5
@ 2011-03-14 11:29 Cecil Westerhof
2011-03-14 11:35 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Cecil Westerhof @ 2011-03-14 11:29 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 430 bytes --]
I would like to do something like:
\setuphead[section][before={\blank[1.5*big] \testpage[12]}]
This does not work. I get:
to be read again>
*
<argument> 1.5*
big
\addaskedblankskip ...nce \blankskip #1\dimexpr #2
\relax
But I can do:
\setuphead[section][before={\blank[2*big] \testpage[12]}]
How to implement what I want?
--
Cecil Westerhof
[-- Attachment #1.2: Type: text/html, Size: 512 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Beside blank with 1 or 2, how to do it with 1.5
2011-03-14 11:29 Beside blank with 1 or 2, how to do it with 1.5 Cecil Westerhof
@ 2011-03-14 11:35 ` Wolfgang Schuster
2011-03-14 11:37 ` Cecil Westerhof
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2011-03-14 11:35 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 14.03.2011 um 12:29 schrieb Cecil Westerhof:
> I would like to do something like:
> \setuphead[section][before={\blank[1.5*big] \testpage[12]}]
>
> This does not work. I get:
> to be read again>
> *
> <argument> 1.5*
> big
> \addaskedblankskip ...nce \blankskip #1\dimexpr #2
> \relax
>
> But I can do:
> \setuphead[section][before={\blank[2*big] \testpage[12]}]
>
> How to implement what I want?
You can only use natural numbers for the multiple of a value or write “\blank[line,halfline]”.
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Beside blank with 1 or 2, how to do it with 1.5
2011-03-14 11:35 ` Wolfgang Schuster
@ 2011-03-14 11:37 ` Cecil Westerhof
2011-03-14 11:42 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Cecil Westerhof @ 2011-03-14 11:37 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 775 bytes --]
2011/3/14 Wolfgang Schuster <schuster.wolfgang@googlemail.com>
>
> Am 14.03.2011 um 12:29 schrieb Cecil Westerhof:
>
> > I would like to do something like:
> > \setuphead[section][before={\blank[1.5*big] \testpage[12]}]
> >
> > This does not work. I get:
> > to be read again>
> > *
> > <argument> 1.5*
> > big
> > \addaskedblankskip ...nce \blankskip #1\dimexpr #2
> > \relax
> >
> > But I can do:
> > \setuphead[section][before={\blank[2*big] \testpage[12]}]
> >
> > How to implement what I want?
>
> You can only use natural numbers for the multiple of a value or write
> “\blank[line,halfline]”.
>
Okay, thanks. I will use 2*big then.
--
Cecil Westerhof
[-- Attachment #1.2: Type: text/html, Size: 1164 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Beside blank with 1 or 2, how to do it with 1.5
2011-03-14 11:37 ` Cecil Westerhof
@ 2011-03-14 11:42 ` Wolfgang Schuster
2011-03-14 11:52 ` Cecil Westerhof
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2011-03-14 11:42 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 14.03.2011 um 12:37 schrieb Cecil Westerhof:
> Okay, thanks. I will use 2*big then.
1.5 * big = big + medium => \blank[big,medium]
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Beside blank with 1 or 2, how to do it with 1.5
2011-03-14 11:42 ` Wolfgang Schuster
@ 2011-03-14 11:52 ` Cecil Westerhof
0 siblings, 0 replies; 5+ messages in thread
From: Cecil Westerhof @ 2011-03-14 11:52 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 338 bytes --]
2011/3/14 Wolfgang Schuster <schuster.wolfgang@googlemail.com>
>
> Am 14.03.2011 um 12:37 schrieb Cecil Westerhof:
>
> > Okay, thanks. I will use 2*big then.
>
> 1.5 * big = big + medium => \blank[big,medium]
>
Works, but I did not find it satisfactory, so I am back to 2*big. But it is
good to know for next time.
--
Cecil Westerhof
[-- Attachment #1.2: Type: text/html, Size: 648 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-03-14 11:52 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-14 11:29 Beside blank with 1 or 2, how to do it with 1.5 Cecil Westerhof
2011-03-14 11:35 ` Wolfgang Schuster
2011-03-14 11:37 ` Cecil Westerhof
2011-03-14 11:42 ` Wolfgang Schuster
2011-03-14 11:52 ` Cecil Westerhof
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).