[XeTeX] how to select fonts in math mode in plan TeX?

John Was john.was at ntlworld.com
Sun Mar 27 11:41:36 CEST 2011


I think you want something analogous to the following (taken from some very 
old work in EmTeX):


The bits after the = signs are the various fonts that plain TeX will access 
in math mode.  After \txim (which was my abbreviation for 'Imprint tweaked 
for use in TeX' I have r for roman, i for italic, b for bold, and bi for 
bold italic.  At the end of the font names, I have 'five' for 5pt, 'seven' 
for 7pt, and 'ten' for 10pt.  If you follow this pattern for your preferred 
maths typeface (not necessarily using the same nomenclature) you should end 
up with roman, italic, bold, and bold italic for all the sizes that TeX will 
need to access in math mode.

Of course, one can see why this isn't how it's usually done these days!


----- Original Message ----- 
From: "Adam Russell" <arussell at cs.uml.edu>
To: <xetex at tug.org>
Sent: 27 March 2011 03:36
Subject: [XeTeX] how to select fonts in math mode in plan TeX?

> When using xelatex I make use of the most excellent mathspec package.
> However, I would like to do something similar in just plain xetex.
> That is, how do I specify which font to use in math mode?
> I tried the obvious which is:
>     \font\cas="CaslonAntT"
>     \cas puke %works! puke is typeset in the specified font
>     $p=\int_0^1 f(x)\cas why is this not in the correct font?$
> This, obviously,  is the way one would do it in plain TeX.
> How to do the same thing in xetex?
> Or, even better, how to globally set the math mode font?
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex 

More information about the XeTeX mailing list