From: Christoph Redecker <christoph.redecker@tu-harburg.de>
To: ntg-context@ntg.nl
Subject: Re: Grid typesetting and inline math
Date: Tue, 26 Apr 2011 13:29:51 +0200 [thread overview]
Message-ID: <4DB6ACAF.9040909@tu-harburg.de> (raw)
In-Reply-To: <4DAD5D06.9070704@tu-harburg.de>
After some trial and error, I'm using
\setuplayout[grid=yes]
\startlinecorrection
Paragraph with inline math
\gform{math stuff} % without the optional [-]
and some more text that belongs to this parapgraph
\stoplinecorrection
and
\blank[-1*line]
where necessary. It is not really a convenient solution, but it works
and I've got the impression that I can do what I want.
Again: Does anyone have a better solution or advice regarding grid usage?
Regards,
Christoph
Am 19.04.2011 11:59, schrieb Christoph Redecker:
> Hello,
>
> I'm struggling with the grid. I've stepped from LaTeX to luaLaTeX for a
> simpler font selection, and from luaLaTeX to ConTeXt for getting a
> usable grid (because I was told that it supports typesetting on a grid).
> Now that I got font selection working as desired in ConTeXt, the grid is
> driving me crazy.
>
> I'm trying to use the grid as described in details.pdf, and I want
> halfline spacing around formulas in text, because a full line is
> definitely too much. This is what I'm compiling:
>
> \setupbodyfont[10pt,serif] % should be lm?
> \setuplayout[grid=yes]
> \setuptextformulas[step=halfline]
> \starttext
> \showgrid
> Testing inline math: \gform{x_2 = \frac{a}{b}}. The following line
> should be seperated from this one by half a line, but it isn't.
>
> Testing inline math: \gform[-]{x_2 = \frac{a}{b}}. The following line
> should be seperated from this one by half a line, but it isn't.
> \stoptext
>
> Both paragraphs look identical, the second line is too far away from the
> first one. What's wrong with my code?
>
> Also, how can I manually depart from the grid, e.g. for block quotes?
>
> Regards,
>
> Christoph
> ___________________________________________________________________________________
>
> 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:[~2011-04-26 11:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-19 9:59 Christoph Redecker
2011-04-20 9:56 ` Khaled Hosny
2011-04-20 10:31 ` Christoph Redecker
2011-04-21 8:24 ` Christoph Redecker
2011-04-26 11:29 ` Christoph Redecker [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=4DB6ACAF.9040909@tu-harburg.de \
--to=christoph.redecker@tu-harburg.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).