ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Reimer Behrends <behrends@cse.msu.edu>
Subject: Floats in Columnsets
Date: Sat, 6 Dec 2003 23:50:36 +0000 (UTC)	[thread overview]
Message-ID: <slrnbt4qot.roj.behrends@ellington.cse.msu.edu> (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

             reply	other threads:[~2003-12-06 23:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-06 23:50 Reimer Behrends [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=slrnbt4qot.roj.behrends@ellington.cse.msu.edu \
    --to=behrends@cse.msu.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).