From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72862 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: math font Date: Thu, 1 Dec 2011 11:43:06 -0500 (EST) Message-ID: References: <81942E98-DDE6-45DB-85AE-9788D8F66924@xs4all.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1322757829 6554 80.91.229.12 (1 Dec 2011 16:43:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 1 Dec 2011 16:43:49 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 01 17:43:45 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 1RW9jb-0002c7-0E for gctc-ntg-context-518@m.gmane.org; Thu, 01 Dec 2011 17:43:43 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 31C98CB11A; Thu, 1 Dec 2011 17:43:37 +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 NVVtVOUVBEt6; Thu, 1 Dec 2011 17:43:34 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9D032CB10E; Thu, 1 Dec 2011 17:43:34 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 95AC5CB10E for ; Thu, 1 Dec 2011 17:43:32 +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 21ShdFKQh9-7 for ; Thu, 1 Dec 2011 17:43:21 +0100 (CET) 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 74F53CB0F3 for ; Thu, 1 Dec 2011 17:43:21 +0100 (CET) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.12.86]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pB1GhIwE021721 for ; Thu, 1 Dec 2011 17:43:19 +0100 Original-Received: FROM [10.0.2.15] (wpa045053.Wireless.McGill.CA [142.157.45.53]) By tombraider.mr.itd.umich.edu ID 4ED7AEA5.33E1D.16871 ; Authuser adityam; 1 Dec 2011 11:43:17 EST In-Reply-To: <81942E98-DDE6-45DB-85AE-9788D8F66924@xs4all.nl> User-Agent: Alpine 2.02 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.12.86; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0xG3QHjQN - 3590275f28fb - 20111201 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:72862 Archived-At: On Thu, 1 Dec 2011, Hans van der Meer wrote: > Instead of the mathfont'a italics I would like to try an upright typeface. See for example the P.p on the left of the sample, 1-p in the second \pmatrix and the toprow in the last one. > > How can I do this globally, I don't think that there is a global interface. You can try \appendtoks \mathrm \to \everysetupmathematics. In principle, we can have an interface similar to \setupmathematics[lcgreek=...,ucgreek=...], but the choice of keys requires some thought. > there by avoiding avoiding the need to sprinkle \mathrm's all around as > in: \pmatrix{\mathrm p\cr\mathrm 1-p\cr}. A single \mathrm in front as > not enough for the matrices. That is because \pmatrix uses \halign, where each cell starts a new math gruop. This reminds me of an old request to have support for \mhalign and \mvalign at the engine level. Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________