From: Emil Stein <est@flipsight.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: keep on grid
Date: Wed, 26 Nov 2014 23:35:51 +0100 [thread overview]
Message-ID: <FF4D9676-1F31-4534-A37D-FF4CB415C74D@flipsight.net> (raw)
Hi,
The following example doesn't get the text after tufte citation back on grid.
Using linecorrection helps ... but doesn't break across pages.
What is the right way to stay on grid, even when using insertion (citation)?
Kind Regards,
Emil
====
\setuplayout[grid=yes]
\showgrid
%\definestartstop[citaat]
%[before={\startlinecorrection\vskip3pt\setupnarrower[left=5mm,right=0pt]\startnarrower[left,right]\switchtobodyfont[8pt]\setupinterlinespace[line=10pt]},
%after={\stopnarrower\vskip3pt\stoplinecorrection}]
\definestartstop[citaat]
[before={\vskip3pt\setupnarrower[left=5mm,right=0pt]\startnarrower[left,right]\switchtobodyfont[8pt]\setupinterlinespace[line=10pt]},
after={\stopnarrower\vskip3pt}]
\starttext
\dorecurse{3}
{\input tufte\par}
\input knuth\par
\startcitaat
\dorecurse{3}
{\input tufte\par}
\stopcitaat
text% <- how to snap to grid again??
\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
___________________________________________________________________________________
reply other threads:[~2014-11-26 22:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=FF4D9676-1F31-4534-A37D-FF4CB415C74D@flipsight.net \
--to=est@flipsight.net \
--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).