ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Strange behaviour of width parameter in \setuplayout (Was: Floating table caption extends textwidth)
@ 2005-04-19 22:50 Michael Fuchs
  0 siblings, 0 replies; only message in thread
From: Michael Fuchs @ 2005-04-19 22:50 UTC (permalink / raw)


Hi!

I have problems creating a "multi-line" caption for a floating table.
If the caption is too long it will extend the defined text width.
The following example shows this problem.

I was able to find out, that this problem only appears if the
variables "width" in the "setuplayout" command was used to define
the textwidth. If you comment the line containing the "width"
parameter (see comment in example) the caption will not extend
the table.


Regards

Michael


Example:
--------------

 \setuppapersize[A4][A4]
 \setuplayout[
        backspace=25mm, cutspace=25mm,
        width=16cm,     % <-- COMMENT THIS TO SEE THE EXAMPLE WORK
        footer=10mm, footerdistance=5mm, bottom=5mm]

 \starttext

 \placetable[here][tab:Referenz]
 { \input tufte }
 {
 \setupTABLE[x][1][width=4cm, align=middle]
 \setupTABLE[x][2,3,4,5][width=3cm, align=middle]
 \bTABLE
    \bTR
        \bTH Anzahl \eTH
        \bTH Daten \eTH
        \bTH MC \eTH
        \bTH Daten \eTH
        \bTH MC \eTH
    \eTR
 \eTABLE
 }

\stoptext

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

only message in thread, other threads:[~2005-04-19 22:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-19 22:50 Strange behaviour of width parameter in \setuplayout (Was: Floating table caption extends textwidth) Michael Fuchs

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