Debian Codegraph @

texmf-dist/doc/fonts/paratype/paratype-sample.tex

raw
1 %% Copyright 2011 Pavel Farar
2 %
3 % This work may be distributed and/or modified under the
4 % conditions of the LaTeX Project Public License, either version 1.3
5 % of this license or (at your option) any later version.
6 % The latest version of this license is in
7 % http://www.latex-project.org/lppl.txt
8 % and version 1.3 or later is part of all distributions of LaTeX
9 % version 2005/12/01 or later.
10 %
11 % This work has the LPPL maintenance status `maintained'.
12 %
13 % The Current Maintainer of this work is Pavel Farar
14
15
16 \documentclass[oneside]{scrartcl}
17
18 \usepackage[utf8]{inputenc}
19 \usepackage[russian, english]{babel}
20
21 \usepackage{paratype}
22 \usepackage[T2A, T1]{fontenc}
23 \usepackage{textcomp}
24 \usepackage[colorlinks]{hyperref}
25 \hypersetup{pdfauthor={Pavel Farar}}
26
27
28 \newcommand{\SampleText}{Basic Latin alphabet:
29 a b c d e f g h i j k l m n o p q r s t u v w x y z
30 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z;
31 some accented letters and germandbls: Š š Ť ť É é Ů ů Ü ü \ss;
32 basic Cyrillic alphabet:
33 \selectlanguage{russian}%
34 а б в г д е ё ж з и й к л м н о п р с т у ф х ц ч ш щ ъ ы ь э ю я
35 А Б В Г Д Е Ё Ж З И Й К Л М Н О П Р С Т У Ф Х Ц Ч Ш Щ Ъ Ы Ь Э Ю Я;
36 \selectlanguage{english}%
37 figures:
38 0 1 2 3 4 5 6 7 8 9;
39 Latin ligatures: fi fl;
40 fractions: \textonequarter\ \textonehalf\ \textthreequarters;
41 some currency: \texteuro\ \$ \pounds\ \textcent\ \textyen;
42 some mathematical symbols: + \textminus\ \textpm\ \texttimes\ \textdiv\ /
43 = \textless\ \textgreater\ \textmu\ \textohm.}
44
45
46 \begin{document}
47
48 \selectlanguage{english}
49
50
51 \section*{PT Serif}
52
53 {\usefont{T1}{PTSerif-TLF}{m}{n}\SampleText}\par
54 {\usefont{T1}{PTSerif-TLF}{m}{it}\SampleText}\par
55 {\usefont{T1}{PTSerif-TLF}{b}{n}\SampleText}\par
56 {\usefont{T1}{PTSerif-TLF}{b}{it}\SampleText}
57
58
59 \section*{PT Serif---faked styles}
60
61 {\usefont{T1}{PTSerif-TLF}{m}{sl}\SampleText}\par
62 {\usefont{T1}{PTSerif-TLF}{m}{ui}\SampleText}\par
63 {\usefont{T1}{PTSerif-TLF}{b}{sl}\SampleText}\par
64 {\usefont{T1}{PTSerif-TLF}{b}{ui}\SampleText}
65
66
67 \section*{PT Serif Caption}
68
69 {\usefont{T1}{PTSerifCaption-TLF}{m}{n}\SampleText}\par
70 {\usefont{T1}{PTSerifCaption-TLF}{m}{it}\SampleText}
71
72
73 \section*{PT Serif Caption---faked styles}
74
75 {\usefont{T1}{PTSerifCaption-TLF}{m}{sl}\SampleText}\par
76 {\usefont{T1}{PTSerifCaption-TLF}{m}{ui}\SampleText}
77
78
79 \section*{PT Sans}
80
81 {\usefont{T1}{PTSans-TLF}{m}{n}\SampleText}\par
82 {\usefont{T1}{PTSans-TLF}{m}{it}\SampleText}\par
83 {\usefont{T1}{PTSans-TLF}{b}{n}\SampleText}\par
84 {\usefont{T1}{PTSans-TLF}{b}{it}\SampleText}
85
86
87 \section*{PT Sans Narrow}
88
89 {\usefont{T1}{PTSansNarrow-TLF}{m}{n}\SampleText}\par
90 {\usefont{T1}{PTSansNarrow-TLF}{b}{n}\SampleText}
91
92
93 \section*{PT Sans Narrow---faked styles}
94
95 {\usefont{T1}{PTSansNarrow-TLF}{m}{sl}\SampleText}\par
96 {\usefont{T1}{PTSansNarrow-TLF}{b}{sl}\SampleText}
97
98
99 \section*{PT Sans Caption}
100
101 {\usefont{T1}{PTSansCaption-TLF}{m}{n}\SampleText}\par
102 {\usefont{T1}{PTSansCaption-TLF}{b}{n}\SampleText}
103
104
105 \section*{PT Sans Caption---faked styles}
106
107 {\usefont{T1}{PTSansCaption-TLF}{m}{sl}\SampleText}\par
108 {\usefont{T1}{PTSansCaption-TLF}{b}{sl}\SampleText}
109
110
111 \section*{PT Mono}
112
113 \begin{flushleft}
114 {\usefont{T1}{PTMono-TLF}{m}{n}\SampleText}\par
115 {\usefont{T1}{PTMono-TLF}{b}{n}\SampleText}
116 \end{flushleft}
117
118
119 \section*{PT Mono--faked styles}
120
121 \begin{flushleft}
122 {\usefont{T1}{PTMono-TLF}{m}{sl}\SampleText}\par
123 {\usefont{T1}{PTMono-TLF}{b}{sl}\SampleText}
124 \end{flushleft}
125
126
127 \end{document}