ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Problem with typing to the grid
@ 2011-02-18 13:15 Jaroslav Hajtmar
  0 siblings, 0 replies; only message in thread
From: Jaroslav Hajtmar @ 2011-02-18 13:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-02-18 13:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-18 13:15 Problem with typing to the grid Jaroslav Hajtmar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).