]> Lady’s Gitweb - OldStandard/blob - oldstandard.tex
added (auto-generated) Bold Italic
[OldStandard] / oldstandard.tex
1 \RequirePackage{filecontents}
2 \begin{filecontents*}{\jobname.bib}
3 @software{arabluatex,
4 title = {The arabluatex package},
5 titleaddon = {Arab\TeX\ for Lua\LaTeX},
6 author = {Alessi, Robert},
7 url = {https://ctan.org/pkg/arabluatex},
8 version = {1.17}
9 }
10 @software{babel,
11 title = {The Babel package},
12 titleaddon = {Multilingual support for Plain TeX or LaTeX},
13 author = {Bezos López, Javier and Braams, Johannes L.},
14 url = {http://www.ctan.org/pkg/babel},
15 version = {3.33}
16 }
17 @software{oldstandard,
18 title = {The OldStandard package},
19 titleaddon = {Old Standard: A Unicode Font for Classical and
20 Medieval Studies},
21 author = {Kryukov, Alexey},
22 editor = {Lečić, Nikola and Tennent, Bob},
23 editortype = {compiler},
24 url = {http://www.ctan.org/pkg/oldstandard},
25 version = {2.3}
26 }
27 \end{filecontents*}
28 \documentclass[letterpaper]{article}
29 \usepackage[no-math]{fontspec}
30 \usepackage{fontspec}
31 \usepackage[greek.ancient,english]{babel}
32 \babeltags{grc = greek}
33
34 % \babelfont{rm}[Path = otf/,
35 % ItalicFont={OldStandard-Italic.otf},
36 % BoldFont={OldStandard-Bold.otf},
37 % BoldItalicFont={OldStandard-Italic.otf},
38 % BoldItalicFeatures={RawFeature={+embolden=2}}]{OldStandard-Regular.otf}
39
40 % \babelfont[greek]{rm}[Path = otf/,
41 % RawFeature={+ss05;+ss06},
42 % ItalicFont={OldStandard-Italic.otf},
43 % BoldFont={OldStandard-Bold.otf},
44 % BoldItalicFont={OldStandard-Italic.otf},
45 % BoldItalicFeatures={RawFeature={+embolden=2}}]{OldStandard-Regular.otf}
46
47 \babelfont{rm}[Path = otf/,
48 ItalicFont={OldStandard-Italic.otf},
49 BoldFont={OldStandard-Bold.otf},
50 BoldItalicFont={OldStandard-BoldItalic.otf}]{OldStandard-Regular.otf}
51
52 \babelfont[greek]{rm}[Path = otf/,
53 RawFeature={+ss05;+ss06},
54 ItalicFont={OldStandard-Italic.otf},
55 BoldFont={OldStandard-Bold.otf},
56 BoldItalicFont={OldStandard-BoldItalic.otf}]{OldStandard-Regular.otf}
57
58 \babelfont{tt}{CMU Typewriter Text}
59
60 \newlength\defaultparindent
61 \setlength\defaultparindent{\parindent}
62 \usepackage{dtxdescribe}
63 \setlength\parindent{\defaultparindent}
64
65 \usepackage[xindy]{imakeidx}
66 \indexsetup{noclearpage}
67 \makeindex
68
69 \usepackage{latexcolors}
70 \usepackage{csquotes}
71 \usepackage{varioref}
72 \usepackage{hyperref}
73 \hypersetup{unicode=true, linktocpage=true, colorlinks,
74 allcolors=cinnamon, pdfauthor={Robert Alessi}, pdftitle={Old
75 Standard T}}
76 \usepackage{uri}
77
78 \usepackage{enumitem}
79 \setlist{nosep}
80 \setlist[itemize]{label=\textendash}
81 \setlist[enumerate,1]{label=(\alph*)}
82 \setlist[enumerate,2]{label=\roman*.}
83 \usepackage{metalogox}
84 \usepackage{lettrine}
85 \usepackage{setspace}
86
87 \usepackage{relsize}
88 \usepackage{tikz}
89 \usepackage[breakable, skins, xparse, minted]{tcolorbox}
90 \tcbset{colback=white, boxrule=.15mm, colframe=cinnamon, breakable}
91 \newtcblisting{example}{minted options={linenos, numbersep=0mm,
92 fontsize=\smaller}}
93 \newtcblisting{code}{minted options={linenos, numbersep=0mm,
94 fontsize=\smaller}, listing only}
95
96 \usepackage[fullvoc]{arabluatex}
97 \usepackage[style=oxnotes-inote]{biblatex}
98 \DeclareFieldFormat{postnote}{\mkpageprefix[pagination][\mknormrange]{#1}}
99 \addbibresource{oldstandard.bib}
100 \usepackage[citecmd=autocite,defaultindex=none]{icite}
101 \bibinput{oldstandard}
102
103 \usepackage{cleveref}
104
105 \usepackage[toc]{multitoc}
106
107 \edef\pkgver{2.4}
108 \edef\pkgdate{2019/07/25}
109 \title{\mdseries\tcbox[colframe=black, enhanced, tikznode, drop
110 lifted shadow, colback=white, boxrule=.25mm]%
111 {\textsc{Old Standard}\\
112 \Large
113 A Unicode Font for Classical and Medieval Studies\\
114 \large Based on Alexey Kryukov's original \emph{Old Standard}\\
115 \large v\pkgver -- \pkgdate}}
116
117 \author{Robert Alessi \\
118 \href{mailto:alessi@robertalessi.net?Subject=arabluatex package}%
119 {\texttt{alessi@robertalessi.net}}}
120 \date{}
121
122 \begin{document}
123 \maketitle
124 \footnotesize
125 \tableofcontents
126 \normalsize
127
128 \begin{abstract}
129 This font is just the same as Alexey Kryukov's beautiful \emph{Old
130 Standard}. In comparison to the previous releases of \emph{Old
131 Standard}, it includes new letters and some corrections.
132 \end{abstract}
133
134 \section{License}
135 \label{sec:license}
136 Copyright \textcopyright\ 2006--2011, Alexey Kryukov
137 (\href{mailto:amkryukov@gmail.com}{amkryukov@gmail.com}), without
138 Reserved Font Names.
139 \\
140 Copyright \textcopyright\ 2019, Robert Alessi
141 (\href{mailto:alessi@robertalessi.net}{alessi@robertalessi.net}), without
142 Reserved Font Names.
143
144 Please send error reports and suggestions for improvements to Robert
145 Alessi:
146 \begin{itemize}
147 \item email: \mailto[oldstandard package]{alessi@roberalessi.net}
148 \item website: \url{http://www.robertalessi.net/oldstandard}
149 \item development: \url{http://git.robertalessi.net/oldstandard}
150 \item comments, feature requests, bug reports:
151 \url{https://gitlab.com/ralessi/oldstandard/issues}
152 \end{itemize}
153
154 This Font Software is licensed under the SIL Open Font License,
155 Version 1.1. This license is available with a FAQ at:
156 \url{http://scripts.sil.org/OFL}
157
158 \section{History}
159 \label{sec:history}
160 \emph{Old Standard} is a remarkable creation of Alexey Kryukov,
161 inspired by a typeface most commonly used in books printed in the late
162 \textsc{xix}\textsuperscript{th} and early
163 \textsc{xx}\textsuperscript{th} century. The source files, which can
164 be found online,\footnote{See
165 \url{https://github.com/akryukov/oldstand}} have been published
166 under the terms of the OFL license (see above,
167 \vref{sec:license}). However, at the time of writing, the latest
168 update dates back to Aug.\ 12, 2013. To be more precise, all of the
169 five \enquote*{commits} the writer was able to see were pushed on the
170 very same day. Since then, two \enquote*{pull requests} dating back to
171 2017 have remained unanswered. It is therefore to be feared that the
172 project has been abandoned. To date, this release of \emph{Old
173 Standard} has been published by Nikola Lečić and Bob Tennent and is
174 available on CTAN and {\TeX}Live with a style file.\footnote{See
175 \url{https://ctan.org/pkg/oldstandard}}
176
177 Being unable himself to contact the author, the writer, while in need
178 to have new letters included in \emph{Old Standard} and some issues
179 addressed, took the decision to make a new release \emph{Old Standard}.
180
181 \paragraph{Important disclaimer}
182 The writer is very far from being able to design glyphs \emph{ex
183 nihilo}. That aside, he has some limited knowledge in the use of
184 FontForge, and, as a classicist, he is able to scrutinize how features
185 operate and if they operate as expected.
186
187 \section{Documentation}
188 \label{sec:documentation}
189 No documentation is associated with this release of \emph{Old
190 Standard} as every item of the original extensive documentation
191 applies. The reader should refer to it.\icite{oldstandard}
192
193 \section{Additions and corrections provided}
194 \label{sec:addit-corr-prov}
195 This release of \emph{Old Standard} includes new letters and some
196 corrections:
197 \begin{enumerate}
198 \item Small capitals for Roman, Greek and Cyrillic letters, in all
199 three styles, Regular, Italic and Bold have been added. Small
200 capitals, which are missing from \emph{Old Standard}, were already
201 in use a century ago in fine books which used font faces very
202 similar to \emph{Old Standard}. Typical use cases of small capitals
203 were headers, current headings and in some books proper names.
204 \item The letter G with caron above, that is: Ǧ (\verb|U+01E6|,
205 uppercase) and ǧ (\verb|U+01E7|, lowercase) has been added. It is
206 the only character missing from \emph{Old Standard} that is needed
207 in some of the accepted standards of romanization of classical
208 Arabic. See for references the current documentation of the
209 \textsf{arabluatex} package.\footnote{\icite{arabluatex}[cite], sect{.}
210 \enquote{Transliteration}.}
211 \item Additionally, this release corrects the \verb|+ss06| feature
212 which is supposed to distinguish between regular and
213 \enquote*{curled} beta (β/ϐ) and to print \enquote*{curled} beta
214 (\verb|U+03D0|) in medial position. This feature worked in most
215 cases with the previous releases. However, it failed if the beta was
216 preceded by a vowel with an acute accent taken from the Greek
217 extended Unicode block.
218 \end{enumerate}
219
220 \section{Usage}
221 \label{sec:usage}
222 \emph{Old Standard} works with \TeX\ engines that directly support
223 OpenType features such as \XeTeX\ and \LuaTeX.
224
225 It is loaded with \pkg{fontspec} like so:---
226 \begin{code}
227 \usepackage{fontspec}
228 \setmainfont{Old Standard}
229 \end{code}
230
231 \paragraph{Small capitals}
232 Small capitals have been added for the following languages or
233 transcription schemes: French, German, Italian, Spanish, unaccented
234 Greek, basic Russian and Arabic \enquote*{DMG}.
235
236 The following two examples demonstrate the use of small capitals:---
237 \begin{tcblisting}{minted language=latex, title=Initials, minted
238 options={fontsize=\smaller, linenos, numbersep=0mm,
239 highlightlines={7}}}
240 \begin{center}
241 CHAPTER I
242
243 MR.\ SHERLOCK HOLMES
244 \end{center}
245
246 \lettrine[loversize=0.2]{M}{r.\ Sherlock Holmes}, who was usually
247 very late in the mornings, save upon those not infrequent occasions
248 when he stayed up all night, was seated at the breakfast table. I
249 stood upon the hearth-rug and picked up the stick which our visitor
250 had left behind him the night before. It was a fine, thick piece of
251 wood, bulbous-headed, of the sort which is known as a
252 \enquote{Penang lawyer.} Just under the head was a broad silver
253 band, nearly an inch across. \enquote{To James Mortimer, M.R.C.S.,
254 from his friends of the C.C.H.,} was engraved upon it, with the
255 date \enquote{1884.} It was just such a stick as the old-fashioned
256 family practitioner used to carry—dignified, solid, and reassuring.
257 \end{tcblisting}
258
259 \begin{tcblisting}{minted language=latex, title=Headings, minted
260 options={linenos, numbersep=0mm, fontsize=\smaller,
261 highlightlines={11}}}
262 \doublespacing
263 \begin{center}
264 \textlarger{PART SECOND}.
265
266 ETYMOLOGY OR THE PART OF THE SPEECH.
267
268 \rule{1in}{0.4pt}
269
270 I. THE VERB, \arb{al-fi`lu}.
271
272 A. \textsc{General View}.
273
274 1. \emph{The Forms of the Triliteral Verb}.
275 \end{center}
276 \end{tcblisting}
277
278 \paragraph{The letter \enquote*{ǧ}} It is used notably to print
279 romanized Arabic. \emph{Old Standard} now features this letter in all
280 of the three styles (Regular, Italic and Bold):---
281 \begin{tcblisting}{minted language=latex, minted
282 options={fontsize=\smaller, linenos, numbersep=0mm,
283 highlightlines={3,6,9}}}
284 \begin{arab}[trans]
285 \begin{center}
286 \textbf{da^gA^gaTu \uc{'a}bI 'l-\uc{h}u_dayli 'l-\uc{`a}llAfi}
287 \end{center}
288 kAna \uc{'a}bU 'l-\uc{h}u_dayli 'ahd_A 'il_A \uc{m}uwaysiN
289 da^gA^gaTaN. wa-kAnat da^gA^gatu-hu 'llatI 'ahdA-hA dUna mA kAna
290 yuttaxa_du li-\uc{m}uwaysiN.
291
292 (\uc{al-^gA.hi.zu}, \aemph{\uc{k}itAbu 'l-\uc{b}u_halA'i})
293 \end{arab}
294 \end{tcblisting}
295
296 \paragraph{\texttt{+ss06} OpenType feature} It is commonly believed
297 that all Greek vowels with acute accent taken from the Greek Extended
298 Unicode block \verb|1F00–1FFF| along with standalone acute accents
299 were duplicated from the Greek and Coptic Unicode block. Affected
300 characters from the Greek Extended Unicode block (\verb|037003FF|)
301 follow: \textgrc{ά, έ, ή, ί, ό, ύ, ώ, Ά, Έ, Ή, Ί, Ό, Ύ, Ώ, ΐ, ΰ, ´,
302}. The counterparts of these letters in the Greek and Coptic
303 Unicode block are vowels with \emph{tonoi}.
304
305 However, strictly speaking, \emph{tonos} is not to be mistaken for
306 \enquote*{acute}: that is for sure, as \emph{tonos} was introduced as
307 a result of a reform to denote a tone, namely a stress on some vowels,
308 and not a pitch, namely a rising and falling voice on accented vowels.
309 Confusion began when the Greek government decreed that \emph{tonos}
310 shall be the acute. From what the writer could see, many Greek fonts
311 originally reflected the distinction between \emph{tonos} and acute.
312 But nowadays, they simply mix them up. As a result of this confusion,
313 in \emph{Old Standard}, vowels with acute were simply missing from the
314 Greek Extended Block. All of them, including the standalone accents,
315 have been restored. Furthermore, the rule that instructed to absorb
316 vowels with acute into vowels with \emph{tonos} has been removed.
317
318 Since assigning vowels with \emph{tonos} and vowels with acute to the
319 same code points is clearly unacceptable even if the glyphs are
320 identical, it is now possible in \emph{Old Standard} to input all
321 accented vowels from the Greek Extended Unicode block exclusively and
322 have the substitution rules applied at the same time, as shown by the
323 example that follows:---
324 \begin{tcblisting}{minted language=latex, minted
325 options={fontsize=\smaller, linenos, numbersep=0mm,
326 highlightlines={9-10}}}
327 \begin{grc}
328 \begin{center}
329 \textlarger{ΙΠΠΟΚΡΑΤΟΥΣ ΕΠΙΔΗΜΙΩΝ ΤΟ ΔΕΥΤΕΡΟΝ}.
330
331 ΤΜΗΜΑ ΠΡΩΤΟΝ.
332 \end{center}
333
334 \textbf{1.} Ἄνθρακες θερινοὶ ἐν Κραννῶνι· ὗεν ἐν καύμασιν ὕδατι
335 λάβρῳ δι’ ὅλου καὶ ἐγίνετο μᾶλλον νότῳ, [καὶ] ὑπογίνονται μὲν ἐν
336 τῷ δέρματι ἰχῶρες· ἐγκαταλαμβανόμενοι δέ, θερμαίνονται, καὶ
337 κνησμὸν ἐμποιέουσιν· εἶτα φλυκταινίδες ὥσπερ πυρίκαυστοι
338 ἐπανίσταντο καὶ ὑπὸ τὸ δέρμα καίεσθαι ἐδόκεον.
339 \end{grc}
340 \end{tcblisting}
341
342 \subsection{Bold Italic shape}
343 \label{sec:bold-italic-shape}
344 \emph{Old Standard} does not feature a bold italic shape. However,
345 both \XeTeX\ and \LuaTeX\ engines can emulate this shape as shown in
346 the following two examples:
347
348 \begin{tcblisting}{minted options={linenos, numbersep=0mm,
349 fontsize=\smaller}, listing only, title=\XeLaTeX}
350 \usepackage{fontspec}
351 \setmainfont{Old Standard}[
352 BoldItalicFont={Old Standard Italic},
353 BoldItalicFeatures={FakeBold=1.5}]
354 \end{tcblisting}
355
356 \begin{tcblisting}{minted options={linenos, numbersep=0mm,
357 fontsize=\smaller}, listing only, title=\LuaLaTeX}
358 \usepackage{fontspec}
359 \setmainfont{Old Standard}[
360 BoldItalicFont={Old Standard Italic},
361 BoldItalicFeatures={RawFeature={+embolden=2}}]
362 \end{tcblisting}
363
364 \subsection{Using \emph{Old Standard} in multilingual
365 documents}
366 \label{sec:using-old-standard}
367 \pkg{babel} provides a high level interface on top of \pkg{fontspec}
368 to select fonts depending on the languages to be used.\icite[For more
369 information, the reader should refer to][10,24]{babel} As an example,
370 here is how \emph{Old Standard} has been loaded in the preamble of
371 this document to be compiled with \LuaLaTeX:---
372 \begin{code}
373 \usepackage[no-math]{fontspec}
374 \usepackage{fontspec}
375 \usepackage[greek.ancient,english]{babel}
376 \babeltags{grc = greek}
377
378 \babelfont{rm}[BoldItalicFont={Old Standard Italic},
379 BoldItalicFeatures={RawFeature={+embolden=2}}]{Old Standard}
380
381 \babelfont[greek]{rm}[RawFeature={+ss05;+ss06},
382 BoldItalicFont={Old Standard Italic},
383 BoldItalicFeatures={RawFeature={+embolden=2}}]{Old Standard}
384 \end{code}
385
386 Then, once \emph{Old Standard} has been loaded with \cs{babelfont}
387 properly,
388 \begin{enumerate}
389 \item \cs{textgrc}\marg{Greek text} can be used for short insertions
390 of Greek text.
391 \item \verb|\begin{grc}| ... \verb|\end{grc}| can be used for
392 inserting running paragraphs of Greek text.
393 \end{enumerate}
394
395 \end{document}
This page took 0.527515 seconds and 5 git commands to generate.