[NTG-context] grid and \textrule
wwl at musensturm.de
wwl at musensturm.de
Tue Aug 1 00:14:33 CEST 2006
Hallo!
I use
\setuplayout[grid=yes]
and a chapterdefinition which looks like:
Author
-------------------------------------------------
Title
Text text text ...
The hor. Line above is a \textrule
and the vert. spacing between author and line and line and Title
resp. should not depent on the grid. So I can not use
\placeongrid{textrule} in my chapterdefinition. I have to do this
afterwards.
\blank[force,3.9pt]
In short:
\setuplayout[grid=yes]
\def\Sync{...}
\showgrid
\starttext
Bla Blub
\textrule
\Sync
Bla Blub
\stoptext
How should \Sync be defined to snap on the next gridline?
My solution is
\def\Sync{\blank[force,7.4pt]}% try and error
isn't there a better solution?
Wolfgang
More information about the ntg-context
mailing list