AZ logo

CTAN directory: /macros/xetex/latex/mathspec

You can get the contents of this directory bundled as a zip file.

Packages in this directory:

Identifier Caption
mathspec Specify arbitrary fonts for mathematics in XeTeX.

Files

Name Size* Date UTC Notes
README 1 KiB 2009-Sep-30 Shown below
mathspec.pdf 337 KiB 2009-Sep-30
mathspec.sty 43 KiB 2009-Sep-30
mathspec.tex 29 KiB 2009-Sep-30

  *File sizes in kibibytes.

Contents of README

The mathspec package
--------------------
Font selection for mathematics with XeLaTeX
version 0.2
Andrew Gilbert Moschou
Wednesday, 30 September 2009

This work is released under the LPPL v1.3c or later.

The mathspec package provides an interface to select ordinary text fonts for
typesetting mathematics with XeLaTeX.


The package is developmental and later versions might to be incompatible with
this version. This version is incompatible with earlier versions. The package
requires at least version 0.9995 of XeTeX.

Implementation
--------------

\usepackage[<mathspec and fontspec options>]{mathspec}

End user commands
-----------------

\setmathsfont(<set>)[<shapes, font features>]{<font name>}
\setmathfont(<set>)[<shapes, font features>]{<font name>}

\setmathrm[<font features>]{<font name>}
\setmathsf[<font features>]{<font name>}
\setmathtt[<font features>]{<font name>}
\setmathcal[<font features>]{<font name>}
\setmathbb[<font features>]{<font name>}
\setmathfrak[<font features>]{<font name>}

\setallmainfonts(<sets>)[<font features>]{<font name>}
\setprimaryfont[<font features>]{<font name>}
\setallsansfont[<font features>]{<font name>}
\setallmonofonts[<font features>]{<font name>}

\exchangeforms{<list>}
\normalisevarforms[<list>]
\normalizevarforms[<list>]

"<character>
\"<string>"
\setminwhitespace