-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest-typography.tex
More file actions
193 lines (172 loc) · 7.48 KB
/
Copy pathtest-typography.tex
File metadata and controls
193 lines (172 loc) · 7.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
\chapter{Copy this \abbr{NATO}}
\section {Copy this \textsc{NATO}}
The \textsc{nato} office fiddo 1234 æøåÅ.\\
The \abbr{NATO} office fiddo 1234 æøåÅ.\\
The {\addfontfeature{Letters=UppercaseSmallCaps}NATO} office fiddo 1234 æøåÅ.\\
{\addfontfeature{Ligatures=TeX}The {\addfontfeature{Letters=UppercaseSmallCaps}NATO} office fiddo 1234 æøåÅ.}\\
\chapter{Line lenght test}
abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz
\noindent 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\-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\-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\-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
\chapter{Font test}
\foreach \x in
{1234567890,abcdefghijklmnopqrstuvwxyz,αβξδεφγηικλμνοπθρστυςωχψζ,+−-=≈.≥≤<>,si:
{\SI{1.2e6}{\giga \pascal \per \square \metre} and \SI{2231}{\micro\angstrom}}} {
\section{With alfabet: \x}
\newcommand{\y}{\x\MakeTextUppercase{\x}}
\small
\noindent\y\space{\tiny normal}\newline
$\mathup{\y}$\space{\tiny math up}\newline
\textit{\y}\space{\tiny textit}\newline
$\y$\space{\tiny math}\newline
\textbf{\y}\space{\tiny textbf}\newline
$\mathbfup{\y}$\space{\tiny mathbfup}\newline
\textbf{\textit{\y}}\space{\tiny textbfit}\newline
$\mathbfit{\y}$\space{\tiny mathbfit}\newline
\textsf{\y}\space{\tiny textsf}\newline
$\mathsfup{\y}$\space{\tiny mathsfup}\newline
\textsf{\textit{\y}}\space{\tiny textsfit}\newline
$\mathsfit{\y}$\space{\tiny mathsfit}\newline
\textbf{\textsf{\textit{\y}}}\space{\tiny textbfsfit}\newline
$\mathbfsfit{\y}$\space{\tiny mathbfsfit}\newline
{\swash\y}\space{\tiny swash}\newline
$\mathcal{\y}$\space{\tiny mathcal}\newline
\newpage
}
\chapter{Number test}
{
\newcommand{\y}{1234567890}
\small
Should all be oldstyle upright:\newline
\noindent\y\space{\tiny normal}\newline
Should all be lining upright:\newline
{\lining\y}\space{\tiny normal lining}\newline
$\y$\space{\tiny math}\newline
$\mathup{\y}$\space{\tiny mathup}\newline
Should all be oldstyle italic:\newline
\textit{\y}\space{\tiny textit}\newline
Should all be lining italic:\newline
{\lining\textit{\y}}\space{\tiny textit lining}\newline
$\mathit{\y}$\space{\tiny mathit}\newline
Should all be oldstyle bold:\newline
\textbf{\y}\space{\tiny textbf}\newline
Should all be lining bold:\newline
{\lining \textbf{\y}}\space{\tiny textbf lining}\newline
$\mathbf{\y}$\space{\tiny mathbf}\newline
$\mathbfup{\y}$\space{\tiny mathbfup}\newline
Should all be oldstyle bold italic:\newline
\textbf{\textit{\y}}\space{\tiny textbfit}\newline
Should all be lining bold italic:\newline
{\lining \textbf{\textit{\y}}} \space{\tiny textbfit lining}\newline
$\mathbfit{\y}$\space{\tiny mathbfit}\newline
Should all be sans oldstyle:\newline
\textsf{\y}\space{\tiny textsf}\newline
Should all be sans lining:\newline
\textsf{\lining\y}\space{\tiny textsf lining}\newline
$\mathsf{\y}$\space{\tiny mathsf}\newline
$\mathsfup{\y}$\space{\tiny mathsfup}\newline
Should all be sans oldstyle italic:\newline
\textsf{\textit{\y}}\space{\tiny textsfit}\newline
Should all be sans lining italic:\newline
\textsf{\lining\textit{\y}}\space{\tiny textsfit lining}\newline
$\mathsfit{\y}$\space{\tiny mathsfit}\newline
Should all be sans oldstyle bold:\newline
\textbf{\textsf{\y}}\space{\tiny textbfsf}\newline
Should all be sans lining bold:\newline
\textbf{\textsf{\lining\y}} \space{\tiny textbfsf lining}\newline
$\mathbfsf{\y}$\space{\tiny mathbfsf}\newline
Should all be sans oldstyle bold italic:\newline
\textbf{\textsf{\textit{\y}}}\space{\tiny textbfsfit}\newline
Should all be sans lining bold italic:\newline
\textbf{\textsf{\lining\textit{\y}}} \space{\tiny textbfsfit lining}\newline
$\mathbfsfit{\y}$\space{\tiny mathbfsfit}\newline
}
\tightlists
\begin{itemize}
\item Ligning
\item Math up
\item lining, textit
\item math
\end{itemize}
{\lining A5} $\textup{A5}$ {\lining \textit{G4}} $G4$
\begin{itemize}
\item mhchem
\item math
\end{itemize}
\ce{Mg^{2+}}$Mg^{2+}$
\begin{itemize}
\item textbf
\item mathbf
\end{itemize}
\textbf{c8}$\mathbf{c8}$
\chapter{siunitx test}
Nam dui ligula, fringilla a, euismod sodales \SI{20}{\meter \per \second},
sollicitudin \SI{3e3}{\ohm} vel, wisi. Morbi auctor lorem
\SI{2231}{\micro\angstrom} non justo.
\begin{align}
g &= \SI{9.8}{\newton\per\kilo\gram} \\
l &= \SI{124}{\micro\angstrom}\\
R &= \SI{3e3}{\ohm}
\end{align}
{\sffamily Nulla malesuada por itor diam. Donec felis erat, congue
\SI{12e6}{\giga \pascal} non, volutpat at, tincidunt tristique, libero.
Vivamus viverra fermentum felis. Donec nonummy pellentesque ante.}
\noindent \si{\micro\gram} µg $\si{\micro\gram}$\\
\si{\angstrom} Å $\si{\angstrom}$\\
\si{\ohm} Ω $\si{\ohm}$\\
\chapter{Math symbol test}
\begin{align}
\mathexclam\mathcomma\mathcolon\mathsemicolon \dblcolon \coloneqq \Coloneqq \eqqcolon\\
\hat x \tilde x\\
\prod\coprod\sum\int\iint\\
\mathplus\pm\mp\cdotp\cdot x\times x\div\dagger\ddagger\smblkcircle %
\fracslash\minus\divslash\vysmblkcircle\triangleright\triangleleft\\
\mathoctothorpe\mathdollar\mathpercent\mathampersand\mathperiod%
\mathslash\mathquestion\mathatsign\backslash\mathsterling\mathyen%
\neg\enleadertwodots\unicodeellipsis\prime\dprime\euro%
\increment\infty\mdlgblksquare\blacktriangleright\blacktriangleleft%
\mdlgblkdiamond\fisheye\mdlgwhtlozenge\checkmark\\
\nless\less\equal\doteq\greater\leftarrow\rightarrow\approx\simeq\ne\leqq\leq\geq\gg\\
\matheth\ell\partial
\end{align}
\chapter{Math test}
\begin{align*}
A &= \sum_{a=100}^{k} k \cdot 21\\
B &= \bigg( \frac{1}{2} \bigg)\\
C &= \left( \frac{1}{\frac{5}{asdfg}} \right)\\
D &= \bigg[ \frac{1}{2} \bigg]\\
E &= \Set{a}{200 ∈ ℤ}\\
F &= a^{b} + a^{b^{c}} a^{b^{c^{d}}}\\
G &= \Bigg( \bigg( \Big( \big( (x) \big) \Big) \bigg) \Bigg)\\
H &= \Biggl( \biggl( \Bigl( \bigl( (x) \bigr) \Bigr) \biggr) \Biggr)\\
I &= \left( \left( \left( \left( \left( \left( x \right) \right) \right) \right) \right) \right)
\end{align*}
\chapter{Serif and Sans-Serif text}
Lorem \textsf{ipsum} dolor sit \textsf{amet}, consectetuer adipiscing elit. Ut
purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur
dictum gravida mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate
a, magna. Donec vehicula augue eu neque. Pellentesque habitant morbi tristique
senectus et netus et malesuada fames ac turpis egestas. Mauris ut leo. Cras
viverra metus rhoncus sem.\textsf{ Nulla et lectus vestibulum urna fringilla
ultrices.} Phasellus eu tellus sit amet tortor gravida placerat. Integer
sapien est, iaculis in, pretium quis, viverra ac, nunc. Praesent eget sem vel
leo ultrices bibendum. Aenean faucibus. Morbi dolor nulla, malesuada eu,
pulvinar at, mollis ac, nulla. Curabitur auctor semper nulla. Donec varius orci
eget risus. Duis nibh mi, congue eu, accumsan eleifend, sagi is quis, diam. Duis
eget orci sit amet orci dignissim rutrum.
\foreach \x in {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}
{\MakeTextUppercase{\x}\textsf{\MakeTextUppercase{\x}}}
\foreach \x in {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}
{\x\textsf{\x}}
\chapter{A chapter}
\lipsum[1]
\section{A section}
\lipsum[2-5]
\subsection{A subsection}
\lipsum[6-9]
\subsubsection{A subsubsection}
\lipsum[10]
\paragraph{A paragraph}
\lipsum[11]
\subparagraph{A subparagraph}
\lipsum[12-50]