ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Michael Fuchs" <Michael.Fuchs@hiskp.uni-bonn.de>
Subject: Floating table caption extends textwidth
Date: Wed, 16 Mar 2005 21:29:54 +0100	[thread overview]
Message-ID: <20050316202955.5D8FE5D29F@sunkist.iskp.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 text width. The following
example shows this problem on http://live.contextgarden.net/. 

I was able to find out, that this problem only appears if one of the 
variables "width" or "textwidth" in the "setuplayout" command were 
used to define the textwidth. 

Regards 

Michael





EXAMPLE:
--------------------------------------------

 \setuplayout[
        backspace=25mm, topspace=10mm, header=10mm, headerdistance=5mm,
        width=16cm,     % <-- COMMENT THIS TO SEE THE EX WORK
        height=fit,footer=10mm, footerdistance=5mm, bottom=5mm]

 \starttext

\placetable[here][tab:Referenz]
 {Zusammenfassung der Ereigniszahlen in Signal und Untergrund mit... 
  erfülltem $z$-Cut und einem über den Massenschnitt identifizierten
$\pi^0$.
     \nolist{Ereignisse werden in dem durch den $2 \sigma$-Massenschnitt
     vorgegebenen Intervall gezählt, das auch bei den endgültigen Schnitten
     zu Selektion verwendet wird.}
 }
 {
 \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-03-16 20:29 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=20050316202955.5D8FE5D29F@sunkist.iskp.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).