[NTG-context] caught in the grid

Steffen Wolfrum context at st.estfiles.de
Thu Aug 12 13:02:09 CEST 2010


This can only be used in single, controlled situations.
Look what happens when the section is to be placed at top of page:

\definegridsnapping[MyGrid]     [off]
\showframe

\starttext

\setuplayout[grid=MyGrid]

\switchtobodyfont[42pt]
\setupinterlinespace[line=30pt]

Big text\crlf written in\crlf three row

\startlinecorrection
\section{One\\Two\\Three}
\stoplinecorrection

Big text\crlf written in\crlf three row

Big text\crlf written in\crlf three row

\startlinecorrection
\section{One\\Two\\Three}
\stoplinecorrection

Big text\crlf written in\crlf three row

\stoptext


Steffen



Am 12.08.2010 um 12:30 schrieb Piotr Kopszak:

> You can play with embedding \section inside \start and
> \stoplinecorrection to get rid of overlapping, but I'm not sure if
> it's the right thing to do.
> 
> Piotr
> 
> 2010/8/12 Steffen Wolfrum <context at st.estfiles.de>:
>> 
>> Am 12.08.2010 um 00:31 schrieb Hans Hagen:
>> 
>>> On 11-8-2010 9:49, Steffen Wolfrum wrote:
>>>> Hi,
>>>> 
>>>> 
>>>> as there is no setup for paragraphs (see thread before), I really don' know how to come out of this trap:
>>>> 
>>>> I need a tight interlinespace for the normal body text, but no lunatic headings!!
>>>> 
>>>> 
>>>> Have a look, please:
>>> 
>>> I have no time now. I will document the grid snapper once I've finished the (still somewhat experimental) mechanism.
>> 
>> 
>> 
>> OK. ... Just to avoid basic mistakes:
>> 
>> What is right syntax (direct/indirect)?
>> The results differ (see below) ...
>> 
>> Steffen
>> 
>> ====
>> 
>> \definegridsnapping[MyGrid]    [no]
>> 
>> %\setuplayout[grid=no] % <- alternative a
>> \setuplayout[grid=MyGrid] % <- alternative b
>> 
>> \showgrid
>> 
>> 
>> \setuphead[chapter]
>> 
>> \starttext
>>   \chapter{one}             \input tufte
>>   \chapter{one\\two}        \input tufte
>>   \chapter{one\\two\\three} \input tufte
>> \stoptext
>> 
>> ___________________________________________________________________________________
>> If your question is of interest to others as well, please add an entry to the Wiki!
>> 
>> maillist : ntg-context at 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
>> ___________________________________________________________________________________
>> 
> 
> 
> 
> -- 
> http://okle.pl
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at 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
> ___________________________________________________________________________________



More information about the ntg-context mailing list