summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/eurofont/eutest.tex
blob: 558f1c83b8125e543ff4a8460a5b77536eb1d1c0 (plain)
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
\documentclass{article}
\usepackage{times,europs}

\setlength{\parindent}{0mm}
\setlength{\parskip}{2\baselineskip}

\newcommand{\eutab}[1]{\begin{tabular}{l|cc}%
       & upright & italic \\%
\hline%
medium & \textup{\textmd{#1}} & \textit{\textmd{#1}} \\%
bold   & \textup{\textbf{#1}} & \textit{\textbf{#1}}%
\end{tabular}}

\begin{document}

\def\sampletext{%
The Euro symbol \eur{} comes in different shapes, depending on the
\textbf{current context \eur}. Font changes \textit{can \eur{} be followed,
\textbf{even if \eur{} they are nested}}. \textsf{Changes of \eur{} the font
family} \texttt{are handled \eur{} differently.}
}

\let\eur\EUR
\sampletext

\textrm{EuroSerif}:\\
\eutab{\EURtm}\\
\let\eur\EURtm
\sampletext

\textsf{EuroSans}:\\
\eutab{\EURhv}\\
\let\eur\EURhv
\sampletext

\texttt{EuroMono}:\\
\eutab{\EURcr}\\
\let\eur\EURcr
\sampletext

\textrm{official}:\\
\eutab{\EURofc}\\
\let\eur\EURofc
\sampletext

\end{document}