summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/semaphor/example.tex
blob: 330df9f68e34dc3edb21e5296cbbf1893519157e (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
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
% SEMAPHORE ALPHABET FONT test file                      "example.tex"
% Font znaku semaforove abecedy, priklad
% Copyright (C) 1998 Vit ZYKA, zyka@cmp.felk.cvut.cz

\hoffset=-15.4mm \hsize=190mm
\voffset=-15.4mm \vsize=277mm
\input semaf
\let\semaf=\smfbf
\font\textfn=csssbx10
\font\tabfn=csss8
\font\nadpisfn=csssbx10 at 14pt
\textfn
\footline={\hfill}
\newskip\hs \hs=1em
\newskip\vs \vs=3mm plus1mm minus1mm

\setbox1=\vbox to\hsize{\hsize=30mm
  \hrule\vskip\vs
  \centerline{{\nadpisfn Semaphore}}
  \vskip\vs
  \centerline{A\hskip\hs {\semaf A}}
  \centerline{B\hskip\hs {\semaf B}}
  \centerline{C\hskip\hs {\semaf C}}
  \centerline{D\hskip\hs {\semaf D}}
  \centerline{E\hskip\hs {\semaf E}}
  \centerline{F\hskip\hs {\semaf F}}
  \centerline{G\hskip\hs {\semaf G}}
  \vskip\vs
  \centerline{H\hskip\hs {\semaf H}}
  \centerline{I\hskip\hs {\semaf I}}
  \centerline{K\hskip\hs {\semaf K}}
  \centerline{L\hskip\hs {\semaf L}}
  \centerline{M\hskip\hs {\semaf M}}
  \centerline{N\hskip\hs {\semaf N}}
  \vskip\vs
  \centerline{O\hskip\hs {\semaf O}}
  \centerline{P\hskip\hs {\semaf P}}
  \centerline{Q\hskip\hs {\semaf Q}}
  \centerline{R\hskip\hs {\semaf R}}
  \centerline{S\hskip\hs {\semaf S}}
  \vskip\vs
  \centerline{T\hskip\hs {\semaf T}}
  \centerline{U\hskip\hs {\semaf U}}
  \centerline{Y\hskip\hs {\semaf Y}}
  \vskip\vs
  \centerline{J\hskip\hs {\semaf J}}
  \centerline{V\hskip\hs {\semaf V}}
  \vskip\vs
  \centerline{W\hskip\hs {\semaf W}}
  \centerline{X\hskip\hs {\semaf X}}
  \vskip\vs
  \centerline{Z\hskip\hs {\semaf Z}}
  \vskip\vs
  \centerline{mistake\hskip\hs {\semaf \char`\~}}
%  \centerline{digits\hskip\hs {\semaf \char`\$}}
  \vskip\vs
  \centerline{1\hskip\hs {\semaf 1}}
  \centerline{2\hskip\hs {\semaf 2}}
  \centerline{3\hskip\hs {\semaf 3}}
  \centerline{4\hskip\hs {\semaf 4}}
  \centerline{5\hskip\hs {\semaf 5}}
  \centerline{6\hskip\hs {\semaf 6}}
  \centerline{7\hskip\hs {\semaf 7}}
  \centerline{8\hskip\hs {\semaf 8}}
  \centerline{9\hskip\hs {\semaf 9}}
  \centerline{0\hskip\hs {\semaf 0}}
  \vskip\vs\hrule}

\hbox to\hsize{%
  \vrule\copy1\vrule\hfill%
%  \vrule\copy1\vrule\hfill%
%  \vrule\copy1\vrule\hfill%
%  \vrule\copy1\vrule\hfill%
%  \vrule\copy1\vrule\hfill%
%  \vrule\copy1\vrule\hfill%
%  \vrule\copy1\vrule\hfill%
%  \vrule\copy1\vrule
}

\vfill
\tabfn \offinterlineskip
\halign{\vrule\strut\hskip.5em #\hfill\hskip.5em &
        \vrule\hskip2pt\hfill#\hfill\hskip2pt &
        \vrule\hskip2pt\hfill#\hfill\hskip2pt &
        \vrule\hskip2pt\hfill#\hfill\hskip2pt &
        \vrule\hskip2pt\hfill#\hfill\hskip2pt\vrule \cr
  \noalign{\hrule}
  & Roman & Bold & Monospace & Slanted \cr
  \noalign{\hrule}
  Pillar & \smfr Semafor& \smfbf Semafor& \smftt Semafor& \smfsl Semafor\cr
  Empty & \smfer Semafor& \smfebf Semafor& \smfett Semafor& \smfesl Semafor\cr
  Person& \smfrp Semafor& \smfbfp Semafor& \smfttp Semafor& \smfslp Semafor\cr
  \noalign{\hrule}}

% --------------------------------------------------------------------- Table
\goodbreak
\let\noinit=!
\input testfont
\def\fontname{smfr10}\startfont\table\text\goodbreak
%\def\fontname{smfbf10}\startfont\table\goodbreak
%\def\fontname{smfsl10}\startfont\table\goodbreak
%\def\fontname{smftt10}\startfont\table\goodbreak
%\def\fontname{smfer10}\startfont\table\goodbreak
%\def\fontname{smfebf10}\startfont\table\goodbreak
%\def\fontname{smfesl10}\startfont\table\goodbreak
%\def\fontname{smfett10}\startfont\table\goodbreak
%\def\fontname{smfpr10}\startfont\table\goodbreak
%\def\fontname{smfpbf10}\startfont\table\goodbreak
%\def\fontname{smfpsl10}\startfont\table\goodbreak
%\def\fontname{smfptt10}\startfont\table\goodbreak

\end