ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Grid typesetting
Date: Sat, 23 Oct 2010 06:18:37 +0200	[thread overview]
Message-ID: <1FB07B37-F972-4C7A-B2B8-248AA49C4318@gmail.com> (raw)
In-Reply-To: <op.vkzts21i35ilxs@ubayd.chello.pl>


Am 22.10.2010 um 21:59 schrieb Andrzej Orłowski-Skoczyk:

> Hello Contexters
> 
> I've been typesetting (mainly books and reports) in LaTeX for ca 15 years now. Recently I got really fed up with various problems related to typesetting on grid in LaTeX, and this is how I learned about ConTeXt. You can't imagine how excited I was when I started reading about it, especially given my recent grid-related LaTeX frustrations. Now I'm past all the ConTeXt manuals available in English, but still with no practical experience. ConTeXt is still a wild animal to be tamed, for me, but with a lot of sex appeal.
> 
> So - it's grid that attracted me. But I can't get it - the grid - in my test document. I find it hard to understand what the below commands (which are hardly documented) do:
> - placeongrid,
> - moveongrid,
> - start/stop|linecorrection
> and how is "framed" related to them. I experimented with various settings/combinations of the above, but none seem to actually FORCE my content on the grid.
> The explanation in the manual is not clear for me, there is no explanation in the Wikia.
> 
> What I need is a way to FORCE a line of text onto nearest grid line available (so that baselines match), for example:
> - on page opening a chapter, so that all body text is forced on grid regardless of the amount of space taken by headers etc.,
> - on any page, when the text is being interrupted by figures, tables, formulas or fancy breaks.
> Is there an easy way to accomplish that? By 'easy' I mean other than manual setting the height of headers/figures/tables/formulas/fancy breaks so that following text sits on the grid (which is more or less also doable in LaTeX).

\setuplayout[grid=yes]
%\showgrid
\starttext
\title{Example texts}
\subject{Knuth}
\input knuth
\subject{Tufte}
\input tufte
\stoptext

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
___________________________________________________________________________________

  reply	other threads:[~2010-10-23  4:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-22 19:59 Andrzej Orłowski-Skoczyk
2010-10-23  4:18 ` Wolfgang Schuster [this message]
2010-10-30 19:42   ` Andrzej Orłowski-Skoczyk
2010-10-31  4:28     ` Wolfgang Schuster

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=1FB07B37-F972-4C7A-B2B8-248AA49C4318@gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --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).