From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87147 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 15:09:43 +0200 Message-ID: <4365DA70-A5C0-4D45-A819-37704D8388FB@gmail.com> 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 (Mac OS X Mail 7.2 \(1874\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1398690613 21938 80.91.229.3 (28 Apr 2014 13:10:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Apr 2014 13:10:13 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Apr 28 15:10: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 1WelJv-0001oH-3Z for gctc-ntg-context-518@m.gmane.org; Mon, 28 Apr 2014 15:10:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D17211025E for ; Mon, 28 Apr 2014 15:10: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 wL-Q-LrUg98M for ; Mon, 28 Apr 2014 15:10:06 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 374C510206 for ; Mon, 28 Apr 2014 15:10:03 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 83470101E9 for ; Mon, 28 Apr 2014 15:09:59 +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 tRk4jA77WAwQ for ; Mon, 28 Apr 2014 15:09:58 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 17BE0101E7 for ; Mon, 28 Apr 2014 15:09:49 +0200 (CEST) Original-Received: from mail-ee0-x236.google.com (mail-ee0-x236.google.com [IPv6:2a00:1450:4013:c00::236]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s3SDUPek025613 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 28 Apr 2014 15:30:26 +0200 Original-Received: by mail-ee0-f54.google.com with SMTP id d49so4844299eek.41 for ; Mon, 28 Apr 2014 06:09:48 -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=C1isLlhd7zuQY1BSEf/SSWujvgkSHz+NRQt92KL35HE=; b=zOII1+Q4P2PHNAPQv6LbIEHiNNfrlj0mqnmtYBPpH6226/rCDE9HsIkJJb91hucmID DuEhpsjEbyGoG99XQXI0uiQaBg4PYv0xTviKy2nxHa6rHSbuflc178huioDUNDmv3lcT 2cvz2UwUXkUrbc2FChs98nAF688XQUiRcynPZENZw2K3kXH13Wkl9Q5eLIUYmZr4wBwh C6lRBgzwsqnxGGesVf/WYLHJ/OII+sAtLymYKjABb9YRtkwC9SiP/QshXUxCCiP6NphP QMJJitSj6UXIcnSa/R+OjnuQiSnnd2k7rCNyjuX4fSj4PdLSZxigIs7MYSZJ180XL/xe Rk8Q== X-Received: by 10.15.45.130 with SMTP id b2mr33150935eew.28.1398690588382; Mon, 28 Apr 2014 06:09:48 -0700 (PDT) Original-Received: from keima.localdomain (x2f352ba.dyn.telefonica.de. [2.243.82.186]) by mx.google.com with ESMTPSA id a42sm50281854ees.10.2014.04.28.06.09.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 28 Apr 2014 06:09:45 -0700 (PDT) In-Reply-To: <01E0A8BF-059F-4D4D-B4E8-E55E88ACAB09@gmail.com> 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::236; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01LTpuqHk - 78aa6795a7c4 - 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:87147 Archived-At: Am 28.04.2014 um 14:59 schrieb Wolfgang Schuster : > > 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. The correct name of the file is font-sel.mkvi. 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 ___________________________________________________________________________________