![](https://secure.gravatar.com/avatar/ab73c799733cb79686500b0adbf33bb8.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
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