From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95508 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: alignment problem in a table Date: Tue, 19 Jul 2016 17:02:10 +0200 Message-ID: <578E40F2.3050408@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1698664038122161515==" X-Trace: ger.gmane.org 1468940607 5828 80.91.229.3 (19 Jul 2016 15:03:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Jul 2016 15:03:27 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 19 17:03:14 2016 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 plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bPWYD-0007dQ-H8 for gctc-ntg-context-518@m.gmane.org; Tue, 19 Jul 2016 17:03:13 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D3FCD12670; Tue, 19 Jul 2016 17:02:33 +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 xUSXY_ceJsIA; Tue, 19 Jul 2016 17:02:28 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 8D72912668; Tue, 19 Jul 2016 17:02:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9125112666 for ; Tue, 19 Jul 2016 17:02:27 +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 J5nz2LkS3diJ for ; Tue, 19 Jul 2016 17:02:27 +0200 (CEST) Original-Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) (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 0A5A112665 for ; Tue, 19 Jul 2016 17:02:17 +0200 (CEST) Original-Received: by mail-wm0-f41.google.com with SMTP id i5so30013755wmg.0 for ; Tue, 19 Jul 2016 08:02:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=RVRKQa0IUuRpwnY9edfZLSESBkzGhKHc5/XOWtYGVgk=; b=FV+62tvyAcIXL5FTq8kG2ODFUiSXTta6eIFlyqt1LQxJgH0bucJ+/vi9YHrOFnqGhh fKSQqH9GhcV/hhuyE+wrd65iBWv6x4AiCA5cEYCy30/76EU2Caotlvhc/lHpa8ygaQ8O fLnX68Uf1zF70VQ81w0BFB2hMgBUo+SqHxQumEpcd5B2gjJgcZ5p43ebbSduzLdfDVbT Rb3p+fxsGmKg3BBDRBhFEtUO1Og1WwaQuxe3YkYpeYRFLFi2ldbjYNdUc8CP/3gnMbLL WR5TgEd7kqDKtptg/zrCLgVJE5QpDyR39quE2ytWJAnYIJ3THY5zVwuRfVvCbwqefKPG 8MdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=RVRKQa0IUuRpwnY9edfZLSESBkzGhKHc5/XOWtYGVgk=; b=BAGjREgopChYHieHNKhUBfGn5pXU/3DwcoW5e6LlF85W91WsK3hvPm8162pgjX4N42 5fYRMR+WhkXRjlsOmEhxZKYlL6/w8nVfz+S/NR++/sVUpPKZfpTumh0xez+ibmoMlKeX Wk/kNINSf72pOecRo2tmL+S7jU4Z0cU16V6qJFtgM5Wnn5WgWXW8zC+Hh8NkFetelgrN ujltSf81o8lBE+vfXlKEJTBl8g7WQeOBbrhAejt8yxrgbSpZh5nIk5jphLF1qlCK/L+Y Fw6Tk4FOGZSNyzTgpcs+vyjYyVq5n/TTc09IUpf8dAKKpBqIxun+yTqHh+lBh2DPj7cD ETgg== X-Gm-Message-State: ALyK8tI0WBkUcBiyAl/WaRuO2s1TfTc3MLhS118FCloDtdoWTMiwRecZbZ5E7VReBwAdHA== X-Received: by 10.28.37.134 with SMTP id l128mr5043082wml.49.1468940533385; Tue, 19 Jul 2016 08:02:13 -0700 (PDT) Original-Received: from keima.localdomain (x2f27c39.dyn.telefonica.de. [2.242.124.57]) by smtp.gmail.com with ESMTPSA id m81sm23565826wmf.1.2016.07.19.08.02.12 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 19 Jul 2016 08:02:12 -0700 (PDT) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: 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:95508 Archived-At: This is a multi-part message in MIME format. --===============1698664038122161515== Content-Type: multipart/alternative; boundary="------------070906050809040900000109" This is a multi-part message in MIME format. --------------070906050809040900000109 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Fabrice Couvreur > 19. Juli 2016 um 15:19 > Hello, > The third column of matrix is not centered vertically and horizontally. Add the following two lines to your example \setupformula [option=3Dframe] \setupformulaframed[offset=3D0pt] and you can see the third matrix isn=E2=80=99t centered (the small gab on= the=20 left side is the cell offset) because it=E2=80=99s too wide for the cell. BTW: It=E2=80=99s good style to end *each* matrix line with \NR. Wolfgang --------------070906050809040900000109 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
19= .=20 Juli 2016 um 15:19
Hello,
The third column
of matr= ix is not centered vertically and horizontally.

Add the following two lines to your example

=C2=A0=C2=A0=C2=A0 \setupformula=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [option=3D= frame]
=C2=A0=C2=A0=C2=A0 \setupformulaframed[offset=3D0pt]

and you can see the third matrix isn=E2=80=99t centered (the small gab on= the=20 left side is the cell offset)
because it=E2=80=99s too wide for the cell.

BTW: It=E2=80=99s good style to end *each* matrix line with \NR.

Wolfgang
--------------070906050809040900000109-- --===============1698664038122161515== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============1698664038122161515==--