From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/66665 Path: news.gmane.org!not-for-mail From: "C." Newsgroups: gmane.comp.tex.context Subject: Left and centered text on the same line Date: Sat, 5 Mar 2011 23:01:29 +0100 Message-ID: <005b01cbdb80$e22714e0$a6753ea0$@gmx.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0976095636==" X-Trace: dough.gmane.org 1299362522 11354 80.91.229.12 (5 Mar 2011 22:02:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 5 Mar 2011 22:02:02 +0000 (UTC) To: "Context-Mailinglist" Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 05 23:01:58 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PvzXw-00053h-BZ for gctc-ntg-context-518@m.gmane.org; Sat, 05 Mar 2011 23:01:56 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B4B88CAAAC; Sat, 5 Mar 2011 23:01:55 +0100 (CET) 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 Yn1-zHXk0VgI; Sat, 5 Mar 2011 23:01:52 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0335ACAAA5; Sat, 5 Mar 2011 23:01:52 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 56457CAAA5 for ; Sat, 5 Mar 2011 23:01:50 +0100 (CET) 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 J4b-YWlBHGYG for ; Sat, 5 Mar 2011 23:01:39 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 50713CAAA4 for ; Sat, 5 Mar 2011 23:01:39 +0100 (CET) Original-Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with SMTP id p25M1bNm005145 for ; Sat, 5 Mar 2011 23:01:38 +0100 Original-Received: (qmail invoked by alias); 05 Mar 2011 22:01:37 -0000 Original-Received: from f053214007.adsl.alicedsl.de (EHLO christianPC) [78.53.214.7] by mail.gmx.net (mp038) with SMTP; 05 Mar 2011 23:01:37 +0100 X-Authenticated: #61879178 X-Provags-ID: V01U2FsdGVkX1+fRD5pVEafbKKlGh1PuRZuwYCna3DGBt1GP8GLF6 9xZ4Ndl1C+bjbt X-Mailer: Microsoft Outlook 14.0 Thread-Index: Acvbf6fMdFf6/R4nTlSBG46k7eghSg== Content-Language: de X-Y-GMX-Trusted: 0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.165.64.22; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rEfy1BxQ - 8c97082c74a0 - 20110305 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:66665 Archived-At: This is a multipart message in MIME format. --===============0976095636== Content-Type: multipart/alternative; boundary="----=_NextPart_000_005C_01CBDB89.43EDEDE0" Content-Language: de This is a multipart message in MIME format. ------=_NextPart_000_005C_01CBDB89.43EDEDE0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Good evening, How can I place left aligned and centered text on one line? So that the centered text is in the same place as with \startaligned[middle] I experimented with the following code: \startalignment[middle] I'm centered % this serves as a reference, its right in the middle of the paper \stopalignment % now to the tricky part \starttabulate[|lw(\dimexpr 0.5\textwidth\relax)|c|] \NC I'm left \NC I'm centered \NC \NR \NC I'm also left \NC I'm also centered \NC \NR \stoptabulate I tried various versions with the dimensions, subtracting \leftmarginwidth and what not. to no avail. The tabulate solution is always a tad off. What am I missing here? -Christian ------=_NextPart_000_005C_01CBDB89.43EDEDE0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Good = evening,

 

How can I place left aligned and = centered text on one line?

So that the centered text is in the = same place as with \startaligned[middle]

 

I experimented with the following = code:

 

\startalignment[middle]

I’m centered % this serves as = a reference, its right in the middle of the = paper

\stopalignment

% now to the tricky = part

\starttabulate[|lw(\dimexpr = 0.5\textwidth\relax)|c|]

\NC I’m left \NC I’m centered \NC = \NR

\NC = I’m also left \NC I’m also centered \NC = \NR

\stoptabulate

 

I tried various versions with the = dimensions, subtracting \leftmarginwidth and what not… to no = avail.

The = tabulate solution is always a tad off. What am I missing = here?

 

-Christian

------=_NextPart_000_005C_01CBDB89.43EDEDE0-- --===============0976095636== 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 ___________________________________________________________________________________ --===============0976095636==--