Debian Codegraph @

texmf-dist/doc/fonts/arsenal-math/sample-math.ltx

raw
1 \documentclass[a4paper]{ltugboat}
2 \usepackage{amsmath,amsfonts,amsthm,arsenal-math,multicol}
3 \usepackage[svgnames,dvipsnames]{xcolor}
4 \setmathfont{ArsenalMath-Sans}[
5 BoldFont=ArsenalMath-SansBold,
6 StylisticSet=1,
7 range={cal, bfcal}]
8 \setmainfont{Arsenal}
9 \setcounter{secnumdepth}{0}
10
11 \newcommand{\abc}{abcdefghijklmnopqrstuvwxyz}
12 \newcommand{\ABC}{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
13 \newcommand{\alphabeta}{\alpha\beta\gamma\delta
14 \epsilon\varepsilon\zeta\eta\theta\vartheta\iota
15 \kappa\varkappa\lambda\mu\nu\xi o\pi\varpi\rho\varrho\sigma
16 \varsigma\tau\upsilon\phi\varphi\chi\psi\omega}
17 \newcommand{\AlphaBeta}{\Gamma\Delta\Theta\Lambda
18 \Xi\Pi\Sigma\Upsilon\Phi\Psi\Omega}
19
20 \newtheorem{theorem}{Theorem}
21 \colorlet{math}{RoyalBlue}
22 \everymath{\color{math}}
23 \abovedisplayskip 3pt plus 2pt minus 1pt
24 \belowdisplayskip 3pt plus 1pt minus .5pt
25
26 %% Getting version and date
27 \makeatletter
28 \def\GetFileInfo#1{%
29 \def\filename{#1}%
30 \def\@tempb##1 ##2 ##3\relax##4\relax{%
31 \def\filedate{##1}%
32 \def\fileversion{##2}%
33 \def\fileinfo{##3}}%
34 \edef\@tempa{\csname ver@#1\endcsname}%
35 \expandafter\@tempb\@tempa\relax? ? \relax\relax}
36 \makeatother
37
38 \GetFileInfo{arsenal-math.sty}
39
40 \begin{document}
41
42 \pagestyle{empty}
43 \title{Sample of Arsenal Math font}
44 \author{\color{black}Rajeesh K\,V}
45 \date{Arsenal Math package version \fileversion, \filedate}
46 \maketitle
47
48 \parindent0pt
49 \parskip 0ex plus .1ex
50
51 \section{Introduction}
52 \label{sec:intro}
53
54 Arsenal Math is created from KpMath-Sans and Arsenal font, both licensed under OFL. The math
55 symbols are from KpMath-Sans font; Latin characters and numerals are\linebreak
56 from Arsenal font.
57
58 \section{Results}
59 \label{sec:Results}
60
61 \begin{theorem}[Residue Theorem]
62 Let $f$ be analytic in the region $G$ except for the isolated singularities $a_1,a_2,\ldots,a_m$. If $\gamma$ is a closed rectifiable curve in $G$ which does not pass through any of the points $a_k$ and if $\gamma\approx 0$ in $G$ then
63 \begin{align*}
64 \frac{1}{2\pi i}\int_\gamma f = \sum_{k=1}^m n(\gamma;a_k) \text{Res}(f;a_k).
65 \end{align*}
66 \end{theorem}
67
68 \begin{theorem}[Maximum Modulus]
69 \emph{Let $G$ be a bounded open set in $\mathbb{C}$ and suppose that
70 $f$ is a continuous function on $G^-$ which is analytic in $G$. Then}
71 \begin{align*}
72 \max\{|f(z)|:z\in G^-\}=\max \{|f(z)|:z\in \partial G \}.
73 \end{align*}
74 \end{theorem}
75
76 \section{Large aligned equation and matrix}
77
78 \begin{eqnarray*}
79 V(R) &=&
80 \int_{\varphi=0}^{2 \pi}
81 \int_{\theta=0}^{\pi}
82 \int_{r=0}^{R}
83 r^2 \sin(\theta) dr d\theta d\varphi \\
84 &=&
85 \left( \int_{\varphi=0}^{2 \pi} d\varphi \right)
86 \left( \int_{\theta=0}^{\pi} \sin(\theta) d\theta \right)
87 \left( \int_{r=0}^{R} r^2 dr \right) \\
88 &=&
89 \left[ \varphi \right]_{\varphi=0}^{2 \pi}
90 \left[ -\cos(\theta) \right]_{\theta=0}^{\pi}
91 \left[ \frac{r^3}{3} \right]_{r=0}^{R} \\
92 &=&
93 \frac{4}{3} \pi R^3 \\
94 \det(A) &=& \sum_{\sigma \in S_n} \epsilon(\sigma)
95 \prod_{i=1}^n a_{i,\sigma(i)} \\
96 I_n &=& \mathbb{1}_n\\
97 &\phantom{=}& \left[\begin{array}{ccccc}
98 1 & 0 & 0 & \cdots & 0 \\
99 0 & 1 & 0 & \cdots & 0 \\
100 0 & 0 & \ddots & & 0 \\
101 \vdots & & & & \vdots \\
102 0 & 0 & \cdots & 0 & 1
103 \end{array}\right|
104 \end{eqnarray*}
105
106 \section{Alphabets}
107 \label{sec:alphabets}
108 \subsection{Uppercase and math}
109 \ABC\\
110 \textit{\ABC} \\
111 $\ABC$
112
113 \subsection{Lowercase and math}
114 \abc\\
115 \textit{\abc} \\
116 $\abc$\\
117 0123456789\quad $01234567890$
118
119 \subsection{Greek}
120 $\AlphaBeta$ \\
121 $\alphabeta$ \\
122 $\ell\wp\aleph\infty\propto\emptyset\nabla\partial\mho\imath\jmath\hslash\eth$
123
124 \subsection{Lowercase Greek and math}
125 $\abc$\\
126 $\alphabeta$
127
128 \subsection{Uppercase Greek and math}
129 $\ABC$\\
130 $\AlphaBeta$
131
132 \subsection{Greek and misc}
133 $\mathrm{A}$ $\Lambda$ $\Delta$ $\nabla$ $\mathrm{B}$ $\mathrm{C}$ $\mathrm{D}$ $\Sigma$ $\mathrm{E}$ $\mathrm{F}$ $\Gamma$ $\mathrm{G}$ $\mathrm{H}$ $\mathrm{I}$ $\mathrm{J}$ $\mathrm{K}$ $\mathrm{L}$ $\mathrm{M}$ $\mathrm{N}$ $\mathrm{O}$ $\Theta$ $\Omega$ $\mho$ $\mathrm{P}$ $\Phi$ $\Pi$ $\Xi$ $\mathrm{Q}$ $\mathrm{R}$ $\mathrm{S}$ $\mathrm{T}$ $\mathrm{U}$ $\mathrm{V}$ $\mathrm{W}$ $\mathrm{X}$ $\mathrm{Y}$ $\Upsilon$ $\Psi$ $\mathrm{Z}$\\
134 $1234567890 $
135
136 \subsection{Mathbold}
137 \textbf{\ABC}\\
138 $\mathbf{\ABC}$\\
139 \textbf{\abc}\\
140 $\mathbf{\abc}$
141
142 \subsection{Math and symbols}
143 $a$ $\alpha$ $b$ $\beta$ $c$ $\partial$ $d$ $\delta$ $e$ $\epsilon$ $\varepsilon$ $f$ $\zeta$ $\xi$ $g$ $\gamma$ $h$ $\hbar$ $\hslash$ $\iota$ $i$ $\imath$ $j$ $\jmath$ $k$ $\kappa$ $\varkappa$ $l$ $\ell$ $\lambda$ $m$ $n$ $\eta$ $\theta$ $\vartheta$ $o$ $\sigma$ $\varsigma$ $\phi$ $\varphi$ $\wp$ $p$ $\rho$ $\varrho$ $q$ $r$ $s$ $t$ $\tau$ $\pi$ $u$ $\mu$ $\nu$ $v$ $\upsilon$ $w$ $\omega$ $\varpi$ $x$ $\chi$ $y$ $\psi$ $z$$ $ $\infty$ $\propto$ $\emptyset$ $\varnothing$ $\mathrm{d}$ $\eth$ $\backepsilon$
144
145 \subsection{Mathcal}
146 %$\mathcal{\ABC}$
147 $\mathcal{A}$ $\mathcal{B}$ $\mathcal{C}$ $\mathcal{D}$ $\mathcal{E}$ $\mathcal{F}$ $\mathcal{G}$ $\mathcal{H}$ $\mathcal{I}$ $\mathcal{J}$ $\mathcal{K}$ $\mathcal{L}$ $\mathcal{M}$ $\mathcal{N}$ $\mathcal{O}$ $\mathcal{P}$ $\mathcal{Q}$ $\mathcal{R}$ $\mathcal{S}$ $\mathcal{T}$ $\mathcal{U}$ $\mathcal{V}$ $\mathcal{W}$ $\mathcal{X}$ $\mathcal{Y}$ $\mathcal{Z}$
148
149 \subsection{Mathbb}
150 %$\mathbb{\ABC}$
151 $\mathbb{A}$ $\mathbb{B}$ $\mathbb{C}$ $\mathbb{D}$ $\mathbb{E}$ $\mathbb{F}$ $\mathbb{G}$ $\mathbb{H}$ $\mathbb{I}$ $\mathbb{J}$ $\mathbb{K}$ $\mathbb{L}$ $\mathbb{M}$ $\mathbb{N}$ $\mathbb{O}$ $\mathbb{P}$ $\mathbb{Q}$ $\mathbb{R}$ $\mathbb{S}$ $\mathbb{T}$ $\mathbb{U}$ $\mathbb{V}$ $\mathbb{W}$ $\mathbb{X}$ $\mathbb{Y}$ $\mathbb{Z}$
152
153
154 \subsection{Mathscr}
155 %$\mathscr{\ABC}$
156 $\mathscr{A}$ $\mathscr{B}$ $\mathscr{C}$ $\mathscr{D}$ $\mathscr{E}$ $\mathscr{F}$ $\mathscr{G}$ $\mathscr{H}$ $\mathscr{I}$ $\mathscr{J}$ $\mathscr{K}$ $\mathscr{L}$ $\mathscr{M}$ $\mathscr{N}$ $\mathscr{O}$ $\mathscr{P}$ $\mathscr{Q}$ $\mathscr{R}$ $\mathscr{S}$ $\mathscr{T}$ $\mathscr{U}$ $\mathscr{V}$ $\mathscr{W}$ $\mathscr{X}$ $\mathscr{Y}$ $\mathscr{Z}$
157
158 \subsection{Uppercase mathfrak}
159 %$\ABC$\\
160 %$\mathfrak{\ABC}$
161 $\mathfrak{A}$ $\mathfrak{B}$ $\mathfrak{C}$ $\mathfrak{D}$ $\mathfrak{E}$ $\mathfrak{F}$ $\mathfrak{G}$ $\mathfrak{H}$ $\mathfrak{I}$ $\mathfrak{J}$ $\mathfrak{K}$ $\mathfrak{L}$ $\mathfrak{M}$ $\mathfrak{N}$ $\mathfrak{O}$ $\mathfrak{P}$ $\mathfrak{Q}$ $\mathfrak{R}$ $\mathfrak{S}$ $\mathfrak{T}$ $\mathfrak{U}$ $\mathfrak{V}$ $\mathfrak{W}$ $\mathfrak{X}$ $\mathfrak{Y}$ $\mathfrak{Z}$
162
163 \subsection{Lowercase mathfrak}
164 %$\abc$\\
165 %$\mathfrak{\abc}$
166 $\mathfrak{a}$ $\mathfrak{b}$ $\mathfrak{c}$ $\mathfrak{d}$ $\mathfrak{e}$ $\mathfrak{f}$ $\mathfrak{g}$ $\mathfrak{h}$ $\mathfrak{i}$ $\mathfrak{j}$ $\mathfrak{k}$ $\mathfrak{l}$ $\mathfrak{m}$ $\mathfrak{n}$ $\mathfrak{o}$ $\mathfrak{p}$ $\mathfrak{q}$ $\mathfrak{r}$ $\mathfrak{s}$ $\mathfrak{t}$ $\mathfrak{u}$ $\mathfrak{v}$ $\mathfrak{w}$ $\mathfrak{x}$ $\mathfrak{y}$ $\mathfrak{z}$
167
168
169 \subsection{Bold math}
170 {\boldmath$\alpha + b = 27$}
171
172 \subsection{Primes}
173 $d', d'', d'''$.
174
175 \end{document}
176