summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/xelatex/mathspec/README
blob: e4c4fdfc7e328a010457de64d300e242dab3d876 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
The mathspec package
Andrew Gilbert Moschou
v0.16 2009/08/29

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

The mathspec package provides an interface to select arbitrary
text fonts for typesetting mathematics in XeLaTeX documents.

Usage

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

Commands
  \setmathsfont[Set=<set>,<shapes>,<font features>]{<font name>}
    Specifies the mathematics fonts.
    <set>:           Latin, Greek or Symbols;
    <shapes>:        Optional comma separated list of keys and values
                       Keys:   Uppercase, Lowercase, Digits
                       Values: Regular,Italic,Plain
    <font features>: Optional fontspec font features
    <font name>:     fontspec font name

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

  \setprimaryfont[<font features>]{<font name>}
  \setsansfonts[<font features>]{<font name>}
  \setmonofonts[<font features>]{<font name>}

  \normalfvarforms
  \varforms

  \+[<size>]
    Inserts a <size> mu (1/18 em) space in mathematics mode.
    Default <size> is 1.