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
wwl@musensturm.de wrote:
Hallo!
I use
\setuplayout[grid=yes]
and a chapterdefinition which looks like:
Author -------------------------------------------------
Title
You can wrap that whole stuff inside \startlinecorrection ... \stoplinecorrection The stuff inside that environment will not be grid-aligned, but the final resulting box will be. Cheers, Taco
participants (2)
-
Taco Hoekwater
-
wwl@musensturm.de