Hi Gerhard, 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]{ > \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]
The shift is caused by the \setupTABLE commands (ends with "]", so the line break becomes active and adds one space). You can add a comment symbol at the end of every such line or move the whole setup part out of the rotate macro. I also used \framed here, as \st(art|op)background still has some spurious space at the end of the table. % - - - - - - - - - - \setupoutput[pdftex] \setupcolors[state=start] \starttext \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] \rotate[rotation=270] {\framed[offset=overlay,frame=off,background=color,backgroundcolor=lightgray]\bgroup %\startbackground \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 \bTD[m=5] \eTD \eTR \eTABLEbody \eTABLE %\stopbackground \egroup % \framed } \stoptext Greetings, Peter > \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 > _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context