diff options
author | Robert Alessi <alessi@robertalessi.net> | 2019-07-24 13:06:40 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2019-07-24 13:06:40 +0200 |
commit | a55903b9a24c7eaa84063cae5eede626c01b11b8 (patch) | |
tree | c5cce6eb3f54b8c5b16db0f2cc0b757a4ed3c78d /oldstandard-t.tex | |
parent | a6ce8020744da57541b1a4611e501f16e306026b (diff) | |
download | oldstandard-a55903b9a24c7eaa84063cae5eede626c01b11b8.tar.gz |
done documenting
Diffstat (limited to 'oldstandard-t.tex')
-rw-r--r-- | oldstandard-t.tex | 224 |
1 files changed, 156 insertions, 68 deletions
diff --git a/oldstandard-t.tex b/oldstandard-t.tex index b5d1154..d5cc755 100644 --- a/oldstandard-t.tex +++ b/oldstandard-t.tex | |||
@@ -7,6 +7,13 @@ | |||
7 | url = {https://ctan.org/pkg/arabluatex}, | 7 | url = {https://ctan.org/pkg/arabluatex}, |
8 | version = {1.17} | 8 | version = {1.17} |
9 | } | 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 | } | ||
10 | @software{oldstandard, | 17 | @software{oldstandard, |
11 | title = {The OldStandard package}, | 18 | title = {The OldStandard package}, |
12 | titleaddon = {Old Standard: A Unicode Font for Classical and | 19 | titleaddon = {Old Standard: A Unicode Font for Classical and |
@@ -33,16 +40,25 @@ BoldItalicFeatures={RawFeature={+embolden=2}}]{Old Standard T} | |||
33 | 40 | ||
34 | \babelfont{tt}{CMU Typewriter Text} | 41 | \babelfont{tt}{CMU Typewriter Text} |
35 | 42 | ||
43 | \newlength\defaultparindent | ||
44 | \setlength\defaultparindent{\parindent} | ||
36 | \usepackage{dtxdescribe} | 45 | \usepackage{dtxdescribe} |
46 | \setlength\parindent{\defaultparindent} | ||
47 | |||
37 | \usepackage[xindy]{imakeidx} | 48 | \usepackage[xindy]{imakeidx} |
38 | \indexsetup{noclearpage} | 49 | \indexsetup{noclearpage} |
39 | \makeindex | 50 | \makeindex |
40 | \renewcommand{\pkg}[1]{\textsf{#1}\index{#1 (package)}} | ||
41 | 51 | ||
52 | \usepackage{latexcolors} | ||
42 | \usepackage{csquotes} | 53 | \usepackage{csquotes} |
54 | \usepackage{xurl} | ||
55 | \usepackage{uri} | ||
43 | \usepackage{varioref} | 56 | \usepackage{varioref} |
44 | \usepackage{hyperref} | 57 | \usepackage{hyperref} |
45 | \hypersetup{unicode=true, linktocpage=true, colorlinks, hidelinks} | 58 | \hypersetup{unicode=true, linktocpage=true, colorlinks, |
59 | allcolors=cinnamon, pdfauthor={Robert Alessi}, pdftitle={Old | ||
60 | Standard T}} | ||
61 | |||
46 | \usepackage{enumitem} | 62 | \usepackage{enumitem} |
47 | \setlist{nosep} | 63 | \setlist{nosep} |
48 | \setlist[itemize]{label=\textendash} | 64 | \setlist[itemize]{label=\textendash} |
@@ -55,51 +71,22 @@ BoldItalicFeatures={RawFeature={+embolden=2}}]{Old Standard T} | |||
55 | \usepackage{relsize} | 71 | \usepackage{relsize} |
56 | \usepackage{tikz} | 72 | \usepackage{tikz} |
57 | \usepackage[breakable, skins, xparse, minted]{tcolorbox} | 73 | \usepackage[breakable, skins, xparse, minted]{tcolorbox} |
58 | \tcbset{colback=white, boxrule=.15mm, colframe=red!50!white, | 74 | \tcbset{colback=white, boxrule=.15mm, colframe=cinnamon, breakable} |
59 | breakable} | ||
60 | \newtcblisting{example}{minted options={linenos, numbersep=0mm, | 75 | \newtcblisting{example}{minted options={linenos, numbersep=0mm, |
61 | fontsize=\smaller}} | 76 | fontsize=\smaller}} |
62 | \newtcblisting{code}{minted options={linenos, numbersep=0mm, | 77 | \newtcblisting{code}{minted options={linenos, numbersep=0mm, |
63 | fontsize=\smaller}, listing | 78 | fontsize=\smaller}, listing only} |
64 | only} | ||
65 | 79 | ||
66 | \usepackage{latexcolors} | ||
67 | \usepackage[fullvoc]{arabluatex} | 80 | \usepackage[fullvoc]{arabluatex} |
68 | \usepackage{teubner} | ||
69 | \usepackage[style=oxnotes-inote]{biblatex} | 81 | \usepackage[style=oxnotes-inote]{biblatex} |
70 | \DeclareFieldFormat{postnote}{\mkpageprefix[pagination][\mknormrange]{#1}} | 82 | \DeclareFieldFormat{postnote}{\mkpageprefix[pagination][\mknormrange]{#1}} |
71 | \addbibresource{oldstandard-t.bib} | 83 | \addbibresource{oldstandard-t.bib} |
72 | \usepackage[citecmd=autocite]{icite} | 84 | \usepackage[citecmd=autocite,defaultindex=none]{icite} |
73 | \bibinput{oldstandard-t} | 85 | \bibinput{oldstandard-t} |
74 | 86 | ||
75 | \usepackage{cleveref} | 87 | \usepackage{cleveref} |
76 | 88 | ||
77 | \usepackage{etoc} | 89 | \usepackage[toc]{multitoc} |
78 | \etocsettocdepth{paragraph} | ||
79 | \newcommand{\altableofcontents}{% | ||
80 | \begingroup | ||
81 | \etocsetstyle{section}{}{} | ||
82 | {\etocsavedsectiontocline{% | ||
83 | \numberline{\etocnumber}\etocname}{\etocpage}}{} | ||
84 | \etocsetstyle{subsection}{}{} | ||
85 | {\etocsavedsubsectiontocline{% | ||
86 | \numberline{\etocnumber}\etocname}{\etocpage}}{}% | ||
87 | \etocsetstyle{subsubsection}{}{} | ||
88 | {\etocsavedsubsubsectiontocline{% | ||
89 | \numberline{\etocnumber}\etocname}{\etocpage}}{}% | ||
90 | \etocsetstyle{paragraph}{}{\leftskip2cm\rightskip 2.2em \parfillskip | ||
91 | 0pt plus 1fil\relax \nobreak} | ||
92 | {\noindent\etocname{} \etocpage{} }{\par}% | ||
93 | \etocmulticolstyle[2]{\section*{Contents}} | ||
94 | \pdfbookmark[1]{Contents}{toc} | ||
95 | \tableofcontents | ||
96 | \endgroup} | ||
97 | |||
98 | % url = https://gitlab.com/ralessi/oldstandard_t, | ||
99 | % % | ||
100 | % abstract = {This font is just the same as Alexey Kryukov's beautiful | ||
101 | % \emph{Old Standard}. In comparison to \emph{Old Standard}, | ||
102 | % \emph{Old Standard T} includes new letters and some corrections.} | ||
103 | 90 | ||
104 | \title{\mdseries\tcbox[colframe=black, enhanced, tikznode, drop | 91 | \title{\mdseries\tcbox[colframe=black, enhanced, tikznode, drop |
105 | lifted shadow, colback=white, boxrule=.25mm]% | 92 | lifted shadow, colback=white, boxrule=.25mm]% |
@@ -117,7 +104,7 @@ BoldItalicFeatures={RawFeature={+embolden=2}}]{Old Standard T} | |||
117 | \begin{document} | 104 | \begin{document} |
118 | \maketitle | 105 | \maketitle |
119 | \footnotesize | 106 | \footnotesize |
120 | \altableofcontents | 107 | \tableofcontents |
121 | \normalsize | 108 | \normalsize |
122 | 109 | ||
123 | \begin{abstract} | 110 | \begin{abstract} |
@@ -136,6 +123,16 @@ Copyright \textcopyright\ 2019, Robert Alessi | |||
136 | (\href{mailto:alessi@robertalessi.net}{alessi@robertalessi.net}), without | 123 | (\href{mailto:alessi@robertalessi.net}{alessi@robertalessi.net}), without |
137 | Reserved Font Names. | 124 | Reserved Font Names. |
138 | 125 | ||
126 | Please send error reports and suggestions for improvements to Robert | ||
127 | Alessi: | ||
128 | \begin{itemize} | ||
129 | \item email: \mailto[oldstandard-t package]{alessi@roberalessi.net} | ||
130 | \item website: \url{http://www.robertalessi.net/oldstandard\_t} | ||
131 | \item development: \url{http://git.robertalessi.net/oldstandard\_t} | ||
132 | \item comments, feature requests, bug reports: | ||
133 | \url{https://gitlab.com/ralessi/oldstandard\_t/issues} | ||
134 | \end{itemize} | ||
135 | |||
139 | This Font Software is licensed under the SIL Open Font License, | 136 | This Font Software is licensed under the SIL Open Font License, |
140 | Version 1.1. This license is available with a FAQ at: | 137 | Version 1.1. This license is available with a FAQ at: |
141 | \url{http://scripts.sil.org/OFL} | 138 | \url{http://scripts.sil.org/OFL} |
@@ -150,15 +147,13 @@ be found online,\footnote{See | |||
150 | \url{https://github.com/akryukov/oldstand}} have been published | 147 | \url{https://github.com/akryukov/oldstand}} have been published |
151 | under the terms of the OFL license (see above, | 148 | under the terms of the OFL license (see above, |
152 | \vref{sec:license}). However, at the time of writing, the latest | 149 | \vref{sec:license}). However, at the time of writing, the latest |
153 | update dates back to Aug. 12, 2013. To be more precise, all of the | 150 | update dates back to Aug.\ 12, 2013. To be more precise, all of the |
154 | five \enquote*{commits} the writer was able to see were pushed on the | 151 | five \enquote*{commits} the writer was able to see were pushed on the |
155 | very same day. Since then, two \enquote*{pull requests} dating back to | 152 | very same day. Since then, two \enquote*{pull requests} dating back to |
156 | 2017 have been remained unanswered. It is therefore to be feared that | 153 | 2017 have been remained unanswered. It is therefore to be feared that |
157 | the project has been abandoned. | 154 | the project has been abandoned. To date, this release of \emph{Old |
158 | 155 | Standard} has been published by Nikola Lečić and Bob Tennent and is | |
159 | To date, this release of \emph{Old Standard} has been published by | 156 | available on CTAN and {\TeX}Live with a style file.\footnote{See |
160 | Nikola Lečić and Bob Tennent and is available on CTAN and {\TeX}Live | ||
161 | with a style file.\footnote{See | ||
162 | \url{https://ctan.org/pkg/oldstandard}} | 157 | \url{https://ctan.org/pkg/oldstandard}} |
163 | 158 | ||
164 | Being unable himself to contact the author, the writer, while in need | 159 | Being unable himself to contact the author, the writer, while in need |
@@ -183,7 +178,7 @@ item of the original extensive documentation applies. The reader | |||
183 | should refer to it.\icite{oldstandard} | 178 | should refer to it.\icite{oldstandard} |
184 | 179 | ||
185 | \section{Additions and corrections provided by | 180 | \section{Additions and corrections provided by |
186 | Old Stan\-dard~T} | 181 | \emph{Old Standard~T}} |
187 | \label{sec:addit-corr-prov} | 182 | \label{sec:addit-corr-prov} |
188 | \emph{Old Standard T} includes new letters and some corrections: | 183 | \emph{Old Standard T} includes new letters and some corrections: |
189 | \begin{enumerate} | 184 | \begin{enumerate} |
@@ -198,7 +193,7 @@ should refer to it.\icite{oldstandard} | |||
198 | the only character missing from \emph{Old Standard} that is needed | 193 | the only character missing from \emph{Old Standard} that is needed |
199 | in some of the accepted standards of romanization of classical | 194 | in some of the accepted standards of romanization of classical |
200 | Arabic. See for references the current documentation of the | 195 | Arabic. See for references the current documentation of the |
201 | \pkg{arabluatex} package.\footnote{\icite{arabluatex}[cite], sect{.} | 196 | \textsf{arabluatex} package.\footnote{\icite{arabluatex}[cite], sect{.} |
202 | \enquote{Transliteration}.} | 197 | \enquote{Transliteration}.} |
203 | \item Additionally, \emph{Old Standard T} corrects the \verb|+ss06| | 198 | \item Additionally, \emph{Old Standard T} corrects the \verb|+ss06| |
204 | feature provided by \emph{Old Standard}. This feature is supposed to | 199 | feature provided by \emph{Old Standard}. This feature is supposed to |
@@ -221,15 +216,21 @@ It is loaded with \pkg{fontspec} like so:--- | |||
221 | \end{code} | 216 | \end{code} |
222 | 217 | ||
223 | \paragraph{Small capitals} | 218 | \paragraph{Small capitals} |
224 | The following example demonstrates the use of small capitals:--- | 219 | Small capitals have been added in \emph{Old Standard T} for the |
225 | \begin{example} | 220 | following languages or transcription schemes: French, German, Italian, |
221 | Spanish, unaccented Greek, basic Russian and Arabic \enquote*{DMG}. | ||
222 | |||
223 | The following two examples demonstrate the use of small capitals:--- | ||
224 | \begin{tcblisting}{minted language=latex, title=Initials, minted | ||
225 | options={fontsize=\smaller, linenos, numbersep=0mm, | ||
226 | highlightlines={7}}} | ||
226 | \begin{center} | 227 | \begin{center} |
227 | CHAPTER I | 228 | CHAPTER I |
228 | 229 | ||
229 | MR. SHERLOCK HOLMES | 230 | MR.\ SHERLOCK HOLMES |
230 | \end{center} | 231 | \end{center} |
231 | 232 | ||
232 | \lettrine[loversize=0.2]{M}{r. Sherlock Holmes}, who was usually | 233 | \lettrine[loversize=0.2]{M}{r.\ Sherlock Holmes}, who was usually |
233 | very late in the mornings, save upon those not infrequent occasions | 234 | very late in the mornings, save upon those not infrequent occasions |
234 | when he stayed up all night, was seated at the breakfast table. I | 235 | when he stayed up all night, was seated at the breakfast table. I |
235 | stood upon the hearth-rug and picked up the stick which our visitor | 236 | stood upon the hearth-rug and picked up the stick which our visitor |
@@ -240,10 +241,11 @@ The following example demonstrates the use of small capitals:--- | |||
240 | from his friends of the C.C.H.,} was engraved upon it, with the | 241 | from his friends of the C.C.H.,} was engraved upon it, with the |
241 | date \enquote{1884.} It was just such a stick as the old-fashioned | 242 | date \enquote{1884.} It was just such a stick as the old-fashioned |
242 | family practitioner used to carry—dignified, solid, and reassuring. | 243 | family practitioner used to carry—dignified, solid, and reassuring. |
243 | \end{example} | 244 | \end{tcblisting} |
244 | 245 | ||
245 | Another example follows:--- | 246 | \begin{tcblisting}{minted language=latex, title=Headings, minted |
246 | \begin{example} | 247 | options={linenos, numbersep=0mm, fontsize=\smaller, |
248 | highlightlines={11}}} | ||
247 | \doublespacing | 249 | \doublespacing |
248 | \begin{center} | 250 | \begin{center} |
249 | \textlarger{PART SECOND}. | 251 | \textlarger{PART SECOND}. |
@@ -258,38 +260,124 @@ Another example follows:--- | |||
258 | 260 | ||
259 | 1. \emph{The Forms of the Triliteral Verb}. | 261 | 1. \emph{The Forms of the Triliteral Verb}. |
260 | \end{center} | 262 | \end{center} |
261 | \end{example} | 263 | \end{tcblisting} |
262 | 264 | ||
263 | \paragraph{The letter \enquote*{ǧ}} It is used notably to print | 265 | \paragraph{The letter \enquote*{ǧ}} It is used notably to print |
264 | romanized Arabic:--- | 266 | romanized Arabic. \emph{Old Standard T} now features this letter in |
265 | \begin{example} | 267 | all of the three styles (Regular, Italic and Bold):--- |
268 | \begin{tcblisting}{minted language=latex, minted | ||
269 | options={fontsize=\smaller, linenos, numbersep=0mm, | ||
270 | highlightlines={3,6,9}}} | ||
266 | \begin{arab}[trans] | 271 | \begin{arab}[trans] |
267 | \begin{center} | 272 | \begin{center} |
268 | \textbf{dajAjaTu \uc{'a}bI 'l-\uc{h}u_dayli 'l-\uc{`a}llAfi} | 273 | \textbf{da^gA^gaTu \uc{'a}bI 'l-\uc{h}u_dayli 'l-\uc{`a}llAfi} |
269 | \end{center} | 274 | \end{center} |
270 | kAna \uc{'a}bU 'l-\uc{h}u_dayli 'ahd_A 'il_A \uc{m}uwaysiN | 275 | kAna \uc{'a}bU 'l-\uc{h}u_dayli 'ahd_A 'il_A \uc{m}uwaysiN |
271 | dajAjaTaN. wa-kAnat dajAjatu-hu 'llatI 'ahdA-hA dUna mA kAna | 276 | da^gA^gaTaN. wa-kAnat da^gA^gatu-hu 'llatI 'ahdA-hA dUna mA kAna |
272 | yuttaxa_du li-\uc{m}uwaysiN. | 277 | yuttaxa_du li-\uc{m}uwaysiN. |
273 | 278 | ||
274 | (\uc{al-jA.hi.zu}, \aemph{\uc{k}itAbu 'l-\uc{b}u_halA'i}) | 279 | (\uc{al-^gA.hi.zu}, \aemph{\uc{k}itAbu 'l-\uc{b}u_halA'i}) |
275 | \end{arab} | 280 | \end{arab} |
276 | \end{example} | 281 | \end{tcblisting} |
277 | 282 | ||
278 | \begin{example} | 283 | \paragraph{\texttt{+ss06} OpenType feature} It is commonly believed |
284 | that all Greek vowels with acute accent taken from the Greek Extended | ||
285 | Unicode block \verb|1F00–1FFF| along with standalone acute accents | ||
286 | were duplicated from the Greek and Coptic Unicode block. Affected | ||
287 | characters from the Greek Extended Unicode block (\verb|0370–03FF|) | ||
288 | follow: \textgrc{ά, έ, ή, ί, ό, ύ, ώ, Ά, Έ, Ή, Ί, Ό, Ύ, Ώ, ΐ, ΰ, ´, | ||
289 | ΅}. The counterparts of these letters in the Greek and Coptic | ||
290 | Unicode block are vowels with \emph{tonoi}. | ||
291 | |||
292 | However, strictly speaking, \emph{tonos} is not to be mistaken for | ||
293 | \enquote*{acute}: that is for sure, as \emph{tonos} was introduced as | ||
294 | a result of a reform to denote a tone, namely a stress on some vowels, | ||
295 | and not a pitch, namely a rising and falling voice on accented vowels. | ||
296 | Confusion began when the Greek government decreed that \emph{tonos} | ||
297 | shall be the acute. From what the writer could see, many Greek fonts | ||
298 | originally reflected the distinction between \emph{tonos} and acute. | ||
299 | But nowadays, they simply mix them up. As a result of this confusion, | ||
300 | in \emph{Old Standard}, vowels with acute were simply missing from the | ||
301 | Greek Extended Block. All of them, including the standalone accents, | ||
302 | have been restored in \emph{Old Standard T}. Furthermore, the rule | ||
303 | that instructed to absorb vowels with acute into vowels with | ||
304 | \emph{tonos} has been removed. | ||
305 | |||
306 | Since assigning vowels with \emph{tonos} and vowels with acute to the | ||
307 | same code points is clearly unacceptable even if the glyphs are | ||
308 | identical, it is now possible in \emph{Old Standard T} to input all | ||
309 | accented vowels from the Greek Extended Unicode block exclusively and | ||
310 | have the substitution rules applied at the same time, as shown by the | ||
311 | example that follows:--- | ||
312 | \begin{tcblisting}{minted language=latex, minted | ||
313 | options={fontsize=\smaller, linenos, numbersep=0mm, | ||
314 | highlightlines={9-10}}} | ||
279 | \begin{grc} | 315 | \begin{grc} |
280 | \begin{center} | 316 | \begin{center} |
281 | \textlarger{ΕΠΙΔΗΜΙΩΝ ΤΟ ΔΕΥΤΕΡΟΝ}. | 317 | \textlarger{ΠΠΟΚΡΑΤΟΥΣ ΠΙΔΗΜΙΩΝ ΤΟ ΔΕΥΤΕΡΟΝ}. |
282 | 318 | ||
283 | ΤΜΗΜΑ ΠΡΩΤΟΝ. | 319 | ΤΜΗΜΑ ΠΡΩΤΟΝ. |
284 | \end{center} | 320 | \end{center} |
285 | 321 | ||
286 | \textbf{1} Ἄνθρακες θερινοὶ ἐν Κραννῶνι· ὗεν ἐν καύμασιν ὕδατι | 322 | \textbf{1.} Ἄνθρακες θερινοὶ ἐν Κραννῶνι· ὗεν ἐν καύμασιν ὕδατι |
287 | λάβρῳ δι' ὅλου καὶ ἐγίνετο μᾶλλον νότῳ, [καὶ] ὑπογίνονται μὲν ἐν | 323 | λάβρῳ δι’ ὅλου καὶ ἐγίνετο μᾶλλον νότῳ, [καὶ] ὑπογίνονται μὲν ἐν |
288 | τῷ δέρματι ἰχῶρες· ἐγκαταλαμβανόμενοι δέ, θερμαονται, καὶ | 324 | τῷ δέρματι ἰχῶρες· ἐγκαταλαμβανόμενοι δέ, θερμαίνονται, καὶ |
289 | κνησμὸν ἐμπουσιν· εἶτα φλυκταινες ὥσπερ πυραυστοι | 325 | κνησμὸν ἐμποέουσιν· εἶτα φλυκταινίδες ὥσπερ πυρίκαυστοι |
290 | ἐπανίσταντο καὶ ὑπὸ τὸ δέρμα κασθαι ἐδόκεον. | 326 | ἐπανίσταντο καὶ ὑπὸ τὸ δέρμα καίεσθαι ἐδόκεον. |
291 | \end{grc} | 327 | \end{grc} |
292 | \end{example} | 328 | \end{tcblisting} |
329 | |||
330 | \subsection{Bold Italic shape} | ||
331 | \label{sec:bold-italic-shape} | ||
332 | As \emph{Old Standard}, \emph{Old Standard T} does not feature a bold | ||
333 | italic shape. However, both \XeTeX\ and \LuaTeX\ engines can emulate | ||
334 | this shape as shown in the following two examples: | ||
335 | |||
336 | \begin{tcblisting}{minted options={linenos, numbersep=0mm, | ||
337 | fontsize=\smaller}, listing only, title=\XeLaTeX} | ||
338 | \usepackage{fontspec} | ||
339 | \setmainfont{Old Standard T}[ | ||
340 | BoldItalicFont={Old Standard T Italic}, | ||
341 | BoldItalicFeatures={FakeBold=1.5}] | ||
342 | \end{tcblisting} | ||
343 | |||
344 | \begin{tcblisting}{minted options={linenos, numbersep=0mm, | ||
345 | fontsize=\smaller}, listing only, title=\LuaLaTeX} | ||
346 | \usepackage{fontspec} | ||
347 | \setmainfont{Old Standard T}[ | ||
348 | BoldItalicFont={Old Standard T Italic}, | ||
349 | BoldItalicFeatures={RawFeature={+embolden=2}}] | ||
350 | \end{tcblisting} | ||
351 | |||
352 | \subsection{Using \emph{Old Standard T} in multilingual | ||
353 | documents} | ||
354 | \label{sec:using-old-standard} | ||
355 | \pkg{babel} provides a high level interface on top of \pkg{fontspec} | ||
356 | to select fonts depending on the languages to be used.\icite[For more | ||
357 | information, the reader should refer to][10,24]{babel} As an example, | ||
358 | here is how \emph{Old Standard T} has been loaded in the preamble of | ||
359 | this document to be compiled with \LuaLaTeX:--- | ||
360 | \begin{code} | ||
361 | \usepackage[no-math]{fontspec} | ||
362 | \usepackage{fontspec} | ||
363 | \usepackage[greek.ancient,english]{babel} | ||
364 | \babeltags{grc = greek} | ||
365 | |||
366 | \babelfont{rm}[BoldItalicFont={Old Standard T Italic}, | ||
367 | BoldItalicFeatures={RawFeature={+embolden=2}}]{Old Standard T} | ||
368 | |||
369 | \babelfont[greek]{rm}[RawFeature={+ss05;+ss06}, | ||
370 | BoldItalicFont={Old Standard T Italic}, | ||
371 | BoldItalicFeatures={RawFeature={+embolden=2}}]{Old Standard T} | ||
372 | \end{code} | ||
373 | |||
374 | Then, once \emph{Old Standard T} has been loaded with \cs{babelfont} | ||
375 | properly, | ||
376 | \begin{enumerate} | ||
377 | \item \cs{textgrc}\marg{Greek text} can be used for short insertions | ||
378 | of Greek text. | ||
379 | \item \verb|\begin{grc}| ... \verb|\end{grc}| can be used for | ||
380 | inserting running paragraphs of Greek text. | ||
381 | \end{enumerate} | ||
293 | 382 | ||
294 | \printindex | ||
295 | \end{document} | 383 | \end{document} |