From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87738 Path: news.gmane.org!not-for-mail From: Flavien Lambert Newsgroups: gmane.comp.tex.context Subject: Re: fonts and function in math mode Date: Tue, 10 Jun 2014 14:18:46 -0400 Message-ID: References: <01E0A8BF-059F-4D4D-B4E8-E55E88ACAB09@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0956747485==" X-Trace: ger.gmane.org 1402424351 9336 80.91.229.3 (10 Jun 2014 18:19:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Jun 2014 18:19:11 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 10 20:19:07 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 1WuQdX-0006Cd-Cb for gctc-ntg-context-518@m.gmane.org; Tue, 10 Jun 2014 20:19:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 926D41025A for ; Tue, 10 Jun 2014 20:19:06 +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 H+woWiwEA5HD for ; Tue, 10 Jun 2014 20:19:06 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id BB395101E7 for ; Tue, 10 Jun 2014 20:19:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D1047101E7 for ; Tue, 10 Jun 2014 20:18:55 +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 sTdCc+HMAQt6 for ; Tue, 10 Jun 2014 20:18:53 +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 4CFAC101E2 for ; Tue, 10 Jun 2014 20:18:47 +0200 (CEST) Original-Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::22f]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s5AIIlcW008466 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Tue, 10 Jun 2014 20:18:47 +0200 Original-Received: by mail-wi0-f175.google.com with SMTP id f8so6704293wiw.8 for ; Tue, 10 Jun 2014 11:18:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=BDQUYrrmw/mc0uEewuc3HC1wVBOyqNzmkgNH7mPfTtI=; b=vx7moMAWEgA5WhFo4T5B08eLT7gY2jsOiwoxHqTBmUbGtQZXf2+L4pDFozxntw4pKW R3sprp4QSDljeFXcdnNr7Dw6okXEmDz+C7qZAYcLek4QZ7QiMO+H431cBPS9RWQW5v62 WMcI4Co9z4d4fT5vZxNITNcNSakbLmVQf4DtU+K6ToGtTXwRCYojmc71IiLEFlY+P8pt g1fs+APvJ/W3VX5kWHU1TzllpJbJagsXtT+sqJrTBbcIyXsS/hDhgtpSpLOX80+mknHI NgTQymBve99DooFbtNLBrS+dCS1T07QHwzg8lyRt0K9sx8P5g1i/BoVVBHU/8Frupftj C69Q== X-Received: by 10.194.122.169 with SMTP id lt9mr44314535wjb.16.1402424326844; Tue, 10 Jun 2014 11:18:46 -0700 (PDT) Original-Received: by 10.216.44.204 with HTTP; Tue, 10 Jun 2014 11:18:46 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c05::22f; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03McGiLME - 90dbbdfd8b8f - 20140610 (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:87738 Archived-At: --===============0956747485== Content-Type: multipart/alternative; boundary=089e01228f16d37a3504fb7f5bd9 --089e01228f16d37a3504fb7f5bd9 Content-Type: text/plain; charset=UTF-8 Hi all, following the subject of my previous messages, I was wondering what is the paremeter that governs the parentheses, brackets and so on. The following command does change the sum sign for example but not the rest: \definefallbackfamily [mainface] [math] [Latin Modern Math] [preset=math:mathematicaloperators,tf=name:latinmodernsans,scale=1.2] On 28 April 2014 09:14, Flavien Lambert wrote: > Thanks Wolfgang. I set it by hand because I was using the light version > and the bold version of the light one does not exist ;) I just put regular > for the example. > > > On 28 April 2014 20:59, Wolfgang Schuster > wrote: > >> >> Am 28.04.2014 um 13:46 schrieb Flavien Lambert : >> >> > Hi everyone, could you tell me how to use the Ubuntu font for the math >> command \max in the following example? >> > >> > \definefontfamily [mainface] [sans] [Ubuntu] >> [regularfont=ubuntu,italicfont=ubuntuitalic,boldfont=ubuntubold] >> > \definefallbackfamily [mainface] [math] [Ubuntu] >> [preset=math:lowercaseitalic,tf=name:ubuntu] >> > \definefontfamily [mainface] [math] [Latin Modern Math] >> > >> > \setupbodyfont[mainface] >> > >> > \starttext >> > $ abc \max$ abc max >> > \stoptext >> >> \definefontfamily [mainface] [sans] [Ubuntu] >> >> \definefallbackfamily [mainface] [math] [Ubuntu] >> [preset=math:lowercaseitalic] >> \definefallbackfamily [mainface] [math] [Ubuntu] >> [preset=math:lowercasenormal] >> \definefontfamily [mainface] [math] [Latin Modern Math] >> >> \setupbodyfont[mainface] >> >> \starttext >> $ abc \max$ abc max >> \stoptext >> >> BTW: Why do you set the upright, italic etc. styles by hand? >> >> > I am also interesting by knowing where I can find all the features >> "preset=math:" possible. >> >> The presets are defined in font-eel.mkvi with the \definefontfamilypreset >> command. >> >> Wolfgang >> >> >> ___________________________________________________________________________________ >> 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 >> >> ___________________________________________________________________________________ >> > > --089e01228f16d37a3504fb7f5bd9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi all, following the subject of my previous messages, I w= as wondering what is the paremeter that governs the parentheses, brackets a= nd so on.
The following command does change the sum sign for example but= not the rest:

