summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/zefonts/test.tex
blob: 3c25a03930aa3f0f0bebe761beb03df837bff6f6 (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
47
48
49
50
51
52
53
54
55
56
57
58
\documentclass{article}
\usepackage{array,ifthen}
\usepackage{zefonts}
\title{Testing the `ze' fonts
       (virtual T1 fonts)}
\author{Robert Fuster\\
        \footnotesize Departament de Matem\`atica Aplicada\\
        \footnotesize Universitat Polit\`ecnica de Val\`encia\\
        \footnotesize 46071 Val\`encia (Spain)\\
        \footnotesize e-mail: \texttt{rfuster\@ mat.upv.es}\\
        \footnotesize URL: \texttt{HTTP://www.upv.es/\~{}rfuster}}
\date{June 24, 1997\\
      September 22, 1998 (version 2.0)}
\setlength{\extrarowheight}{2pt}
\newcounter{n} \newcounter{p}
\newcommand{\taula}{%
    \setcounter{n}{0}
    \setcounter{p}{0}
    \begin{center}
    \setcounter{n}{0}
    \setcounter{p}{0}
    \begin{tabular}{|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|}
    \hline
    \whiledo{\value{n} < 255}{%
     \symbol{\then}\stepcounter{p}\stepcounter{n}\ifthenelse{\value{p} = 16}{%
                                  \setcounter{p}{0}\\\hline
                                 }{\ifthenelse{\value{n} < 256}{&}{}%
                                     }}
    \symbol{\then}\\\hline
    \end{tabular}
    \end{center}
}
\begin{document}
\maketitle
This is a test of the `ze' fonts. In the following figures you can compare
these fonts with the real `ec' fonts.
\begin{figure}
    \caption{Roman virtual font zerm1000 \label{fig:zerm1000}}
    \taula
    \caption{Roman font ecrm1000 \label{fig:ecrm1000}}
    {\renewcommand{\rmdefault}{cmr}\rmfamily\selectfont\taula
    }
\end{figure}
\begin{figure}
    \caption{Sans Serif virtual font zess1000 \label{fig:zess1000}}
    \sffamily\taula
    \caption{Sans Serif font ecss1000 \label{fig:ecss1000}}
    {\renewcommand{\sfdefault}{cmss}\sffamily\selectfont\taula
    }
\end{figure}
\begin{figure}
    \caption{Typewriter virtual font zett1000 \label{fig:zett1000}}
    \ttfamily\taula
    \caption{Typewriter font ectt1000 \label{fig:ectt1000}}
    {\renewcommand{\ttdefault}{cmtt}\ttfamily\selectfont\taula
    }
\end{figure}
\end{document}