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