Re: [NTG-context] grid and \textrule

2006-08-01 Thread Taco Hoekwater


[EMAIL PROTECTED] 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
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ntg-context grid and \textrule

2006-08-01 Thread wwl
 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.

Thank you, that works.

Wolfgang

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] grid and \textrule

2006-07-31 Thread wwl
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
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context