| 1 |
\documentclass{article} |
| 2 |
\usepackage[T2A,T1]{fontenc} |
| 3 |
\usepackage{CormorantGaramond} |
| 4 |
\usepackage{lipsum} |
| 5 |
\begin{document} |
| 6 |
|
| 7 |
\begin{center}\huge |
| 8 |
\textbf{Cormorant Garamond} |
| 9 |
\end{center} |
| 10 |
|
| 11 |
\subsection*{Regular} |
| 12 |
|
| 13 |
\lipsum[1] |
| 14 |
|
| 15 |
\subsection*{Italic} |
| 16 |
\textit{\lipsum[2]} |
| 17 |
|
| 18 |
\subsection*{Bold} |
| 19 |
\textbf{\lipsum[3]} |
| 20 |
|
| 21 |
\subsection*{Bold Italic} |
| 22 |
\textbf{\textit{\lipsum[4]}} |
| 23 |
|
| 24 |
\subsection*{Small Caps} |
| 25 |
\textsc{\lipsum[5]} |
| 26 |
|
| 27 |
\subsection*{Default Numbers} |
| 28 |
|
| 29 |
1234567890 |
| 30 |
|
| 31 |
\subsection*{Oldstyle Numbers} |
| 32 |
|
| 33 |
\oldstylenums{1234567890} |
| 34 |
|
| 35 |
\subsection*{Lining Numbers} |
| 36 |
|
| 37 |
\liningnums{1234567890} |
| 38 |
|
| 39 |
\subsection*{Tabular Numbers} |
| 40 |
|
| 41 |
\tabularnums{1234567890} |
| 42 |
|
| 43 |
\subsection*{Proportional Numbers} |
| 44 |
|
| 45 |
\proportionalnums{1234567890} |
| 46 |
|
| 47 |
\subsection*{Superior Numbers} |
| 48 |
|
| 49 |
X\textsu{1234567890} |
| 50 |
|
| 51 |
|
| 52 |
\subsection*{Inferior Numbers} |
| 53 |
|
| 54 |
X\textinf{1234567890} |
| 55 |
|
| 56 |
\subsection*{Cyrillic} |
| 57 |
|
| 58 |
{\ifxetex\else\ifluatex\else\fontencoding{T2A}\selectfont\fi\fi |
| 59 |
Съешь ещё этих мягких французских булок да |
| 60 |
выпей чаю!} |
| 61 |
|
| 62 |
|
| 63 |
\end{document} |