From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/26024 Path: news.gmane.org!not-for-mail From: David Munger Newsgroups: gmane.comp.tex.context Subject: Re: How to \bf for math? Date: Fri, 17 Feb 2006 15:10:42 -0500 Message-ID: <1140207042.79639.11.camel@tempete> References: <6faad9f00601150307k69d8a10er89fe149ee8f724ab@mail.gmail.com> <1B2F871A-AFE0-42CF-A17D-1C29D7F0966C@fiee.net> <6faad9f00601150659y7528773du9423ccf07d066bd0@mail.gmail.com> <43CA9061.2040002@wxs.nl> <43CB7E1E.2080602@elvenkind.com> <6faad9f00601160908k6e940d9fk58b57cfa1de68839@mail.gmail.com> <43F4DE75.4040209@comp.lancs.ac.uk> <43F4E34E.4090608@comp.lancs.ac.uk> <1140197084.48104.6.camel@tempete> <43F614BF.6010101@comp.lancs.ac.uk> <1140203340.79639.4.camel@tempete> <43F62A52.7090105@comp.lancs.ac.uk> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1140207081 11186 80.91.229.2 (17 Feb 2006 20:11:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 17 Feb 2006 20:11:21 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Feb 17 21:11:18 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1FABwg-00031q-44 for gctc-ntg-context-518@m.gmane.org; Fri, 17 Feb 2006 21:11:14 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B1F421279A; Fri, 17 Feb 2006 21:11:13 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29986-01; Fri, 17 Feb 2006 21:11:09 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E94FB1277E; Fri, 17 Feb 2006 21:11:08 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 78E251277E for ; Fri, 17 Feb 2006 21:11:07 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29985-01 for ; Fri, 17 Feb 2006 21:11:03 +0100 (CET) Original-Received: from tomts43-srv.bellnexxia.net (tomts43.bellnexxia.net [209.226.175.110]) by ronja.ntg.nl (Postfix) with SMTP id 4BB7C12772 for ; Fri, 17 Feb 2006 21:11:02 +0100 (CET) Original-Received: from [69.156.165.7] by tomts43-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060217201101.OBMJ4713.tomts43-srv.bellnexxia.net@[69.156.165.7]> for ; Fri, 17 Feb 2006 15:11:01 -0500 Original-To: mailing list for ConTeXt users In-Reply-To: <43F62A52.7090105@comp.lancs.ac.uk> X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:26024 Archived-At: Adam Lindsay wrote : > David Munger wrote: > > Adam Lindsay wrote : > >> David Munger wrote: > >>> Very interesting, but with these definitions, I can't get roman > >>> characters in formulae. For the moment, the best solution for me is > >>> still the hbox wrapper. > >> Okay. > >> What do you mean by "can't get roman characters"? Can you give an > >> minimal example? > >> > >> adam > > > > Sorry, I should have given one. > > > > \startmathcollection[default] > > \definemathcharacter [a] [nothing] [mi] ["61] > > \stopmathcollection > > > > \definetypeface [] [mm] [bfmath] [computer-modern] [computer-modern] > > \setupformulas [method=bold] > > > > \starttext > > \formula{a, {\rm a}, {\bfm a}, {\bfm\rm a}} > > \stoptext > > > > I can't get bold roman math. And by using [mr] instead of [mi]: > > \definemathcharacter [a] [nothing] [mr] ["61] > > one gets the inverse problem: no more bold math italic. > > oh, I see. I'll admit: all the maths I've dealt with don't require such > fine manual control over the fonts. Well, sometimes it's useful when dealing with different kinds of objects such as vectors and tensors. > Would it be for individual characters? Would an approach like this work? > \formula{a, {\rm a}, {\bfm a}, \text{\bf a}} Yes, of course. This happens to be an \hbox. My point is simply that we have not come to a general solution yet, we are just finding different workarounds to suit our personal needs, which is not bad indeed. Cheers, David