From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87851 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Character alignment in math mode Date: Wed, 25 Jun 2014 23:35:26 +0200 Message-ID: <1D3C74CC-3E1C-47F3-AE93-31ED1A3C534A@gmail.com> References: <9889F8D0-9694-43CE-9E62-5C65692C314B@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1403732155 30072 80.91.229.3 (25 Jun 2014 21:35:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Jun 2014 21:35:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 25 23:35:51 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 1Wzur8-0001e6-M8 for gctc-ntg-context-518@m.gmane.org; Wed, 25 Jun 2014 23:35:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 462D710223 for ; Wed, 25 Jun 2014 23:35:50 +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 rjHS8DYJEwXU for ; Wed, 25 Jun 2014 23:35:50 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 55C9510225 for ; Wed, 25 Jun 2014 23:35:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0CBF7101E6 for ; Wed, 25 Jun 2014 23:35:39 +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 0O4F31gw5znx for ; Wed, 25 Jun 2014 23:35:35 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id E6F34101E2 for ; Wed, 25 Jun 2014 23:35:29 +0200 (CEST) Original-Received: from mail-we0-x230.google.com (mail-we0-x230.google.com [IPv6:2a00:1450:400c:c03::230]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s5PLZS5x014624 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 25 Jun 2014 23:35:29 +0200 Original-Received: by mail-we0-f176.google.com with SMTP id u56so2614096wes.21 for ; Wed, 25 Jun 2014 14:35:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=j4ZE7LOoIm/zzYFYiw/aSi1pE4Vz2wo9F+PT9CKnQjo=; b=bQsx79lKtlbQpvBr8gMMpG8yc6wJeoNw45PeQIjlpSF8MBrJOSLnWP1mhNQ8p1+jOA KW0AvEynxrMeDV87aPQ2YISDY+70CNsoYbrIjFAc5TlxeAdoOb25lml5byd5W7xvSAHF y7rLIHc1I8vaCzE7h5tRIvMXSLq4WTHrDSL2IJqn3/Mfdqe2mhptB3ysZYlBaYz1Kf+w 1Bl+WCWVI3MeC93bkydkVqP16cYuP5Xmjx3QENRQGSnrdSyWIkhn7axQeoUvCTw57wRS +nK4KnbBvKswLp4l5w1ArRfj5lHGw7YOfGY0FksOf8EjthetDWXbXqAwxhmeCxtubJDM KXNQ== X-Received: by 10.180.14.196 with SMTP id r4mr44079962wic.2.1403732128303; Wed, 25 Jun 2014 14:35:28 -0700 (PDT) Original-Received: from keima.localdomain (x2f2f014.dyn.telefonica.de. [2.242.240.20]) by mx.google.com with ESMTPSA id hc4sm9924255wjc.38.2014.06.25.14.35.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 25 Jun 2014 14:35:27 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1878.2) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c03::230; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03MiJzty2 - 68d149bfdc84 - 20140625 (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:87851 Archived-At: Am 25.06.2014 um 23:20 schrieb Brian R. Landy : > = > = > On Wed, 25 Jun 2014, Wolfgang Schuster wrote: > = >> = >> Am 24.06.2014 um 21:46 schrieb Maggyero : >> = >>>> why use math here? >>> = >>> It was to avoid oldstyle figures that I use by default. But finally it'= s better to use oldstyle figures even in tables. >> = >> You can enable lining (and tabular) figures in the table when you don=92= t want oldstyle figures. > = > Out of curiosity, how do you do that (i.e., revert back to lining, and ta= bular, figures in a table, or even in running text)? > = > For example, if I do this: > = > \starttext > \bf 12345\par > \tf 12345\par > \stoptext > = > the first line is bold but the second is not. But if I do the same with = \os: > = > \starttext > \os 12345\par > \tf 12345\par > \stoptext > = > both lines use old style numbers. Is there a way to switch the current f= ont back to lining figures without reloading the font with \switchtobodyfon= t or something similar? The \os command enables oldstyle figures in your font and the setting isn= =92t reset when you switch to a different font alternative. \definefontfeature[f:lnum][lnum=3Dyes] \definefontfeature[f:onum][onum=3Dyes] \definefontfeature[f:tnum][tnum=3Dyes,pnum=3Dno] \definefontfeature[f:pnum][pnum=3Dyes,tnum=3Dno] \setupbodyfont[antykwa-poltawskiego] \starttext \starttabulate \NC onum \NC \feature[+][f:onum] 1234567890 \NC\NR \NC onum + tnum \NC \feature[+][f:onum]\feature[+][f:tnum]1234567890 \NC\NR \NC onum + pnum \NC \feature[+][f:onum]\feature[+][f:pnum]1234567890 \NC\NR \TB \NC lnum \NC \feature[+][f:lnum] 1234567890 \NC\NR \NC lnum + tnum \NC \feature[+][f:lnum]\feature[+][f:tnum]1234567890 \NC\NR \NC lnum + pnum \NC \feature[+][f:lnum]\feature[+][f:pnum]1234567890 \NC\NR \stoptabulate \stoptext Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________