summaryrefslogtreecommitdiff
path: root/support/tr2latex/special.h
blob: aa4f24b8bc61aa7d3720a2e47999a8a8c3327714 (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
113
114
115
116
117
118
119
120
121
122
123
124
/*
** tr2latex - troff to LaTeX converter
**
** Module: special.h
**
*/
struct special_table {
	const char *troff_char, *tex_char;
} special [] = {
/*  troff name	TeX name */
   {"em",       "---"},
   {"hy",       "-"},
   {"bu",       "$\\bullet$"},
   {"sq",       "$\\Box$"}, /* needs package latexsym */
   {"ru",       "$\\_$"},
   {"14",       "$\\fraction 1/4$"},
   {"12",       "$\\fraction 1/2$"},
   {"34",       "$\\fraction 3/4$"},
   {"fi",       "fi"},
   {"fl",       "fl"},
   {"ff",       "ff"},
   {"Fi",       "ffi"},
   {"Fl",       "ffl"},
   {"de",       "$^\\circ$"},
   {"dg",       "$\\dagger$"},
   {"fm",       "$\\prime$"},
   {"ct",       "\\textcent"},
   {"rg",       "\\textregistered"},
   {"co",       "\\textcopyright"},
   {"pl",       "$+$"},
   {"mi",       "$-$"},
   {"eq",       "$=$"},
   {"**",       "$\\ast$"},
   {"sc",       "\\textsection"},
   {"aa",       "\\textasciiacute"}, /* needs package textcomp */
   {"ga",       "\\textasciigrave"}, /* needs package textcomp */
   {"ul",       "$\\_$"},
   {"sl",       "$\\/$"},
   {"*a",       "$\\alpha$"},
   {"*b",       "$\\beta$"},
   {"*g",       "$\\gamma$"},
   {"*d",       "$\\delta$"},
   {"*e",       "$\\epsilon$"},
   {"*z",       "$\\zeta$"},
   {"*y",       "$\\eta$"},
   {"*h",       "$\\theta$"},
   {"*i",       "$\\iota$"},
   {"*k",       "$\\kappa$"},
   {"*l",       "$\\lambda$"},
   {"*m",       "$\\mu$"},
   {"*n",       "$\\nu$"},
   {"*c",       "$\\xi$"},
   {"*o",       "o"},
   {"*p",       "$\\pi$"},
   {"*r",       "$\\rho$"},
   {"*s",       "$\\sigma$"},
   {"ts",       "$\\varsigma$"},
   {"*t",       "$\\tau$"},
   {"*u",       "$\\upsilon$"},
   {"*f",       "$\\phi$"},
   {"*x",       "$\\chi$"},
   {"*q",       "$\\psi$"},
   {"*w",       "$\\omega$"},
   {"*G",       "$\\Gamma$"},
   {"*D",       "$\\Delta$"},
   {"*Y",       "$H$"},
   {"*H",       "$\\Theta$"},
   {"*L",       "$\\Lambda$"},
   {"*C",       "$\\Xi$"},
   {"*P",       "$\\Pi$"},
   {"*R",       "$P$"},
   {"*S",       "$\\Sigma$"},
   {"*U",       "$\\Upsilon$"},
   {"*F",       "$\\Phi$"},
   {"*Q",       "$\\Psi$"},
   {"*W",       "$\\Omega$"},
   {"sr",       "$\\surd$"},
    /*"rn",       "$\\`$",*/
   {">=",       "$\\geq$"},
   {"<=",       "$\\leq$"},
   {"==",       "$\\equiv$"},
   {"|=",       "$\\simeq$"},
   {"ap",       "$\\sim$"},
   {"!=",       "$\\neq$"},
   {"->",       "$\\to$"},
   {"<-",       "$\\gets$"},
   {"ua",       "$\\uparrow$"},
   {"da",       "$\\downarrow$"},
   {"mu",       "$\\times$"},
   {"di",       "$\\div$"},
   {"+-",       "$\\pm$"},
   {"cu",       "$\\cup$"},
   {"ca",       "$\\cap$"},
   {"sb",       "$\\subset$"},
   {"sp",       "$\\supset$"},
   {"ib",       "$\\subseteq$"},
   {"ip",       "$\\supseteq$"},
   {"if",       "$\\infty$"},
   {"pd",       "$\\partial$"},
   {"gr",       "$\\nabla$"},
   {"no",       "$\\neg$"},
   {"is",       "$\\int$"},
   {"pt",       "$\\propto$"},
   {"es",       "$\\emptyset$"},
   {"mo",       "$\\in$"},
   {"br",       "$\\vert$"},
   {"dd",       "$\\ddagger$"},
   {"rh",       "$\\Rightarrow$"},
   {"lh",       "$\\Leftarrow$"},
 /*{"bs",       ""},*/
   {"or",       "$\\vert$"},
   {"ci",       "$\\bigcirc$"},
 /*{"lt",       "$\\$"},
   {"lb",       "$\\$"},
   {"rt",       "$\\$"},
   {"rb",       "$\\$"},
   {"lk",       "$\\$"},
   {"rk",       "$\\$"},*/
   {"bv",       "$\\bracevert$"},
   {"lf",       "$\\lfloor$"},
   {"rf",       "$\\rfloor$"},
   {"lc",       "$\\lceil$"},
   {"rc",       "$\\rceil$"}
};