ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bigger interline space and grid
@ 2008-06-21  6:48 Aditya Mahajan
  2008-06-21  6:55 ` Taco Hoekwater
  2008-06-22 14:51 ` Hans Hagen
  0 siblings, 2 replies; 4+ messages in thread
From: Aditya Mahajan @ 2008-06-21  6:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

I cannot figure out how to increase the interline space with grid 
snapping. The following does not work

\setuplayout[grid=yes]

\setupinterlinespace[auto,big]
\setupwhitespace  [medium]
\setupindenting   [medium,yes]

\showgrid

\starttext

\dorecurse{4}{\input knuth \endgraf}

\stoptext


What am I missing?

Aditya
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Bigger interline space and grid
  2008-06-21  6:48 Bigger interline space and grid Aditya Mahajan
@ 2008-06-21  6:55 ` Taco Hoekwater
  2008-06-21  7:12   ` Aditya Mahajan
  2008-06-22 14:51 ` Hans Hagen
  1 sibling, 1 reply; 4+ messages in thread
From: Taco Hoekwater @ 2008-06-21  6:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Aditya Mahajan wrote:
> Hi,
> 
> I cannot figure out how to increase the interline space with grid 
> snapping. The following does not work
> 

You will probably have to adjust the default interlinespace
because that is what is used by the grid snapping routines:

\setuplayout[grid=yes]

\setupbodyfontenvironment[12pt][interlinespace=20pt]
\setupbodyfont[12pt] % re-activate

\showgrid

\starttext

\dorecurse{4}{\input knuth \endgraf}

\stoptext


Best wishes,
Taco
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Bigger interline space and grid
  2008-06-21  6:55 ` Taco Hoekwater
@ 2008-06-21  7:12   ` Aditya Mahajan
  0 siblings, 0 replies; 4+ messages in thread
From: Aditya Mahajan @ 2008-06-21  7:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sat, 21 Jun 2008, Taco Hoekwater wrote:

> Aditya Mahajan wrote:
>> Hi,
>>
>> I cannot figure out how to increase the interline space with grid
>> snapping. The following does not work
>>
>
> You will probably have to adjust the default interlinespace
> because that is what is used by the grid snapping routines:
>
> \setuplayout[grid=yes]
>
> \setupbodyfontenvironment[12pt][interlinespace=20pt]
> \setupbodyfont[12pt] % re-activate
>
> \showgrid
>
> \starttext
>
> \dorecurse{4}{\input knuth \endgraf}
>
> \stoptext

Ah, thanks.

Aditya
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Bigger interline space and grid
  2008-06-21  6:48 Bigger interline space and grid Aditya Mahajan
  2008-06-21  6:55 ` Taco Hoekwater
@ 2008-06-22 14:51 ` Hans Hagen
  1 sibling, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2008-06-22 14:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Aditya Mahajan wrote:
> Hi,
> 
> I cannot figure out how to increase the interline space with grid 
> snapping. The following does not work
> 
> \setuplayout[grid=yes]
> 
> \setupinterlinespace[auto,big]
> \setupwhitespace  [medium]
> \setupindenting   [medium,yes]
> 
> \showgrid
> 
> \starttext
> 
> \dorecurse{4}{\input knuth \endgraf}
> 
> \stoptext
> 
> 
> What am I missing?

the concept of snapping -)

\setuplayout[grid=yes]

\setupinterlinespace[line=20pt]
\setupwhitespace  [halfline]

\showgrid

\starttext

\dorecurse{4}{\input knuth \endgraf}

\stoptext




-----------------------------------------------------------------
                                           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
-----------------------------------------------------------------
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2008-06-22 14:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-21  6:48 Bigger interline space and grid Aditya Mahajan
2008-06-21  6:55 ` Taco Hoekwater
2008-06-21  7:12   ` Aditya Mahajan
2008-06-22 14:51 ` Hans Hagen

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