ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Michael Fuchs <Michael.Fuchs@hiskp.uni-bonn.de>
Subject: Strange behaviour of width parameter in \setuplayout (Was: Floating table caption extends textwidth)
Date: Tue, 19 Apr 2005 23:50:33 +0100	[thread overview]
Message-ID: <42658B39.408@hiskp.uni-bonn.de> (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

                 reply	other threads:[~2005-04-19 22:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=42658B39.408@hiskp.uni-bonn.de \
    --to=michael.fuchs@hiskp.uni-bonn.de \
    --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).