Bell 32V development
[unix-history] / usr / src / cmd / troff / ntab.c
CommitLineData
efc13994
TL
1#define BYTE 8
2#define PAIR(A,B) (A|(B<<BYTE))
3/*
4character name tables
5modified for BTL special font version 4
6and Commercial II
7*/
8
9
10int chtab [] = {
11PAIR('h','y'), 0200, /*hyphen*/
12PAIR('b','u'), 0201, /*bullet*/
13PAIR('s','q'), 0202, /*square*/
14PAIR('e','m'), 0203, /*3/4em*/
15PAIR('r','u'), 0204, /*rule*/
16PAIR('1','4'), 0205, /*1/4*/
17PAIR('1','2'), 0206, /*1/2*/
18PAIR('3','4'), 0207, /*3/4*/
19PAIR('m','i'), 0302, /*equation minus*/
20PAIR('f','i'), 0211, /*fi*/
21PAIR('f','l'), 0212, /*fl*/
22PAIR('f','f'), 0213, /*ff*/
23PAIR('F','i'), 0214, /*ffi*/
24PAIR('F','l'), 0215, /*ffl*/
25PAIR('d','e'), 0216, /*degree*/
26PAIR('d','g'), 0217, /*dagger*/
27PAIR('s','c'), 0220, /*section*/
28PAIR('f','m'), 0221, /*foot mark*/
29PAIR('a','a'), 0222, /*acute accent*/
30PAIR('g','a'), 0223, /*grave accent*/
31PAIR('u','l'), 0224, /*underrule*/
32PAIR('s','l'), 0225, /*slash (longer)*/
33PAIR('*','a'), 0230, /*alpha*/
34PAIR('*','b'), 0231, /*beta*/
35PAIR('*','g'), 0232, /*gamma*/
36PAIR('*','d'), 0233, /*delta*/
37PAIR('*','e'), 0234, /*epsilon*/
38PAIR('*','z'), 0235, /*zeta*/
39PAIR('*','y'), 0236, /*eta*/
40PAIR('*','h'), 0237, /*theta*/
41PAIR('*','i'), 0240, /*iota*/
42PAIR('*','k'), 0241, /*kappa*/
43PAIR('*','l'), 0242, /*lambda*/
44PAIR('*','m'), 0243, /*mu*/
45PAIR('*','n'), 0244, /*nu*/
46PAIR('*','c'), 0245, /*xi*/
47PAIR('*','o'), 0246, /*omicron*/
48PAIR('*','p'), 0247, /*pi*/
49PAIR('*','r'), 0250, /*rho*/
50PAIR('*','s'), 0251, /*sigma*/
51PAIR('*','t'), 0252, /*tau*/
52PAIR('*','u'), 0253, /*upsilon*/
53PAIR('*','f'), 0254, /*phi*/
54PAIR('*','x'), 0255, /*chi*/
55PAIR('*','q'), 0256, /*psi*/
56PAIR('*','w'), 0257, /*omega*/
57PAIR('*','A'), 0101, /*Alpha*/
58PAIR('*','B'), 0102, /*Beta*/
59PAIR('*','G'), 0260, /*Gamma*/
60PAIR('*','D'), 0261, /*Delta*/
61PAIR('*','E'), 0105, /*Epsilon*/
62PAIR('*','Z'), 0132, /*Zeta*/
63PAIR('*','Y'), 0110, /*Eta*/
64PAIR('*','H'), 0262, /*Theta*/
65PAIR('*','I'), 0111, /*Iota*/
66PAIR('*','K'), 0113, /*Kappa*/
67PAIR('*','L'), 0263, /*Lambda*/
68PAIR('*','M'), 0115, /*Mu*/
69PAIR('*','N'), 0116, /*Nu*/
70PAIR('*','C'), 0264, /*Xi*/
71PAIR('*','O'), 0117, /*Omicron*/
72PAIR('*','P'), 0265, /*Pi*/
73PAIR('*','R'), 0120, /*Rho*/
74PAIR('*','S'), 0266, /*Sigma*/
75PAIR('*','T'), 0124, /*Tau*/
76PAIR('*','U'), 0270, /*Upsilon*/
77PAIR('*','F'), 0271, /*Phi*/
78PAIR('*','X'), 0130, /*Chi*/
79PAIR('*','Q'), 0272, /*Psi*/
80PAIR('*','W'), 0273, /*Omega*/
81PAIR('s','r'), 0274, /*square root*/
82PAIR('t','s'), 0275, /*terminal sigma*/
83PAIR('r','n'), 0276, /*root en*/
84PAIR('>','='), 0277, /*>=*/
85PAIR('<','='), 0300, /*<=*/
86PAIR('=','='), 0301, /*identically equal*/
87PAIR('~','='), 0303, /*approx =*/
88PAIR('a','p'), 0304, /*approximates*/
89PAIR('!','='), 0305, /*not equal*/
90PAIR('-','>'), 0306, /*right arrow*/
91PAIR('<','-'), 0307, /*left arrow*/
92PAIR('u','a'), 0310, /*up arrow*/
93PAIR('d','a'), 0311, /*down arrow*/
94PAIR('e','q'), 0312, /*equation equal*/
95PAIR('m','u'), 0313, /*multiply*/
96PAIR('d','i'), 0314, /*divide*/
97PAIR('+','-'), 0315, /*plus-minus*/
98PAIR('c','u'), 0316, /*cup (union)*/
99PAIR('c','a'), 0317, /*cap (intersection)*/
100PAIR('s','b'), 0320, /*subset of*/
101PAIR('s','p'), 0321, /*superset of*/
102PAIR('i','b'), 0322, /*improper subset*/
103PAIR('i','p'), 0323, /* " superset*/
104PAIR('i','f'), 0324, /*infinity*/
105PAIR('p','d'), 0325, /*partial derivative*/
106PAIR('g','r'), 0326, /*gradient*/
107PAIR('n','o'), 0327, /*not*/
108PAIR('i','s'), 0330, /*integral sign*/
109PAIR('p','t'), 0331, /*proportional to*/
110PAIR('e','s'), 0332, /*empty set*/
111PAIR('m','o'), 0333, /*member of*/
112PAIR('p','l'), 0334, /*equation plus*/
113PAIR('r','g'), 0335, /*registered*/
114PAIR('c','o'), 0336, /*copyright*/
115PAIR('b','r'), 0337, /*box vert rule*/
116PAIR('c','t'), 0340, /*cent sign*/
117PAIR('d','d'), 0341, /*dbl dagger*/
118PAIR('r','h'), 0342, /*right hand*/
119PAIR('l','h'), 0343, /*left hand*/
120PAIR('*','*'), 0344, /*math * */
121PAIR('b','s'), 0345, /*bell system sign*/
122PAIR('o','r'), 0346, /*or*/
123PAIR('c','i'), 0347, /*circle*/
124PAIR('l','t'), 0350, /*left top (of big curly)*/
125PAIR('l','b'), 0351, /*left bottom*/
126PAIR('r','t'), 0352, /*right top*/
127PAIR('r','b'), 0353, /*right bot*/
128PAIR('l','k'), 0354, /*left center of big curly bracket*/
129PAIR('r','k'), 0355, /*right center of big curly bracket*/
130PAIR('b','v'), 0356, /*bold vertical*/
131PAIR('l','f'), 0357, /*left floor (left bot of big sq bract)*/
132PAIR('r','f'), 0360, /*right floor (rb of ")*/
133PAIR('l','c'), 0361, /*left ceiling (lt of ")*/
134PAIR('r','c'), 0362, /*right ceiling (rt of ")*/
1350,0};