From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/32744 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: Re: rotate a TABLE Date: Sun, 14 Jan 2007 14:09:18 +0100 Message-ID: <45AA2B7E.7060607@gmx.net> References: <20070113102509.GA3419@grohe.our-isp.org> <20070114091453.GA3857@grohe.our-isp.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1168782221 1432 80.91.229.12 (14 Jan 2007 13:43:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 14 Jan 2007 13:43:41 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 14 14:43:36 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1H65e3-0001XB-VM for gctc-ntg-context-518@m.gmane.org; Sun, 14 Jan 2007 14:43:36 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3D79C1FFD4; Sun, 14 Jan 2007 14:39:37 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20289-02; Sun, 14 Jan 2007 14:39:34 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A3EC22001E; Sun, 14 Jan 2007 14:05:35 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AED312000A for ; Sun, 14 Jan 2007 14:05:33 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17634-06-11 for ; Sun, 14 Jan 2007 14:05:29 +0100 (CET) Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by ronja.ntg.nl (Postfix) with SMTP id 289021FFFE for ; Sun, 14 Jan 2007 14:05:29 +0100 (CET) Original-Received: (qmail invoked by alias); 14 Jan 2007 13:09:26 -0000 Original-Received: from unknown (EHLO [192.168.120.254]) [212.93.24.0] by mail.gmx.net (mp002) with SMTP; 14 Jan 2007 14:09:26 +0100 X-Authenticated: #24293357 User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) Original-To: mailing list for ConTeXt users In-Reply-To: <20070114091453.GA3857@grohe.our-isp.org> X-Enigmail-Version: 0.94.0.0 X-Y-GMX-Trusted: 0 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:32744 Archived-At: 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=3D270]{ > \setupTABLE[width=3D\textheight, height=3D\textwidth] > \setupTABLE[r][each][height=3D0.13\textwidth] > \setupTABLE[r][1,2][align=3Dlohi, height=3D0.06\textwidth] > \setupTABLE[c][1,2,3,4][width=3D0.15\textheight] > \setupTABLE[c][5][width=3D0.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=3Dstart] \starttext \setupTABLE[width=3D\textheight, height=3D\textwidth] \setupTABLE[r][each][height=3D0.13\textwidth] \setupTABLE[r][1,2][align=3Dlohi, height=3D0.06\textwidth] \setupTABLE[c][1,2,3,4][width=3D0.15\textheight] \setupTABLE[c][5][width=3D0.4\textheight] \rotate[rotation=3D270] {\framed[offset=3Doverlay,frame=3Doff,background=3Dcolor,backgroundcolor=3D= lightgray]\bgroup %\startbackground \bTABLE \bTABLEhead \bTR \bTH[nc=3D5] \midaligned{=DCbung: Einsch=E4tzung der eigenen Erfahrung: Pr=FCfen, was wirkungsvoll ist} \eTH \eTR \eTABLEhead \switchtobodyfont[small] \bTABLEbody \bTR \bTD[m=3D5] \eTD \eTR \eTABLEbody \eTABLE %\stopbackground \egroup % \framed } \stoptext Greetings, Peter > \bTABLE > \bTABLEhead > \bTR > \bTH[nc=3D5] \midaligned{=DCbung: Einsch=E4tzung der eigenen Erfahrung= : Pr=FCfen, was wirkungsvoll ist} \eTH > \eTR > \eTABLEhead > \switchtobodyfont[small] > \bTABLEbody > \bTR > ..... > \bTR > \bTD[m=3D5] \eTD > \eTR > \eTABLEbody > \eTABLE > } > \stopbackground > = > = > Gerhard > =