summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/xits/user-guide.tex
blob: 80d231c3cd6b07c6e2bfafc89ece6f53431424cd (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
\setupbodyfont[xits]
\setupinteraction[state=start]

\useURL [ms-font-install] [http://www.microsoft.com/typography/truetypeinstall.mspx] [] [Installing fonts on Windows]
\starttext

\section{Introduction}

XITS is Times-like font for scientific publishing with support for mathematical
typesetting. It has wide coverage of Latin, Greek and Cyrillic scripts, as
well as extensive coverage of Unicode symbols used in mathematics and other
fields of science. XITS supports also proper mathematical typesetting and can
be used to typeset complex mathematical equations in modern \TEX\ engines,
namely \LUATEX\ and \XETEX, as well as Microsoft Office starting from 2007
version.

XITS is available as an OpenType font, in four styles; regular, bold, italic
and bold italics, besides the maths font.

\section{Font features}

XITS supports the following OpenType features:

\starttable[|lT|l|]
\HL
\NC feature\NC Description \NC\SR
\HL
\NC \Use{2}[I]{All fonts} \MR
\NC kern \NC Kerning \NC\FR
\NC liga \NC Ligatures \NC\MR
\NC onum \NC Oldstyle numbers \NC\MR
\NC frac \NC Diagonal fractions \NC\MR
\NC \Use{2}[I]{The maths font, spports additional features} \MR
\NC ss01 \NC Mathematical Calligraphic Alphabet \NC\MR
\NC ss02 \NC Mathematical Greek Sans Serif Alphabet \NC\MR
\NC ss03 \NC Mathematical Italic Sans Serif Digits \NC\MR
\NC ss04 \NC Mathematical Bold Monospace Digits \NC\MR
\NC ss05 \NC Mathematical Bold Double-Struck Alphabet \NC\MR
\NC ss06 \NC Mathematical Italic Double-Struck Alphabet \NC\MR
\NC ss07 \NC Mathematical Bold Italic Double-Struck Alphabet \NC\MR
\NC ss08 \NC Upright Integrals \NC\LR
\NC ss09 \NC Negated Symbols With Vertical Stroke \NC\MR
\HL
\stoptable


\section{Installation}

\subsection{\CONTEXT}
\CONTEXT\ MkIV are needed for using the math font, text fonts can be used with
either MkIV or MkII with \XETEX\ engine, MkII with \PDFTEX\ is not supported.

Recent versions of \CONTEXT\ already have typescripts for XITS, so just
installing the fonts into TEXMF tree is enough.

\subsection{\LATEX}
A modern \TEX\ engine with Unicode and OpenType support is needed, namely
\LUATEX\ or \XETEX. In addition to {\ss fontspec} package, {\ss unicode-math}
is needed for using XITS fonts in math mode.

If you are using \LUATEX\ then you can either install the fonts OS wide or in
TEXMF tree. If you are using \XeTeX\ then you need to either install fonts OS
wide, or adapt your {\ss fontconfig} configuration to look for for fonts
installed under TEXMF tree, otherwise you will not be able to access fonts by
font name.

\subsection{MS Office}
MS Office 2007 or newer is required, please refer to Microsoft’s
\from[ms-font-install] for general font installation instruction.

\section{Usage}

\subsection{\LATEX}

\subsubsection{Examples}
\startTEX
\documentclass{article}
\usepackage{unicode-math}
\setmainfont{XITS}
\setmathfont{XITS Math}

\begin{document}
Text $x+y=\sqrt{z}$
\end{document}
\stopTEX

\subsection{\CONTEXT}

\subsubsection{Examples}

\startTEX
\setupbodyfont[xits]

\starttext
Text $x+y=\sqrt{z}$
\stoptext
\stopTEX

\stoptext