ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Floats in Columnsets
@ 2003-12-06 23:50 Reimer Behrends
  2003-12-07 12:51 ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Reimer Behrends @ 2003-12-06 23:50 UTC (permalink / raw)


It appears as though \placefigure doesn't work very well with columnsets
if the size of the floats isn't an exact multiple of the underlying
grid. More precisely, \placefigure and friends, when used with any of
the *tb and tb* options (tblr, tbrl, lrtb, rltb, fxtb) snap the bottom
of the figure to the grid rather than the top. Of course, that means
that most of the time figures will not be aligned at the top. (See below
for an example.)

Does anybody know of a fix or workaround for this problem?

			Reimer Behrends



\showframe
\showgrid
\setuplayout[
   backspace=0.75in,topspace=0.75in,
   width=7.0in,height=9.5in,
   header=0.0in,footer=0.35in]
\setuppapersize[letter][letter]
\definecolumnset[two][n=2,distance=12pt]

\def\myfig#1{\placefigure[tblr]{none}{
\framed[offset=6pt,width=broad,align=right]{
\switchtobodyfont[10pt]
#1

}}}
\setupbodyfont[12pt]
\starttext
\startcolumnset[two]
\myfig{\input knuth}
\dorecurse{3}{\input knuth}\myfig{\input tufte}
\stopcolumnset
\stoptext

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Floats in Columnsets
@ 2003-03-19 11:57 Michal Kvasnicka
  2003-03-19 17:08 ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Michal Kvasnicka @ 2003-03-19 11:57 UTC (permalink / raw)


Dear Sir Hagen,

I know you are writing the complete manual for the columnsets, nonetheless I 
dare to bother you in advance. What are options for telling floats to what 
column, line and page they should go? I hade some examples from you, but I 
lost it when my harddisc crashed. Can you help me?

Many thanks and greetings,
Michal Kvasnicka

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-12-07 12:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-06 23:50 Floats in Columnsets Reimer Behrends
2003-12-07 12:51 ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2003-03-19 11:57 Michal Kvasnicka
2003-03-19 17:08 ` Hans Hagen
2003-03-20 11:32   ` Michal Kvasnicka

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).