ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* keep on grid
@ 2014-11-26 22:35 Emil Stein
  0 siblings, 0 replies; only message in thread
From: Emil Stein @ 2014-11-26 22:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-11-26 22:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-26 22:35 keep on grid Emil Stein

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).