From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/100756 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: horizontal alignment of table cells when the content is a \framed Date: Fri, 04 May 2018 11:41:36 +0200 Message-ID: <5AEC2AD0.3010204@gmail.com> References: <7971eea8c63356965e9ab93fa96a84d827d406f4.camel@fastwebnet.it> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6604594522314739911==" X-Trace: blaine.gmane.org 1525426804 2263 195.159.176.226 (4 May 2018 09:40:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 4 May 2018 09:40:04 +0000 (UTC) User-Agent: Postbox 5.0.25 (Macintosh/20180328) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri May 04 11:40:00 2018 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fEXC4-0000Tp-Cy for gctc-ntg-context-518@m.gmane.org; Fri, 04 May 2018 11:40:00 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 6CE814650E4; Fri, 4 May 2018 11:41:53 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 47J-NZx-jjLX; Fri, 4 May 2018 11:41:52 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id C21F446506C; Fri, 4 May 2018 11:41:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E01DD465052 for ; Fri, 4 May 2018 11:41:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bx751IqnlEDS for ; Fri, 4 May 2018 11:41:50 +0200 (CEST) Original-Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 2AD9946503D for ; Fri, 4 May 2018 11:41:40 +0200 (CEST) Original-Received: by mail-wm0-f54.google.com with SMTP id n10-v6so3596317wmc.1 for ; Fri, 04 May 2018 02:41:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=2SHbe64ag0IDIei5joBfEaDmlu2x6QvVSEwqjdomGTQ=; b=qn559n57WqHpFxilZiTSrOXOhfosWuto4Xe4suQ0AEY+GA6bsbi5jgoidDKDIVwCs9 QtM8spPYWXlbBJOLegNLUqKwSPRBp5BI55ESBUR7o1PLYREhOxkAzw4PyjwqUB7zV35D 6sgW4yYzhH8JRianELqy3cZOrECTx3gMUbt8PlwEhcqiZb1iohmo9n9Zy8SGrCGsgrNR IYYlXGJDOkQ/Ndw2QHv20gKF+g41QMISgvz7Dje8GOVf1lM2pQ5Oi4DD0fpQfDTDhP5W utFO6Givya2aUzT9A8lxBnx+zfbXTPEeAqFjETk99X/417diyN7ub/Nb8dMG329foov2 Luzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=2SHbe64ag0IDIei5joBfEaDmlu2x6QvVSEwqjdomGTQ=; b=HPiWiIuaQSKho3rvBo3qzDIgDQUbM05t03AyoKOVxh+MTZorkDOnwsMjdi5sy5/MKh /i4c2PsvDy3iZsMBHOzlEzFf9Ty2cFmeDC108LW35AARRpODcPoSI2bdNVxtEa0My/gU l3Z9EMmfTul/xNdgeqlSzidL8v/x/cgDwBFoC+VP4pU9YlXtttK38VIRgUzomw/F17LZ 8pOi3ZL6yMGk4WbtxnPDGP9kzwTqt6oelvj+vvSEfEMVL8v3MeW9wsoOO+ecnT5fOso6 twz28I32jRjA9p2FlMXUKbkv6REZ+iAT0tB6KB5ql+W3IXJOE38sIUIJKA4XWdsqr45R dWxA== X-Gm-Message-State: ALQs6tACEqhHDStzv1oEgcJ1wWDOM/Vz8z0YdYrg0NR7VHk6xeQ6fu+X KsqhtL67b5mKHf4lceimGdbggAcz X-Google-Smtp-Source: AB8JxZqxyww8r3xyESY0BT+N6PaPY9nCKNIoLkG8gitAGDvbCLBx7mi2emZIxSAirxPNQy/4gFQDGg== X-Received: by 10.28.168.201 with SMTP id r192mr18434801wme.134.1525426899463; Fri, 04 May 2018 02:41:39 -0700 (PDT) Original-Received: from [192.168.1.11] (x590fd3a9.dyn.telefonica.de. [89.15.211.169]) by smtp.gmail.com with ESMTPSA id q16-v6sm19972620wrn.81.2018.05.04.02.41.38 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 02:41:38 -0700 (PDT) In-Reply-To: <7971eea8c63356965e9ab93fa96a84d827d406f4.camel@fastwebnet.it> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:100756 Archived-At: This is a multi-part message in MIME format. --===============6604594522314739911== Content-Type: multipart/alternative; boundary="------------040707080704000604030205" This is a multi-part message in MIME format. --------------040707080704000604030205 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Use \dontleavehmode\framed{…} for the frames in the tables. Wolfgang > MF > 4. Mai 2018 um 10:28 > Hello list, > i have a problem of alignment of cell tables that contain a \framed: > the horizontal alignment is ignored by table cells in natural and > extreme tables. > > Instead a \framed inside a \framed looks ok: > > \starttext > > Framed: > > \framed[framecolor=blue,offset=none,width=10cm,height=7cm,align={middle > ,lohi}] > {\framed[width=3cm,height=2cm,align={middle,lohi},orientation=35]{hello > }} > > \blank > > Natural tables: > > \bTABLE[framecolor=green] > \bTR > \bTD[offset=none,width=10cm,height=7cm,align={middle,lohi}] > > \framed[width=3cm,height=2cm,align={middle,lohi},orientation=35]{hello} > \eTD > \eTR > \eTABLE > > \blank > > Extreme tables > > \startxtable[framecolor=red] > \startxrow > \startxcell[offset=none,width=10cm,height=7cm,align={middle,lohi}] > > \framed[width=3cm,height=2cm,align={middle,lohi},orientation=35]{hello} > \stopxcell > \stopxrow > \stopxtable > > \stoptext > > (the problem arose when i tried to set the dimensions of a rotated > content independently from the cell's dimensions) > > Best greetings, > Massi > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry > to the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ --------------040707080704000604030205 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit Use \dontleavehmode\framed{…} for the frames in the tables.

Wolfgang
4. Mai 2018 um 10:28
Hello list,
i have a problem of alignment of cell tables that contain a \framed:
the horizontal alignment is ignored by table cells in natural and
extreme tables.

Instead a \framed inside a \framed looks ok:

\starttext

Framed:

\framed[framecolor=blue,offset=none,width=10cm,height=7cm,align={middle
,lohi}]
{\framed[width=3cm,height=2cm,align={middle,lohi},orientation=35]{hello
}}

\blank

Natural tables:

\bTABLE[framecolor=green]
\bTR
\bTD[offset=none,width=10cm,height=7cm,align={middle,lohi}]

\framed[width=3cm,height=2cm,align={middle,lohi},orientation=35]{hello}
\eTD
\eTR
\eTABLE

\blank

Extreme tables

\startxtable[framecolor=red]
\startxrow
\startxcell[offset=none,width=10cm,height=7cm,align={middle,lohi}]

\framed[width=3cm,height=2cm,align={middle,lohi},orientation=35]{hello}
\stopxcell
\stopxrow
\stopxtable

\stoptext

(the problem arose when i tried to set the dimensions of a rotated
content independently from the cell's dimensions)

Best greetings,
Massi
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________

--------------040707080704000604030205-- --===============6604594522314739911== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============6604594522314739911==--