Debian Codegraph @

texmf-dist/doc/fonts/oldstandard/oldstandard-mathtest.tex

raw
1 \documentclass{article}
2 \usepackage{geometry}
3 \parindent=0pt
4 \pagestyle{empty}
5
6 \usepackage{fontspec}
7 \usepackage{OldStandard}
8
9 \usepackage{unicode-math}
10 \setmathfont{OldStandard-Math.otf}
11
12
13 \begin{document}
14
15 \begin{center}
16 \scshape\Large Sebastian's math test\\
17 \end{center}
18 The default math mode font is $Math\ Italic$. This should not be
19 confused with ordinary \emph{Text Italic} -- notice the different spacing\,!
20 \verb|\mathbf| produces bold roman letters: $ \mathbf{abcABC} $.
21 If you wish to embolden complete formulas,
22 use the \verb|\boldmath| command \emph{before} going into math mode.
23 This changes the default math fonts to bold.
24
25 \begin{tabular}{ll}
26 \texttt{normal} & $ x = 2\pi \Rightarrow x \simeq 6.28 $\\
27 \texttt{mathbf} & $\mathbf{x} = 2\pi \Rightarrow \mathbf{x} \simeq 6.28 $\\
28 \texttt{boldmath} & {\boldmath $x = \mathbf{2}\pi \Rightarrow x
29 \simeq{\mathbf{6.28}} $}\\
30 \end{tabular}
31 \smallskip
32
33 Greek is available in upper and lower case:
34 $\alpha,\beta \dots \Omega$, and there are special
35 symbols such as $ \hbar$.
36 The following letters should be upright: $\upGamma, \upDelta\dots \upOmega$.
37 Digits in formulas $1, 2, 3\dots$ may differ from those in text: 4, 5, 6\dots
38
39 There is a calligraphic alphabet \verb|\mathcal| for upper case letters
40 $ \mathcal{ABCDE}\dots $, and there are letters for number sets: $\mathbb{A\dots Z} $,
41 which are produced using \verb|\mathbb|.
42
43 \begin{equation}
44 \sigma(t)=\frac{1}{\sqrt{2\pi}}
45 \int^t_0 e^{-x^2/2} dx
46 \end{equation}
47
48 \begin{equation}
49 \prod_{j\geq 0}
50 \left(\sum_{k\geq 0}a_{jk} z^k\right)
51 = \sum_{k\geq 0} z^n
52 \left( \sum_{{k_0,k_1,\ldots\geq 0}
53 \atop{k_0+k_1+\ldots=n} }
54 a{_0k_0}a_{1k_1}\ldots \right)
55 \end{equation}
56
57 \begin{equation}
58 \pi(n) = \sum_{m=2}^{n}
59 \left\lfloor \left(\sum_{k=1}^{m-1}
60 \lfloor(m/k)/\lceil m/k\rceil
61 \rfloor \right)^{-1}
62 \right\rfloor
63 \end{equation}
64
65 \begin{equation}
66 \{\underbrace{%
67 \overbrace{\mathstrut a,\ldots,a}^{k\ a's},
68 \overbrace{\mathstrut b,\ldots,b}^{l\ b's}}
69 _{k+l\ \mathrm{elements}} \}
70 \end{equation}
71
72 \[
73 \mbox{W}^+\
74 \begin{array}{l}
75 \nearrow\raise5pt\hbox{$\mu^+ + \nu_{\mu}$}\\
76 \rightarrow \pi^+ +\pi^0 \\[5pt]
77 \rightarrow \kappa^+ +\pi^0 \\
78 \searrow\lower5pt\hbox{$\mathrm{e}^+
79 +\nu_{\scriptstyle\mathrm{e}}$}
80 \end{array}
81 \]
82
83 \[
84 \frac{\pm
85 \left|\begin{array}{ccc}
86 x_1-x_2 & y_1-y_2 & z_1-z_2 \\
87 l_1 & m_1 & n_1 \\
88 l_2 & m_2 & n_2
89 \end{array}\right|}{
90 \sqrt{\left|\begin{array}{cc}l_1&m_1\\
91 l_2&m_2\end{array}\right|^2
92 + \left|\begin{array}{cc}m_1&n_1\\
93 n_1&l_1\end{array}\right|^2
94 + \left|\begin{array}{cc}m_2&n_2\\
95 n_2&l_2\end{array}\right|^2}}
96 \]
97
98 Mathematical accents:
99 \[
100 \mbox{ acute=} \acute{a}
101 \mbox{ grave=}\grave{a}
102 \mbox{ ddot=}\ddot {a}
103 \mbox{ tilde=}\tilde{a}
104 \mbox{ bar=}\bar {a}
105 \mbox{ breve=}\breve{a}
106 \mbox{ check=}\check{a}
107 \mbox{ hat=}\hat {a}
108 \mbox{ vec=}\vec {a}
109 \mbox{ dot=}\dot {a}
110 \]
111
112
113 \end{document}