ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Mojca Miklavec" <mojca.miklavec.lists@gmail.com>
Subject: Re: rotate a TABLE
Date: Sun, 14 Jan 2007 14:08:59 +0100	[thread overview]
Message-ID: <6faad9f00701140508t66d829dfj2759afbfb7f12064@mail.gmail.com> (raw)
In-Reply-To: <20070114091453.GA3857@grohe.our-isp.org>

On 1/14/07, Gerhard Kugler wrote:
> On Sat, Jan 13, 2007 at 12:02:43PM +0100, Henning Hraban Ramm wrote:
> >
> > What's wrong with \rotate{your table} ?
>
> Thanks Henning.
>
> But now I still have a problem. The TABLE covers a whole page. This
> page should habe a colored background (grey). I get the background,
> but shifted. It begins (vertically) a line before the table and ends a
> line before the end of the table.
>
> \startbackground
> \rotate[rotation=270]{

It helps if you place a '%' at the end, so
    \rotate[rotation=270]{%
and similar to the rest of lines which don't end with a command

> \setupTABLE[width=\textheight, height=\textwidth]
> \setupTABLE[r][each][height=0.13\textwidth]
> \setupTABLE[r][1,2][align=lohi, height=0.06\textwidth]
> \setupTABLE[c][1,2,3,4][width=0.15\textheight]
> \setupTABLE[c][5][width=0.4\textheight]
> \bTABLE
> \bTABLEhead
> \bTR
>    \bTH[nc=5] \midaligned{Übung: Einschätzung der eigenen Erfahrung: Prüfen, was wirkungsvoll ist} \eTH
> \eTR
> \eTABLEhead
> \switchtobodyfont[small]
> \bTABLEbody
> \bTR
> .....

this \bTR hopefully doesn't end here?

> \bTR
>    \bTD[m=5] \eTD
> \eTR
> \eTABLEbody
> \eTABLE
> }
> \stopbackground

It might look like a bug (it depends, if you have "whitespace", then
the table will be shifted one line down, I have no idea how the
background should look like in such cases), but perhaps something like
    \setupTABLE[c][each][background=screen] (or
background=color,backgroundcolor=...)
can help you?

Mojca

  reply	other threads:[~2007-01-14 13:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-13 10:25 Gerhard Kugler
2007-01-13 11:02 ` Henning Hraban Ramm
2007-01-14  9:14   ` Gerhard Kugler
2007-01-14 13:08     ` Mojca Miklavec [this message]
2007-01-14 18:17       ` Hans Hagen
2007-01-14 13:09     ` Peter Rolf

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=6faad9f00701140508t66d829dfj2759afbfb7f12064@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --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).