From: Steffen Wolfrum <context@st.estfiles.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: caught in the grid
Date: Thu, 12 Aug 2010 13:02:09 +0200 [thread overview]
Message-ID: <53144CE0-7F7D-4800-8009-5E18E4714173@st.estfiles.de> (raw)
In-Reply-To: <AANLkTinC8EFviPyFya6ybbWCtnUh4+XSVYTNZ7FX9oN6@mail.gmail.com>
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@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@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@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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2010-08-12 11:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-11 19:49 Steffen Wolfrum
2010-08-11 22:31 ` Hans Hagen
2010-08-12 9:52 ` Steffen Wolfrum
2010-08-12 10:30 ` Piotr Kopszak
2010-08-12 10:54 ` Hans Hagen
2010-08-12 11:02 ` Steffen Wolfrum [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53144CE0-7F7D-4800-8009-5E18E4714173@st.estfiles.de \
--to=context@st.estfiles.de \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).