From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25191 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: How to \bf for math? Date: Sun, 15 Jan 2006 12:07:05 +0100 Message-ID: <6faad9f00601150307k69d8a10er89fe149ee8f724ab@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1137323622 32556 80.91.229.2 (15 Jan 2006 11:13:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 15 Jan 2006 11:13:42 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 15 12:13:37 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 1Ey5pH-00061W-F9 for gctc-ntg-context-518@m.gmane.org; Sun, 15 Jan 2006 12:13:35 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DA72A127DC; Sun, 15 Jan 2006 12:13:34 +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 04412-05; Sun, 15 Jan 2006 12:13:32 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 931741277E; Sun, 15 Jan 2006 12:13:32 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8C9DF1277E for ; Sun, 15 Jan 2006 12:13:31 +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 04320-06 for ; Sun, 15 Jan 2006 12:13:30 +0100 (CET) Original-Received: from uproxy.gmail.com (uproxy.gmail.com [66.249.92.207]) by ronja.ntg.nl (Postfix) with SMTP id 589EB1277C for ; Sun, 15 Jan 2006 12:13:29 +0100 (CET) Original-Received: by uproxy.gmail.com with SMTP id k3so326807ugf for ; Sun, 15 Jan 2006 03:13:29 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Cc9fjtQOICHP3btpktLOsa4YLqJXuPBGcxnWEO2YPctX9pbOC2AIp5XA96N7OfqT0WajcX+TIzND6ps1ZsmcxuL4XemnzGuZUVBvZPh01nXYipJ5EE89j8wKP7o9IxhkUuFxtz//MaTa+6B9VQz3wU48nOUVfu+YPzj9H3UlWYw= Original-Received: by 10.49.54.3 with SMTP id g3mr174342nfk; Sun, 15 Jan 2006 03:07:05 -0800 (PST) Original-Received: by 10.48.223.20 with HTTP; Sun, 15 Jan 2006 03:07:05 -0800 (PST) Original-To: mailing list for ConTeXt users Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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:25191 Archived-At: Hello, What exactly is the ConTeXt alternative to LaTeX's \mathbf (switch to bold or bold italic math fonts)? (Btw: is it better to use bold or bold italic for typesetting vectors? We use "overrightharpoonup", so I don't know what an international standard says.) I understand the main commands for switching the font in text (rm, tt, ss for family and tf, sl, it, bf, bs, bi, sc + an optional x/xx/a/b/c/d), but I didn't understand yet what to use for math. ~~~ As an intermezzo: is there any way to ger small caps slanted? \sc will do the small caps, but \sl switches to normal slanted font (no small caps) again. I suppose that the current model (set of current font definitions) doesn't account for the possibility of using small caps slanted or small caps bold (slanted). Is there any elegant way to do that, for example by defining new commands such as \scbf, \scit, \scbi [+ xx/x/a/b/c/d]? (I can still use other tricks to get those fonts, but some general scheme for using them could be useful for others as well.) ~~~ I tried to use the examples described in mfonts.pdf, but I can't get those examples working. (I probably used too few definitions when more definitions are required at once to make the examples work.) I also tried the command from one of Adam's articles, \def\mfunction#1{{\em#1}}, to get italic euler math font, but without success. I managed to use "bold math" as a whole (on the example of iwona which has different weights of math fonts): \starttypescript [math] [iwona-heavy] [default] \definefontsynonym [Iwona-Math-Letters-Heavy] [rm-iwonah] \definefontsynonym [Iwona-Math-Letters-HeavyItalic] [mi-iwonahi] \definefontsynonym [Iwona-Math-Symbols-Heavy] [sy-iwonahz] \definefontsynonym [Iwona-Math-Extension-Heavy] [ex-iwonah] \stoptypescript \starttypescript [math] [iwona-heavy] [name] \definefontsynonym [MathRoman] [Iwona-Math-Letters-Heavy] \definefontsynonym [MathItalic] [Iwona-Math-Letters-HeavyItalic] \definefontsynonym [MathSymbol] [Iwona-Math-Symbols-Heavy] \definefontsynonym [MathExtension] [Iwona-Math-Extension-Heavy] \stoptypescript \definetypeface [iwona] [mm] [math] [iwona-heavy] [default] But I can't get ant further than that, so that I could switch between "thin" and "bold". I tried \starttypescript [boldmath] [iwona-heavy] [name] \definefontsynonym [MathRomanBold] [Iwona-Math-Letters-Heavy] ... \starttypescript %[boldmath] [iwona-heavy] [default] =09\definebodyfont [boldmath] [mm] =09[(bf)mr=3DMathRomanBold mo 1, ...] ... and different settings in starttypescript/definebody font ... but no success at all. I would like to create some definitions, so that I could easily say (write a command) "I want the light version for regular math and the regular font for bold math" or "I want the regular version for regular and the heavy version for bold math". Thanks a lot for help, Mojca