summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/malayalam/article/mmchart.tex
blob: 09ef121a4ad80b8dcfd6d70931b17c2b7abd2dc9 (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
% mmchart.tex -- chart of Malayalam font
% (c) 1992 Jeroen Hellingman
% last edit: 06-DEC-1992

%%%%%%%

\font\cmss=cmss10
\newcount\counter\counter=0

\def\chartstrut{\lower4.5pt\vbox to14pt{}}
\def\cell#1{\hfil#1\hfil}
\def\>{\global\advance\counter by-255}
\def\:{{\setbox0\hbox{\sfont\char\counter}%
  \dimen0=\ht0\advance\dimen0by1pt\ht0=\dimen0%
  \dimen0=\dp0\advance\dimen0by1pt\dp0=\dimen0%
  \kern1pt\box0\kern1pt}%
  \global\advance\counter by16}
\def\tablerule{\noalign{\hrule}}

\def\chart{{\cmss\vbox{\tabskip=0pt\offinterlineskip\global\counter=0
\halign to \hsize{\vrule width.8pt\chartstrut##\tabskip0pt plus10pt%
	&\cell{##}&\vrule width.8pt##%
	&\cell{##}&\vrule##&\cell{##}&\vrule##&\cell{##}&\vrule##&\cell{##}&\vrule##%
	&\cell{##}&\vrule##&\cell{##}&\vrule##&\cell{##}&\vrule##&\cell{##}&\vrule##%
	&\cell{##}&\vrule##&\cell{##}&\vrule##&\cell{##}&\vrule##&\cell{##}&\vrule##%
	&\cell{##}&\vrule##&\cell{##}&\vrule##&\cell{##}&\vrule##&\cell{##}%
	&\vrule width.8pt##\tabskip=0pt\cr
  \noalign{\hrule height.8pt}
  &\multispan{33}\fontname\hfill&\cr
  \noalign{\hrule height.8pt}
  & &&0&&1&&2&&3&&4&&5&&6&&7&&8&&9&&A&&B&&C&&D&&E&&F&\cr\noalign{\hrule height.8pt}
  &0&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&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:&&\:&&\:&&\:&&\:&&\:&\cr\tablerule
\>&E&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&\cr\tablerule
\>&F&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&\cr\noalign{\hrule height.8pt}
}}}}

\def\table #1 {
  \font\sfont=#1%
  \edef\fontname{#1}
  \chart\bigskip
}

%%%%%%

\endinput