\definefallbackfamily [mainface] [math] [Latin Modern Math] [preset=3Dm= ath:mathematicaloperators,tf=3Dname:latinmodernsans,scale=3D1.2]



On 28 = April 2014 09:14, Flavien Lambert <petit.lepton@gmail.com> wrote:
Thanks Wolfgang. I set it b= y hand because I was using the light version and the bold version of the li= ght one does not exist ;) I just put regular for the example.


=
On 28 April 2014 20:59, Wolfgang Schuster <schuster.wolfgang@gma= il.com> wrote:

Am 28.04.2014 um 13:46 schrieb Flavien Lambert <petit.lepton@gmail.com>:

> Hi everyone, could you tell me how to use the Ubuntu font for the math= command \max in the following example?
>
> \definefontfamily [mainface] [sans] [Ubuntu] [regularfont=3Dubuntu,ita= licfont=3Dubuntuitalic,boldfont=3Dubuntubold]
> \definefallbackfamily [mainface] [math] [Ubuntu] [preset=3Dmath:lowerc= aseitalic,tf=3Dname:ubuntu]
> \definefontfamily =C2=A0 =C2=A0 [mainface] [math] [Latin Modern Math]<= br> >
> \setupbodyfont[mainface]
>
> \starttext
> $ abc \max$ abc max
> \stoptext

\definefontfamily [mainface] [sans] [Ubuntu]

\definefallbackfamily [mainface] [math] [Ubuntu] [preset=3Dmath:lowercaseit= alic]
\definefallbackfamily [mainface] [math] [Ubuntu] [preset=3Dmath:lowercaseno= rmal]
\definefontfamily =C2=A0 =C2=A0 [mainface] [math] [Latin Modern Math]<= br>
\setupbodyfont[mainface]

\starttext
$ abc \max$ abc max
\stoptext

BTW: Why do you set the upright, italic etc. styles by hand?

> I am also interesting by knowing where I can find all the features &qu= ot;preset=3Dmath:" possible.

The presets are defined in font-eel.mkvi with the \definefontfamilypr= eset command.

Wolfgang

___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =C2=A0: http= ://www.pragma-ade.nl / http://tex.aanhet.net
archive =C2=A0: http://foundry.supelec.fr/projects/contextrev/
wiki =C2=A0 =C2=A0 : http://contextgarden.net
___________________________________________________________________________= ________


--089e01228f16d37a3504fb7f5bd9-- --===============0956747485== 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0956747485==--