From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86022 Path: news.gmane.org!not-for-mail From: DesdeChaves Newsgroups: gmane.comp.tex.context Subject: align text in nodes (tikz) Date: Mon, 20 Jan 2014 15:28:00 +0000 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1073381817==" X-Trace: ger.gmane.org 1390231682 14017 80.91.229.3 (20 Jan 2014 15:28:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Jan 2014 15:28:02 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 20 16:28:10 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W5Gll-0007SR-Uw for gctc-ntg-context-518@m.gmane.org; Mon, 20 Jan 2014 16:28:10 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3F85B101EB; Mon, 20 Jan 2014 16:28:09 +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 vcv3t8nyxPH6; Mon, 20 Jan 2014 16:28:05 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 5B60B101E2; Mon, 20 Jan 2014 16:28:05 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A7521101E2 for ; Mon, 20 Jan 2014 16:28:03 +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 ipkiYatR0E37 for ; Mon, 20 Jan 2014 16:28:02 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id B5E5A101E1 for ; Mon, 20 Jan 2014 16:28:02 +0100 (CET) Original-Received: from mail-oa0-x231.google.com (mail-oa0-x231.google.com [IPv6:2607:f8b0:4003:c02::231]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s0KFS0m3018469 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 20 Jan 2014 16:28:01 +0100 Original-Received: by mail-oa0-f49.google.com with SMTP id i7so5370452oag.8 for ; Mon, 20 Jan 2014 07:28:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Ye3vCT5PxVTqWgZhRG/s/wz0cjHWy5SXlxXF3Y8ctao=; b=IecnUMQ+QC7uolhhsYphWCQsV3j8YfGoyqMCkZu0WrDW7HgsrXLbCNb0O/Y9q6JCE/ 6AugZPCCwaJP1RqXJyTNK1n0C6Lvb9T3v7r+C3udssD0QwQWB+s5OenUN2yNsQE9F5Zn /N/6E9wVvhiXksBj0Hu+3KE9i+Br727baMsJmtoZtqJiPjwdxNjsboySqUHMmtctbfkJ 3hkmYUUHc2AZB3Bp9tynKZjeBMqlE3Bshr9N5IbIgFPBTb1Un6LJVInxkE+cQnBk290f 9T2dZyZC2ALjReAZRV5QoHp+yQxnUwHN9BZf5OEohqr1foci/DziiowjZGFT4uznZLTf L/Eg== X-Received: by 10.182.29.33 with SMTP id g1mr1823345obh.59.1390231680125; Mon, 20 Jan 2014 07:28:00 -0800 (PST) Original-Received: by 10.60.52.143 with HTTP; Mon, 20 Jan 2014 07:28:00 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2607:f8b0:4003:c02::231; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VLgfs1Fr - 6ad7d5e684fb - 20140120 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:86022 Archived-At: --===============1073381817== Content-Type: multipart/alternative; boundary=001a11c2b8b2731b9a04f068893a --001a11c2b8b2731b9a04f068893a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable How i can fix that: This works: \starttikzpicture[mynode/.style=3D{rectangle,fill=3Dred!10,text width=3D4cm= }] \node[mynode] (A) at (5cm, 8cm) {This\\ works}; \stoptikzpicture This don=B4t works: \starttikzpicture[mynode/.style=3D{rectangle,fill=3Dred!10,text width=3D4cm= , align=3Dcenter}] \node[mynode] (A) at (5cm, 8cm) {Align\\ (don=B4t work)}; \stoptikzpicture ConTeXt ver: 2013.12.22 19:05 MKIV beta fmt: 2013.12.23 int: english/english Jorge --001a11c2b8b2731b9a04f068893a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
How i can fix that:

This works:

\starttikzpicture[mynode/.style=3D{rectangle,fill=3D= red!10,text width=3D4cm}]
\node[mynode] =A0(A) at (5cm, 8cm) {Thi= s\\ works};
\stoptikzpicture

This don=B4t wor= ks:

\starttikzpicture[mynode/.sty= le=3D{rectangle,fill=3Dred!10,text width=3D4cm, align=3Dcenter}]
= \node[mynode] =A0(A) at (5cm, 8cm) {Align\\ (don=B4t work)};
\stoptikzpicture

ConTeXt =A0ver: = 2013.12.22 19:05 MKIV beta =A0fmt: 2013.12.23 =A0int: english/english
=


Jorge
--001a11c2b8b2731b9a04f068893a-- --===============1073381817== 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 ___________________________________________________________________________________ --===============1073381817==--