From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52600 Path: news.gmane.org!not-for-mail From: Matthijs Kooijman Newsgroups: gmane.comp.tex.context Subject: Using \startalign outside of math mode? Date: Fri, 28 Aug 2009 13:29:10 +0200 Message-ID: <20090828112910.GY12901@katherina.student.utwente.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0329774794==" X-Trace: ger.gmane.org 1251458972 6851 80.91.229.12 (28 Aug 2009 11:29:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Aug 2009 11:29:32 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 28 13:29:25 2009 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.50) id 1Mgze0-0002uU-JU for gctc-ntg-context-518@m.gmane.org; Fri, 28 Aug 2009 13:29:24 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 36F90C9A7C; Fri, 28 Aug 2009 13:29:21 +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 8MKUI9wZEjiR; Fri, 28 Aug 2009 13:29:20 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 89D62C9AB7; Fri, 28 Aug 2009 13:29:16 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3F58DC9A9B for ; Fri, 28 Aug 2009 13:29:13 +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 zmPbLnUds9Bc for ; Fri, 28 Aug 2009 13:29:11 +0200 (CEST) Original-Received: from katherina.student.utwente.nl (katherina.student.utwente.nl [130.89.168.160]) by balder.ntg.nl (Postfix) with ESMTP id 11832C9A70 for ; Fri, 28 Aug 2009 13:29:10 +0200 (CEST) Original-Received: from matthijs by katherina.student.utwente.nl with local (Exim 4.69) (envelope-from ) id 1Mgzdm-0002cM-Oo for ntg-context@ntg.nl; Fri, 28 Aug 2009 13:29:10 +0200 Mail-Followup-To: mailing list for ConTeXt users X-PGP-Fingerprint: 7F6A 9F44 2820 18E2 18DE 24AA CF49 D0E6 8A2F AFBC X-PGP-Key: http://katherina.student.utwente.nl/~matthijs/gpg_pubkey.asc User-Agent: Mutt/1.5.18 (2008-05-17) 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:52600 Archived-At: --===============0329774794== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cxfMsoqvp1jUizWj" Content-Disposition: inline --cxfMsoqvp1jUizWj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I'm using a custom pretty printer to apply some formatting to a buffer. However, I'm not using a monospaced font, but some sans serif font to displ= ay the result. In the original text, I have some lines that are nicely aligned using leading spaces. For example: foo =3D bar | baz Obviously, when using a non monospaced font for this, the alignment is lost. When in math mode, I can use \startalign to force alignment, like:=20 \startalign foo \NC=3D bar \NC| baz \stopalgin However, I haven't manage to switch to math mode inside pretty printed text. Also, even if I would, I would get my text rendered in math mode, which probably won't work. So, I'm wondering if there is anything like \startalign to use outside of m= ath mode? I've been looking at the implementation of \startalign, but couldn't find it... Some way to insert spacing until some fixed point (e.g. tab-stop like) would probably work, if I can define the tabstop on a case by case basis? Gr. Matthijs --cxfMsoqvp1jUizWj Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkqXv4YACgkQz0nQ5oovr7x/BgCgsrZ0tzC1aO9InKIuoluIRUkq yO4AniEqMLk4JUbNrDZED9qXEcLwlyi/ =ste3 -----END PGP SIGNATURE----- --cxfMsoqvp1jUizWj-- --===============0329774794== 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0329774794==--