[NTG-context] rotate a TABLE

Gerhard Kugler praxis at psychotherapie-kugler.de
Sun Jan 14 10:14:54 CET 2007


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]{
\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
.....
\bTR
   \bTD[m=5] \eTD
\eTR
\eTABLEbody
\eTABLE
}
\stopbackground


Gerhard

-- 
Gerhard Kugler
Psychotherapeut
http://www.psychotherapie-kugler.de


More information about the ntg-context mailing list