ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Switching fonts (or font size) in columnsets
@ 2005-04-03 15:36 Gilles Pérez-Lambert
  2005-04-03 21:03 ` h h extern
  0 siblings, 1 reply; 4+ messages in thread
From: Gilles Pérez-Lambert @ 2005-04-03 15:36 UTC (permalink / raw)


Hello,

With the example attached at the end of the mail (and that can be try on http://live.contextgarden.net), the page on which the font change occurs (be it the size or a new font) is moved up and the page is shorter... Is there a way to say that some text (here the items) are not to be aligned on the grid because they are smaller (or bigger)? 

Thanks!

Gilles.

% Example:
\showgrid
\setuplayout[grid=yes]
\setupitemize[before={\switchtobodyfont[small]}]
\definecolumnset[ex][n=2]

\starttext
\startcolumnset[ex]
\dorecurse{4}{\input knuth\relax\placefigure{}{}}
\startitemize[n,packed,intro]
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\item Un
\stopitemize
\stopcolumnset
\stoptext

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

* Re: Switching fonts (or font size) in columnsets
  2005-04-03 15:36 Switching fonts (or font size) in columnsets Gilles Pérez-Lambert
@ 2005-04-03 21:03 ` h h extern
  2005-04-04  7:07   ` Gilles Pérez-Lambert
  0 siblings, 1 reply; 4+ messages in thread
From: h h extern @ 2005-04-03 21:03 UTC (permalink / raw)


Gilles Pérez-Lambert wrote:
> Hello,
> 
> With the example attached at the end of the mail (and that can be try on http://live.contextgarden.net), the page on which the font change occurs (be it the size or a new font) is moved up and the page is shorter... Is there a way to say that some text (here the items) are not to be aligned on the grid because they are smaller (or bigger)? 
> 
> Thanks!
> 
> Gilles.
> 
> % Example:
> \showgrid
> \setuplayout[grid=yes]
> \setupitemize[before={\switchtobodyfont[small]}]
> \definecolumnset[ex][n=2]
> 
> \starttext
> \startcolumnset[ex]
> \dorecurse{4}{\input knuth\relax\placefigure{}{}}
> \startitemize[n,packed,intro]
> \item Un

\dorecurse{100}{\item Um}

> \stopitemize
> \stopcolumnset
> \stoptext

no body font switching in column sets (yet)

Hans

-----------------------------------------------------------------
                                           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] 4+ messages in thread

* Re: Switching fonts (or font size) in columnsets
  2005-04-03 21:03 ` h h extern
@ 2005-04-04  7:07   ` Gilles Pérez-Lambert
  0 siblings, 0 replies; 4+ messages in thread
From: Gilles Pérez-Lambert @ 2005-04-04  7:07 UTC (permalink / raw)


h h extern a écrit le dimanche 3 avril 2005 23:03 :
> no body font switching in column sets (yet)

OK. I'll wait eagerly. :-)

Thanks,

Gilles.

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

* Re: Switching fonts (or font size) in columnsets
@ 2005-10-25 14:15 Gilles Pérez-Lambert
  0 siblings, 0 replies; 4+ messages in thread
From: Gilles Pérez-Lambert @ 2005-10-25 14:15 UTC (permalink / raw)


Hello,

Hans replied to me long ago (Sun Apr 3 23:03:54 CEST 2005):
> Gilles Pérez-Lambert wrote:
>> With the example attached at the end of the mail
>> (and that can be try on http://live.contextgarden.net),
>> the page on which the font change occurs
>> (be it the size or a new font) is moved up and the
>> page is shorter... Is there a way to say that
>> some text (here the items) are not to be aligned
>> on the grid because they are smaller (or bigger)?
>
> % Example:

[...]

> no body font switching in column sets (yet)
> Hans

Is it possible now? :-)

Thanks,

Gilles.

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

end of thread, other threads:[~2005-10-25 14:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-03 15:36 Switching fonts (or font size) in columnsets Gilles Pérez-Lambert
2005-04-03 21:03 ` h h extern
2005-04-04  7:07   ` Gilles Pérez-Lambert
2005-10-25 14:15 Gilles Pérez-Lambert

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).