From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81806 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Center-Aligment in column spans Date: Tue, 16 Apr 2013 18:31:16 +0200 Message-ID: References: <516D7A63.4030904@mmnetz.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: multipart/mixed; boundary="===============0519778098==" X-Trace: ger.gmane.org 1366129886 15472 80.91.229.3 (16 Apr 2013 16:31:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Apr 2013 16:31:26 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 16 18:31:30 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1US8n2-0006bl-C6 for gctc-ntg-context-518@m.gmane.org; Tue, 16 Apr 2013 18:31:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 40F5710248; Tue, 16 Apr 2013 18:31:27 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 2lBbasWRRT9m; Tue, 16 Apr 2013 18:31:21 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id AC53C10210; Tue, 16 Apr 2013 18:31:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 58AE210210 for ; Tue, 16 Apr 2013 18:31:20 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id akhKP30ODlZu for ; Tue, 16 Apr 2013 18:31:19 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 25BA5101FE for ; Tue, 16 Apr 2013 18:31:19 +0200 (CEST) Original-Received: from mail-ee0-f51.google.com (mail-ee0-f51.google.com [74.125.83.51]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3GGVIdX020935 for ; Tue, 16 Apr 2013 18:31:18 +0200 Original-Received: by mail-ee0-f51.google.com with SMTP id c4so330603eek.38 for ; Tue, 16 Apr 2013 09:31:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:content-type:message-id:mime-version:subject:date :references:to:in-reply-to:x-mailer; bh=FEtWGFrJvUsc023NNcXEFAa+sbo0OcJvifmHfNhD6XY=; b=NMOSXPI1uxBgEYUyHRIoUgWUruXlaKjLsR0x8zaJAzHd4j5pmnJzfk/49xoQNLAnA5 ip2V4en+yvQIiztHNI0XdUG7oDw2mJybv2EBXIy1BqLc5iVavCku43yyjQYSSPDWYv1e 6fbhSbQGxTJadq802zX4W47kksDY/0zr3GLaSzFtpcqJOmZrYd+q8ZZgy/Y23akfo656 8Wl/s1S5JBW02dXjv2PuISDj7Vt8S9crdlHcbntp/ow5V6NpGw5L8Fwd2AvyqYnV6kwS r7RHuzQwoTV2wC66cOVM+LTHPx7shA3hNbL3x3GXXJ+LFcHapWOAHvURgvAFqcEu4/G6 yIlA== X-Received: by 10.15.36.2 with SMTP id h2mr8115618eev.2.1366129878148; Tue, 16 Apr 2013 09:31:18 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4d075373.pool.mediaWays.net. [77.7.83.115]) by mx.google.com with ESMTPS id d47sm3777338eem.9.2013.04.16.09.31.17 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 16 Apr 2013 09:31:17 -0700 (PDT) In-Reply-To: <516D7A63.4030904@mmnetz.de> X-Mailer: Apple Mail (2.1503) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.83.51; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WJoEviaO - 8b99d1ddb9f1 - 20130416 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:81806 Archived-At: --===============0519778098== Content-Type: multipart/alternative; boundary="Apple-Mail=_EDBE7985-D077-4035-8749-7BB274B962CE" --Apple-Mail=_EDBE7985-D077-4035-8749-7BB274B962CE Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Am 16.04.2013 um 18:20 schrieb "H. =D6zoguz" : > Am 16.04.2013 17:41, schrieb ntg-context-request@ntg.nl: >>> \starttext >>> >>=20 >>> >> \starttable[|l|l|l|] >>> >> \NC \bf Methode \VL \bf Relevanz \VL \bf Bewertung \NC\AR >>> >> \HL >>> >> \NC \THREE\JustCenter \it Nat?rliche Methoden \NC\AR >>> >> \HL >>> >> \NC Klevirak \VL 5-6 \VL Toll \NC\AR >>> >> \stoptable >>> >>=20 >>> >> \stoptext >>> >>=20 >>> >> Wolfgang >> >=20 >> > Thanks! And how to center the complete table on the page? >=20 > Now I see that \JustCenter does not really center: >=20 > \starttext > \starttable[|l|c|l|] > \NC {\bf Column 1} \VL {\bf Column 2} \VL {\bf Column 3} \SR > \HL \THREE\JustCenter \it Nat=FCrliche Methoden \SR > \NC First entry \VL short entry \VL looooooooooooooogn entry \AR > \stoptable > \stoptext >=20 > You can see, that "Nat=FCrliche Methoden" is not correctly centered. = For my purpose, it would be indeed not best to center it with respect to = the complete row of the table, but with respect to the middle-column = (second one) only. So that "Nat=FCrliche Methoden" is directly centered = above "short entry". Howto? The text isn=92t centered in your example because you always miss tags. 1. You forgot the \NC before \AR and \SR. 2. You forgot the \NC at the begin of the second row. 3. You don=92t need braces around \bf because style change are local to = cells. \starttext \starttable[|l|c|l|] \NC \bf Column 1 \VL \bf Column 2 \VL \bf Column 3 \NC\AR \HL \NC \THREE\JustCenter \it Nat=FCrliche Methoden \NC\AR \NC First entry \VL short entry \VL looooooooooooooogn entry \NC\AR \stoptable \stoptext Wolfgang= --Apple-Mail=_EDBE7985-D077-4035-8749-7BB274B962CE Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 h.oezoguz@mmnetz.de>:
=20 =20
Am 16.04.2013 17:41, schrieb ntg-context-request@ntg.nl:=
=
\starttext
>> 
>> \starttable[|l|l|l|]
>> \NC \bf Methode \VL \bf =
Relevanz \VL \bf Bewertung \NC\AR
>> \HL
>> \NC \THREE\JustCenter =
\it Nat?rliche Methoden \NC\AR
>> \HL
>> \NC Klevirak \VL 5-6 =
\VL Toll \NC\AR
>> \stoptable
>> 
>> \stoptext
>> 
>> Wolfgang
> 
> Thanks! And how to center =
the complete table on the page?

Now I see that \JustCenter does not really center:

\starttext
\HL \THREE\JustCenter \it Nat=FCrliche Methoden \SR
\NC First entry \VL short entry \VL looooooooooooooogn entry \AR
\stoptable
\stoptext

You can see, that "Nat=FCrliche Methoden" is not correctly = centered. For my purpose, it would be indeed not best to center it with respect to the complete row of the table, but with respect to the middle-column (second one) only. So that "Nat=FCrliche Methoden" = is directly centered above "short entry". = Howto?

The text isn=92t = centered in your example because you always miss = tags.

1. You forgot the \NC before \AR and = \SR.

2. You forgot the \NC at the begin of the = second row.

3. You don=92t need braces = around \bf because style change are local to = cells.

\starttext
\starttable[|l|c|l|]<= /div>
\NC \bf Column 1 \VL \bf Column 2 \VL \bf Column 3 = \NC\AR
\HL
\NC \THREE\JustCenter \it Nat=FCrliche = Methoden \NC\AR
\NC First entry \VL short entry \VL = looooooooooooooogn entry = \NC\AR
\stoptable
\stoptext

=
Wolfgang
= --Apple-Mail=_EDBE7985-D077-4035-8749-7BB274B962CE-- --===============0519778098== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0519778098==--