summaryrefslogtreecommitdiff
path: root/fonts/zefonts/doc/test.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /fonts/zefonts/doc/test.tex
Initial commit
Diffstat (limited to 'fonts/zefonts/doc/test.tex')
-rw-r--r--fonts/zefonts/doc/test.tex58
1 files changed, 58 insertions, 0 deletions
diff --git a/fonts/zefonts/doc/test.tex b/fonts/zefonts/doc/test.tex
new file mode 100644
index 0000000000..3c25a03930
--- /dev/null
+++ b/fonts/zefonts/doc/test.tex
@@ -0,0 +1,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}