Debian Codegraph @

texmf-dist/doc/fonts/arsenal/sample.tex

raw
1 \documentclass{article}
2 \usepackage[default]{arsenal}
3 \PassOptionsToPackage{hyphens}{url}
4 \usepackage{hyperref}
5 \urlstyle{rm}
6 \usepackage{microtype}
7 \usepackage[ukrainian, english]{babel}
8 \usepackage{natbib}
9 \setcounter{secnumdepth}{0}
10 \makeatletter
11 \def\GetFileInfo#1{%
12 \def\filename{#1}%
13 \def\@tempb##1 ##2 ##3\relax##4\relax{%
14 \def\filedate{##1}%
15 \def\fileversion{##2}%
16 \def\fileinfo{##3}}%
17 \edef\@tempa{\csname ver@#1\endcsname}%
18 \expandafter\@tempb\@tempa\relax? ? \relax\relax}
19 \makeatother
20 \GetFileInfo{arsenal.sty}
21 \newcommand{\abc}{abcdefghijklmnopqrstuvwxyz}
22 \newcommand{\ABC}{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
23 \newcommand{\alphabeta}{\alpha\beta\gamma\delta\epsilon\varepsilon\zeta\eta\theta\vartheta\iota\kappa\varkappa\lambda\mu\nu\xi o\pi\varpi\rho\varrho\sigma\varsigma\tau\upsilon\phi\varphi\chi\psi\omega}
24 \newcommand{\AlphaBeta}{\Gamma\Delta\Theta\Lambda\Xi\Pi\Sigma\Upsilon\Phi\Psi\Omega}
25 \providecommand\pkg[1]{\textit{#1}}
26
27 \usepackage{unicodefonttable}
28
29 \newcommand\device{{\centering\textaldine\textaldine\textaldine\par}}
30
31
32 \begin{document}
33 \selectlanguage{english}
34 \title{Sample of Arsenal fonts}
35 \author{Boris Veytsman}
36 \date{Arsenal package version \fileversion, \filedate}
37 \maketitle
38 \tableofcontents
39
40
41 \clearpage
42
43 \section{Address by President Volodymyr Zelenskyy, September 2, 2023}
44
45
46
47 \textit{Dear Ukrainians, I wish you good health!}
48
49 This Saturday, three cities are celebrating their day. The cities that
50 are indispensable part of Ukraine.
51
52 \textsc{Odesa.} Our support in the south, on the Black Sea. A city that,
53 together with Ukraine, has and will always have global significance. A
54 port on which the lives of various nations depend---from Ukrainian
55 exports through the Great Odesa. A city of culture that knows how to
56 be interesting to everyone and respects everyone.
57
58 We have defended Odesa from destruction. Because the Russian regime is
59 incapable of bringing anything other than degradation. And we will
60 return security to Odesa. Odesa has always been a place where you feel
61 lightness and happiness. Odesa will remain this way. Congratulations
62 on your Day!
63
64 \textsc{Sumy.} Our outpost in the northeast. Every year, on the second Saturday
65 of September, it celebrates its day. And it will always celebrate it
66 as a free, Ukrainian city.
67
68 During these times---the times of war---unfortunately, we often
69 receive reports of Russian terror from Sumy. About shelling, missiles,
70 and bombs. About constant attempts by Russian sabotage groups to
71 infiltrate the region.
72
73 But despite everything, Sumy region is alive. Sumy is alive and gives
74 strength to the entire region. And when I was in the city, I felt that
75 there is faith there. Faith that evil will not prevail. Faith in
76 people. Faith in Ukraine. Faith that we will definitely get through
77 this time. And we will win. It will be so. Sumy, congratulations!
78
79 And the third city---\textsc{Lysychansk.} A city that Ukraine still needs to
80 reclaim along with the entire Luhansk region.
81
82 Today, no one can specify a date when the city will be free again. But
83 everyone who fights and works for Ukraine is doing everything possible
84 so that our cities and villages currently under occupation can once
85 again experience normal and free life.
86
87 Lysychansk has always been one of the pillars of the east of our
88 state, one of the key cities. A proud city! It will remain so. A city
89 that knows how to work and is rightfully proud of its
90 achievements. Together with Ukraine, it's all possible. With our
91 strength, unity, and our ability to take care of each other – all
92 cities together, all villages, all people.
93
94 And one more thing worth mentioning.
95
96 Undoubtedly, we will defend Ukraine and restore freedom to all our
97 land. Each of us feels that this will be a Ukraine with different
98 rules. The borders are the same. Democracy is probably just as
99 turbulent. Freedom is one of the greatest in Europe, as always.
100
101 But without a doubt, there will be no more decades-long ``business as
102 usual'' for those who plundered Ukraine and put themselves above the
103 law and any rules. And I thank the Ukrainian law enforcement for their
104 determination to bring every case stalled for decades to a just
105 conclusion. The law must work. It is so. It will be so.
106
107 \textit{Glory to Ukraine!}
108
109 \device
110
111 \bigskip
112 {\footnotesize From
113 \url{https://www.president.gov.ua/en/news/ciyeyi-suboti-svij-den-vidznachayut-tri-mista-bez-yakih-ne-u-85345},
114 vi\-sited on September 3, 2023.}
115
116
117 \clearpage
118
119 \selectlanguage{ukrainian}
120
121 \section{Звернення Президента Володимира Зеленського, 2 вересня 2023
122 року}
123
124 \textit{Бажаю здоров’я, шановні українці, українки!}
125
126 Цієї суботи три міста відзначають свій день. Міста, без яких не уявити Україну.
127
128 \textsc{Одеса.} Наша опора на півдні, на Чорному морі. Місто, яке разом з
129 Україною має та завжди матиме глобальне значення. Порт, від якого
130 залежить життя різних народів "--- від українського експорту через Велику
131 Одесу. Місто культури, яке вміє бути цікавим для всіх та вміє поважати
132 кожного й кожну.
133
134 Ми захистили Одесу від знищення. Бо нічого іншого, крім деградації,
135 російський режим нездатний принести. І ми повернемо Одесі
136 безпеку. Завжди Одеса була такою, що в ній відчуваєш легкість і
137 щастя. Такою Одеса і буде. Вітаю вас із вашим Днем!
138
139 \textsc{Суми.} Наш форпост на північному сході. Щороку в другу суботу вересня
140 відзначає свій день. І буде відзначати завжди вільним, завжди
141 українським.
142
143 У цей час "--- час війни "--- із Сумщини, на жаль, дуже часто надходять
144 повідомлення про російський терор. Про обстріли, ракети, бомби. Про
145 постійні намагання російських ДРГ зайти в область.
146
147 Але, попри все, Сумщина живе. Суми живуть, дають силу всій області. І
148 коли я був у місті, я відчув, що там є віра. Віра, що зло не стане
149 вищим. Віра в людей. Віра в Україну. Віра в те, що ми обовʼязково
150 пройдемо цей час. І переможемо. Так буде. Суми, вітаю вас!
151
152 І третє місто "--- \textsc{Лисичанськ.} Місто, яке Україні ще належить
153 повернути разом з усією Луганщиною.
154
155 Сьогодні ніхто не назве конкретної дати, коли місто буде знову
156 вільним. Але кожен, хто воює та працює заради України, робить усе
157 можливе, щоб наші міста й села, які зараз в окупації, могли знову
158 відчути нормальне та вільне життя.
159
160 Лисичанськ завжди був однією з опор сходу нашої держави, одним із
161 ключових міст. Горде місто! Таким і буде. Місто, яке вміє працювати та
162 по праву пишається своїми результатами. Разом з Україною це все
163 дається. З нашою силою, нашою єдністю та нашим умінням дбати одне про
164 одного "--- усі міста разом, усі села, усі люди.
165
166 І ще одне, про що варто сказати.
167
168 Безумовно, ми захистимо Україну та повернемо свободу всій землі. І
169 кожен із нас відчує, що це буде Україна інших правил. Кордони "--- ті
170 самі. Демократія "--- напевно, така ж бурхлива. Свобода "--- одна з
171 найбільших у Європі, як і завжди.
172
173 Але точно без багатолітнього «як завжди» щодо тих, хто грабував
174 Україну та ставив себе вище, ніж закон і будь-які правила. І я дякую
175 українським правоохоронцям за рішучість довести до справедливого
176 результату кожну "--- кожну зі справ, які десятиліттями
177 гальмувались. Закон повинен працювати. Так є. Так буде.
178
179 \textit{Слава Україні!}
180
181 \device
182
183
184 \bigskip
185 {\footnotesize З
186 \url{https://www.president.gov.ua/ua/news/ciyeyi-suboti-svij-den-vidznachayut-tri-mista-bez-yakih-ne-u-85345},
187 відвідано 3 вересня 2023 року.\par}
188
189 \clearpage
190
191 \selectlanguage{english}
192 \section{Math from \citep{Hartke06,
193 free-math-font-survey}}
194
195 \textbf{Theorem 1 (Residue Theorem).}
196 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
197 \[
198 \frac{1}{2\pi i}\int_\gamma f = \sum_{k=1}^m n(\gamma;a_k) \text{Res}(f;a_k).
199 \]
200
201 \textbf{Theorem 2 (Maximum Modulus).}
202 \emph{Let $G$ be a bounded open set in $\mathbb{C}$ and suppose that $f$ is a continuous function on $G^-$ which is analytic in $G$. Then}
203 \[
204 \max\{|f(z)|:z\in G^-\}=\max \{|f(z)|:z\in \partial G \}.
205 \]
206
207 \selectlanguage{ukrainian}
208
209 \section{Математика з \citep{Hartke06, free-math-font-survey}}
210
211
212 \textbf{Теорема 1 (Теорема про залишки).}
213 Нехай $f$ аналітична в області $G$ за винятком ізольованих
214 сингулярностей $a_1,a_2,\ldots,a_m$. Якщо $\gamma$ є замкнута крива в $G$, що
215 може бути спрямована, яка не проходить скрізь жодну з точок
216 $a_k$, і якщо $\gamma\approx 0$ в $G$, то
217 \[
218 \frac{1}{2\pi i}\int_\gamma f = \sum_{k=1}^m n(\gamma;a_k) \text{Res}(f;a_k).
219 \]
220
221 \textbf{Теорема 2 (Максимальне значення).}
222 \emph{Нехай $G$ є обмежена множина в $\mathbb{C}$, і нехай $f$ є
223 безперервна функція на $G^-$, аналітична в $G$. Тоді}
224 \[
225 \max\{|f(z)|:z\in G^-\}=\max \{|f(z)|:z\in \partial G \}.
226 \]
227
228 \selectlanguage{english}
229
230 \section{Alphabets}
231
232 \bgroup
233 \setlength{\parindent}{0pt}
234 \setlength{\parskip}{1ex}
235
236 Uppercase and math\\
237 \ABC\quad \textit{\ABC} \quad $\ABC$
238
239 Lowercase and math\\
240 \abc\quad\textit{\abc} \quad $\abc$ \quad 0123456789\quad $01234567890$
241
242 Greek\\
243 $\AlphaBeta$ \quad $\alphabeta$ \quad $\ell\wp\aleph\infty\propto\emptyset\nabla\partial\mho\imath\jmath\hslash\eth$
244
245 Lowercase Greek and math\\
246 $\abc\quad \alphabeta$
247
248 Uppercase Greek and math\\
249 $\ABC\quad \AlphaBeta$
250
251 Greek and misc\\
252 $\mathrm{A} \Lambda \Delta \nabla \mathrm{B C D} \Sigma \mathrm{E F} \Gamma \mathrm{G H I J K L M N O} \Theta \Omega \mho \mathrm{P} \Phi \Pi \Xi \mathrm{Q R S T U V W X Y} \Upsilon \Psi \mathrm{Z} $ $ \quad 1234567890 $
253
254
255 Mathbold\\
256 \textbf{\ABC}\quad $\mathbf{\ABC}$\\
257 \textbf{\abc}\quad $\mathbf{\abc}$
258
259 Math and symbols\\
260 $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$ \linebreak[3] $\infty \propto \emptyset \varnothing \mathrm{d}\eth \backepsilon$
261
262 Mathcal\\
263 $\mathcal{\ABC}$
264
265 Mathbb\\
266 $\mathbb{\ABC}$
267
268 Mathscr\\
269 $\mathscr{\ABC}$
270
271 Uppercase mathfrak\\
272 $\mathfrak{\ABC}$
273
274 Lowercase mathfrak\\
275 $\mathfrak{\abc}$
276
277 Bold math\\
278 {\boldmath $\alpha + b = 27$}
279
280 Primes:
281 $f', f'', f'''$.
282 \egroup
283
284
285
286
287 \section{Font table}
288
289
290 \displayfonttable{Arsenal-Regular.otf}
291
292 \bibliography{arsenal}
293 \bibliographystyle{plainnat}
294
295 \end{document}