[NTG-context] Problem with typing to the grid

Jaroslav Hajtmar hajtmar at gyza.cz
Fri Feb 18 14:15:03 CET 2011


Hello ConTeXist,
Is there a way to achieve alignment all of texts in a grid lines?
The attached example shows, that inserting of picture violate fixed 
spacing inside the \startframedtext \stopframedtext environment (on left 
on line 22 ) and final sequel of the text is not right too. (from line 25)
It's way at some point the rate of return text back to the grid?
Or it is necessary to determine the amount of Figures to match multiples 
of \lineheight?

Thanx Jaroslav


\setuplayout[grid=yes]

\showgrid

\starttext

\input tufte

\placefigure[here,none]{}
\startframedtext[width=13cm, offset=none]
\startsimplecolumns
Sed congue quis porta senectus Proin hendrerit platea In at Vivamus. 
Lorem lacus dolor orci wisi faucibus iaculis in ut nibh sit faucibus 
iaculis in.

\externalfigure[myfig][width=4cm, height=2.3cm, frame=on]

Pretium lacinia sapien vel vitae eget tempus natoque lacinia convallis 
ultrices.

Pretium lacinia sapien vel vitae eget tempus natoque lacinia convallis 
ultrices. Tellus libero ultrices Ut lacus tincidunt euismod nulla 
ultrices faucibus leo.

Pretium lacinia sapien vel vitae eget tempus natoque lacinia convallis 
ultrices.

Pretium lacinia sapien vel vitae eget tempus natoque lacinia convallis 
ultrices.
\stopsimplecolumns
\stopframedtext

\input tufte

\stoptext




More information about the ntg-context mailing list