Debian Codegraph @

texmf-dist/doc/fonts/garamond-libre/garamond-libre.tex

raw
1 \documentclass[12pt]{article}
2 \usepackage[LGR,T2A,T1]{fontenc}
3 \usepackage[utf8]{inputenc}
4 \usepackage[osf]{garamondlibre}
5 \usepackage[expansion,protrusion]{microtype}
6 \usepackage{lipsum}
7
8 \title{Garamond Libre}
9 \date{version 1.4\\[2ex] May 3, 2020}
10 \author{Daniel~Benjamin Miller\thanks{\texttt{dbmiller at dbmiller.org}} \and Bob Tennent\thanks{\texttt{rdt at cs.queensu.ca}}}
11
12 \begin{document}
13 \maketitle
14
15 \section*{Introduction}
16
17 Garamond Libre is a free and open-source old-style font
18 family. It is a ``true Garamond,'' i.e., it is based off the
19 designs of 16th-century French engraver Claude Garamond
20 (also spelled Garamont). The Roman design is Garamond’s;
21 the italics are from a design by Robert Granjon. The upright
22 Greek font is after a design by Firmin Didot; the ``italic''
23 Greek font is after a design by Alexander Wilson. The font
24 family includes support for Latin, Greek (monotonic and
25 polytonic) and Cyrillic scripts, as well as small capitals,
26 old-style figures, superior and inferior figures, historical
27 ligatures, Byzantine musical symbols, the IPA and swash
28 capitals. The fonts are an extended fork based on designs by
29 George Douros.
30
31
32
33 Garamond Libre is based on George Douros' text fonts
34 project. The sources on which these fonts are based were
35 released by their author as free for any use.
36
37 The Type 1 versions of the fonts were created using \texttt{cfftot1}.
38 The support files were created using \texttt{autoinst} and \texttt{otftotfm}
39 and are licensed under the terms of the \LaTeX\ Project Public
40 License.
41 \section*{Licensing}
42 \begin{quote}
43 The OpenType fonts are released under the \textsc{X11}/\textsc{MIT} license
44 and are Copyright © 2019--2020 by Daniel Benjamin Miller.
45
46 Permission is hereby granted, free of charge, to any
47 person obtaining a copy of this software and associated
48 documentation files (the ``Software''), to deal in the
49 Software without restriction, including without limitation
50 the rights to use, copy, modify, merge, publish, distribute,
51 sublicense, and/or sell copies of the Software, and to
52 permit persons to whom the Software is furnished to do so,
53 subject to the following conditions:
54
55 The above copyright notice and this permission notice shall
56 be included in all copies or substantial portions of the
57 Software.
58 \end{quote}
59
60 \pagebreak
61
62 \section*{Samples}
63
64 \subsection*{Regular}
65
66 \lipsum[1]
67
68 \subsection*{Italic}
69 \textit{\lipsum[2]}
70
71 \subsection*{Bold}
72 \textbf{\lipsum[3]}
73
74 \subsection*{Bold Italic}
75 \textbf{\textit{\lipsum[4]}}
76
77 \subsection*{Small Caps}
78 \textsc{\lipsum[5]}
79
80 \subsection*{Italic Small Caps}
81 \textit{\textsc{\lipsum[6]}}
82
83 \subsection*{Swash Capitals}
84
85 \textit{\textsw{ABCDEFGHIJKLMNOPQRSTUVWXYZ}}
86
87 \subsection*{Default Numbers}
88
89 1234567890
90
91 \subsection*{Oldstyle Numbers}
92
93 {\oldstylenums 1234567890}
94
95 \subsection*{Lining Numbers}
96
97 {\liningnums 1234567890}
98
99 \subsection*{Superior Numbers}
100
101 X\textsu{1234567890}
102
103 \subsection*{Inferior Numbers}
104
105 X\textin{1234567890}
106
107
108
109 \subsection*{LGR}
110
111 {\garamondlibrelgr\noindent
112 abgdezhjiklmnxoprstufqyw\\
113 ABGDEZHJIKLMNXOPRSTUFQYW\\
114 0123456789
115 }
116
117
118 \subsection*{Cyrillic}
119
120 {\ifxetex\else\ifluatex\else\fontencoding{T2A}\selectfont\fi\fi
121
122 Съешь ещё этих мягких французских булок да
123 выпей чаю!}
124
125 \subsection*{Ornaments}
126
127 \textornaments{123456789}
128
129 \end{document}