summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/csplain/base/fonttabs.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/csplain/base/fonttabs.tex')
-rw-r--r--Master/texmf-dist/tex/csplain/base/fonttabs.tex28
1 files changed, 28 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/csplain/base/fonttabs.tex b/Master/texmf-dist/tex/csplain/base/fonttabs.tex
new file mode 100644
index 00000000000..825bf2022a2
--- /dev/null
+++ b/Master/texmf-dist/tex/csplain/base/fonttabs.tex
@@ -0,0 +1,28 @@
+% This macro prints font tables using of Knuth's TESTFONT macro
+% March 25 1993 Petr Olsak
+
+% In plain write following commands:
+%
+% \input fonttabs
+% cmr10
+% cmbx10
+% ... etc.
+% \end
+%
+% The names of fonts are separed by space or endline.
+% All fonts must been loadable.
+% Each font takes place on one table on one page.
+
+\let\noinit!
+\input testfont
+\vsize=24cm
+
+\long\def\start#1{\expandafter\if\noexpand#1\relax
+ \let\next\relax \let\nextnext\start
+ \else \let\next\newtab \let\nextnext\relax
+ \fi \next#1\nextnext}
+\def\newtab#1\nextnext#2 {\message{font: #1#2}%
+ \def\fontname{#1#2 }\startfont\table \vfill\eject \start}
+
+\everypar={\egroup\everypar={} \start} \setbox0=\vbox\bgroup
+