From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87145 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: fonts and function in math mode Date: Mon, 28 Apr 2014 14:59:13 +0200 Message-ID: <01E0A8BF-059F-4D4D-B4E8-E55E88ACAB09@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1398689984 11465 80.91.229.3 (28 Apr 2014 12:59:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Apr 2014 12:59:44 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Apr 28 14:59:38 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 1Wel9l-0005jI-Gz for gctc-ntg-context-518@m.gmane.org; Mon, 28 Apr 2014 14:59:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1258D1025C for ; Mon, 28 Apr 2014 14:59:37 +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 cF7b2DdPH51m for ; Mon, 28 Apr 2014 14:59:36 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id AEB52101F1 for ; Mon, 28 Apr 2014 14:59:32 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7B3D9101E9 for ; Mon, 28 Apr 2014 14:59:29 +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 RfSf90IQgf3h for ; Mon, 28 Apr 2014 14:59:28 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 0118C101E7 for ; Mon, 28 Apr 2014 14:59:27 +0200 (CEST) Original-Received: from mail-ee0-x231.google.com (mail-ee0-x231.google.com [IPv6:2a00:1450:4013:c00::231]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s3SCxHSu010386 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 28 Apr 2014 14:59:27 +0200 Original-Received: by mail-ee0-f49.google.com with SMTP id c41so4870860eek.36 for ; Mon, 28 Apr 2014 05:59:18 -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=MYqX4+1uVD/6b77Z6bCxiZ64LgCHWQSlvrAWS9V+LyY=; b=OT07vY1lAh/w/2N4j8rJtI8v8Pjv1YGGG5LjGqkXVEdkwSoVPP0ImltuQokUtqmSBT LhihQtfmCtZItYXxZE6PA76j9PjZWKVJP2FRwE4J34Yt+4NvG8vDSLhVoNH8aBW6V6yg h8oq76X8mBElrFxueqXSmPaDUhtUgNecGafRlD02+IQUsQ8a0skFcxreCT6hgw2HnM0I Jskzjen9UEt8y4aBIZFRDI08iZ/7OhG7ZqrKQbHe1A29CFsKRl1w4KvGq1r09lucDXW/ IH132Z5Sn3315OVefrhGOqVNL67gZ0XeF+KOZ8HpiVSMUqOuBh9wGsxoKM+gyXQXFUbn eVqA== X-Received: by 10.15.22.201 with SMTP id f49mr33282325eeu.18.1398689958433; Mon, 28 Apr 2014 05:59:18 -0700 (PDT) Original-Received: from keima.localdomain (x2f352ba.dyn.telefonica.de. [2.243.82.186]) by mx.google.com with ESMTPSA id e42sm50206000eev.32.2014.04.28.05.59.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 28 Apr 2014 05:59:16 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1874) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c00::231; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07LToXiH3 - f23d0f215ce2 - 20140428 (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:87145 Archived-At: 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 ___________________________________________________________________________________