symbols.hpp
Go to the documentation of this file.
1 
5 /* Copyright (c) 2005-2009 Taneli Kalvas. All rights reserved.
6  *
7  * You can redistribute this software and/or modify it under the terms
8  * of the GNU General Public License as published by the Free Software
9  * Foundation; either version 2 of the License, or (at your option)
10  * any later version.
11  *
12  * This library is distributed in the hope that it will be useful, but
13  * WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  * General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this library (file "COPYING" included in the package);
19  * if not, write to the Free Software Foundation, Inc., 51 Franklin
20  * Street, Fifth Floor, Boston, MA 02110-1301 USA
21  *
22  * If you have questions about your rights to use or distribute this
23  * software, please contact Berkeley Lab's Technology Transfer
24  * Department at TTD@lbl.gov. Other questions, comments and bug
25  * reports should be sent directly to the author via email at
26  * taneli.kalvas@jyu.fi.
27  *
28  * NOTICE. This software was developed under partial funding from the
29  * U.S. Department of Energy. As such, the U.S. Government has been
30  * granted for itself and others acting on its behalf a paid-up,
31  * nonexclusive, irrevocable, worldwide license in the Software to
32  * reproduce, prepare derivative works, and perform publicly and
33  * display publicly. Beginning five (5) years after the date
34  * permission to assert copyright is obtained from the U.S. Department
35  * of Energy, and subject to any subsequent five (5) year renewals,
36  * the U.S. Government is granted for itself and others acting on its
37  * behalf a paid-up, nonexclusive, irrevocable, worldwide license in
38  * the Software to reproduce, prepare derivative works, distribute
39  * copies to the public, perform publicly and display publicly, and to
40  * permit others to do so.
41  */
42 
43 
45 {
46  { "`a", "\u00E0" }, /* Latin a with grave, à */
47  { "´a", "\u00E1" }, /* Latin a with acute, á */
48  { "^a", "\u00E2" }, /* Latin a with circumflex, â */
49  { "~a", "\u00E3" }, /* Latin a with tilde, ã */
50  { "\"a", "\u00E4" }, /* Latin a with diaeresis, ä */
51 /*{ "?", "\u00E5" },*/ /* Latin a with ring above, å */
52  { "va", "\u01CE" }, /* Latin a with caron, */
53 
54  { "`A", "\u00C0" }, /* Latin capital A with grave, À */
55  { "´A", "\u00C1" }, /* Latin capital A with acute, Á */
56  { "^A", "\u00C2" }, /* Latin capital A with circumflex, Â */
57  { "~A", "\u00C3" }, /* Latin capital A with tilde, Ã */
58  { "\"A", "\u00C4" }, /* Latin capital A with diaeresis, Ä */
59 /*{ "?", "\u00C5" },*/ /* Latin a with ring above, å */
60 
61  { "`e", "\u00E8" }, /* Latin e with grave, è */
62  { "´e", "\u00E9" }, /* Latin e with acute, é */
63  { "^e", "\u00EA" }, /* Latin e with circumflex, ê */
64  { "~e", "\u1EBD" }, /* Latin e with tilde, %Gẽ%@ */
65  { "\"e", "\u00EB" }, /* Latin e with diaeresis, ë */
66  { "ve", "\u011B" }, /* Latin e with caron, */
67 
68  { "`E", "\u00C8" }, /* Latin capital E with grave, È */
69  { "´E", "\u00C9" }, /* Latin capital E with acute, É */
70  { "^E", "\u00CA" }, /* Latin capital E with circumflex, Ê */
71  { "~E", "\u1EBC" }, /* Latin capital E with tilde, %GẼ%@ */
72  { "\"E", "\u00CB" }, /* Latin capital E with diaeresis, Ë */
73  { "vE", "\u011A" }, /* Latin capital e with caron, */
74 
75  { "`i", "\u00EC" }, /* Latin i with grave, ì */
76  { "´i", "\u00ED" }, /* Latin i with acute, í */
77  { "^i", "\u00EE" }, /* Latin i with circumflex, î */
78  { "~i", "\u0129" }, /* Latin i with tilde, %GÄ©%@ */
79  { "\"i", "\u00EF" }, /* Latin i with diaeresis, ï */
80 
81  { "`I", "\u00CC" }, /* Latin capital I with grave, Ì */
82  { "´I", "\u00CD" }, /* Latin capital I with acute, Í */
83  { "^I", "\u00CE" }, /* Latin capital I with circumflex, Î */
84  { "~I", "\u0128" }, /* Latin capital I with tilde, %GĨ%@ */
85  { "\"I", "\u00CF" }, /* Latin capital I with diaeresis, Ï */
86 
87  { "`u", "\u00F9" }, /* Latin u with grave, ù */
88  { "´u", "\u00FA" }, /* Latin u with acute, ú */
89  { "^u", "\u00FB" }, /* Latin u with circumflex, û */
90  { "~u", "\u0169" }, /* Latin u with tilde, %GÅ©%@ */
91  { "\"u", "\u00FC" }, /* Latin u with diaeresis, ü */
92 
93  { "`U", "\u00D9" }, /* Latin capital U with grave, Ù */
94  { "´U", "\u00DA" }, /* Latin capital U with acute, Ú */
95  { "^U", "\u00DB" }, /* Latin capital U with circumflex, Û */
96  { "~U", "\u0168" }, /* Latin capital U with tilde, %GŨ%@ */
97  { "\"U", "\u00DC" }, /* Latin capital U with diaeresis, Ü */
98 
99  { "`o", "\u00F2" }, /* Latin o with grave, ò */
100  { "´o", "\u00F3" }, /* Latin o with acute, ó */
101  { "^o", "\u00F4" }, /* Latin o with circumflex, ô */
102  { "~o", "\u00F5" }, /* Latin o with tilde, õ */
103  { "\"o", "\u00F6" }, /* Latin o with diaeresis, ö */
104 
105  { "`O", "\u00D2" }, /* Latin capital O with grave, Ò */
106  { "´O", "\u00D3" }, /* Latin capital O with acute, Ó */
107  { "^O", "\u00D4" }, /* Latin capital O with circumflex, Ô */
108  { "~O", "\u00D5" }, /* Latin capital O with tilde, Õ */
109  { "\"O", "\u00D6" }, /* Latin capital O with diaeresis, Ö */
110 
111  { "cc", "\u00E7" }, /* Latin c with cedilla, */
112  { "cC", "\u00C7" }, /* Latin capital C with cedilla */
113 
114  { "´y", "\u00FD" }, /* Latin y with acute, ý */
115  { "\"y", "\u00FF" }, /* Latin y with diaeresis, ÿ */
116 
117  { "´Y", "\u00DD" }, /* Latin capital Y with acute, Ý */
118  { "\"Y", "\u0178" }, /* Latin capital Y with diaeresis, %GŸ%@ */
119 
120  { "~n", "\u00F1" }, /* Latin n with tilde, ñ */
121 
122  { "~N", "\u00D1" }, /* Latin capital N with tilde, Ñ */
123 
124  { "´s", "\u015B" }, /* Latin s with acute, %GÅ›%@ */
125  { "cs", "\u015F" }, /* Latin s with cedilla, */
126  { "vs", "\u0161" }, /* Latin s with caron, */
127 
128  { "´S", "\u015A" }, /* Latin capital S with acute, %GÅš%@ */
129  { "cS", "\u015E" }, /* Latin capital S with cedilla, */
130  { "vS", "\u0160" }, /* Latin capital S with caron, */
131 
132  { "´z", "\u017A" }, /* Latin z with acute, %Gź%@ */
133  { "vz", "\u017E" }, /* Latin z with caron, */
134 
135  { "´Z", "\u0179" }, /* Latin capital Z with acute, %GŹ%@ */
136  { "vZ", "\u017D" }, /* Latin capital Z with caron, */
137 
138 
139  /* Standard symbols */
140  { "backslash", "\\" },
141  { "lbrace", "{" },
142  { "rbrace", "}" },
143  { "cent", "\u00A2" },
144  { "pounds", "\u00A3" },
145  { "euro", "\u20AC" },
146  { "S", "\u00A7" },
147  { "copyright", "\u00A9" },
148  { "registered", "\u00AE" },
149  { "trademark", "\u2122" },
150  { "P", "\u00B6" },
151  { "ae", "\u00E6" },
152  { "AE", "\u00C6" },
153  { "i", "\u0131" }, /* dotless i */
154  { "OE", "\u0152" },
155  { "oe", "\u0153" },
156 
157  { "dag", "\u2020" },
158  { "ddag", "\u2021" },
159  { "bullet", "\u2022" },
160  { "dots", "\u2026" },
161  { "fi", "\uFB01" },
162  { "fl", "\uFB02" },
163 
164  /* Capital Greek letters */
165  { "Alpha", "\u0391" },
166  { "Beta", "\u0392" },
167  { "Gamma", "\u0393" },
168  { "Delta", "\u2206" },
169  { "Epsilon", "\u0395" },
170  { "Zeta", "\u0396" },
171  { "Eta", "\u0397" },
172  { "Theta", "\u0398" },
173  { "Iota", "\u0399" },
174  { "Kappa", "\u039A" },
175  { "Lambda", "\u039B" },
176  { "Mu", "\u039C" },
177  { "Nu", "\u039D" },
178  { "Xi", "\u039E" },
179  { "Omicron", "\u039F" },
180  { "Pi", "\u03A0" },
181  { "Rho", "\u03A1" },
182  { "Sigma", "\u03A3" },
183  { "Tau", "\u03A4" },
184  { "Upsilon", "\u03D2" },
185  { "Phi", "\u03A6" },
186  { "Chi", "\u03A7" },
187  { "Psi", "\u03A8" },
188  { "Omega", "\u2126" },
189 
190  /* Greek letters */
191  { "alpha", "\u03B1" },
192  { "beta", "\u03B2" },
193  { "gamma", "\u03B3" },
194  { "delta", "\u03B4" },
195  { "epsilon", "\u03B5" },
196  { "zeta", "\u03B6" },
197  { "eta", "\u03B7" },
198  { "theta", "\u03B8" },
199  { "vartheta", "\u03D1" },
200  { "iota", "\u03B9" },
201  { "kappa", "\u03BA" },
202  { "lambda", "\u03BB" },
203  { "mu", "\u00B5" },
204  { "nu", "\u03BD" },
205  { "xi", "\u03BE" },
206  { "omicron", "\u03BF" },
207  { "pi", "\u03C0" },
208  { "varpi", "\u03D6" },
209  { "rho", "\u03C1" },
210  { "varsigma", "\u03C2" },
211  { "sigma", "\u03C3" },
212  { "tau", "\u03C4" },
213  { "upsilon", "\u03C5" },
214  { "phi", "\u03C6" },
215  { "varphi", "\u03D5" },
216  { "chi", "\u03C7" },
217  { "psi", "\u03C8" },
218  { "omega", "\u03C9" },
219 
220  /* Mathematical symbols */
221  { "infty", "\u221E" },
222 
223  { "approx", "\u2248" },
224  { "ne", "\u2260" },
225  { "neq", "\u2260" },
226  { "equiv", "\u2261" },
227  { "le", "\u2264" },
228  { "leq", "\u2264" },
229  { "ge", "\u2265" },
230  { "geq", "\u2265" },
231  { "cong", "\u2245" },
232  { "propto", "\u221D" },
233 
234  /* Math, logical */
235  { "lnot", "\u00AC" },
236  { "neg", "\u00AC" },
237  { "land", "\u2227" },
238  { "lor", "\u2228" },
239  { "cup", "\u222A" },
240  { "cap", "\u2229" },
241  { "sim", "\u223C" },
242 
243  /* Math, delimiters */
244  { "langle", "\u2329" },
245  { "rangle", "\u232A" },
246 
247  /* Operators */
248  { "oplus", "\u2295" },
249  { "otimes", "\u2297" },
250  { "times", "\u00D7" },
251  { "minus", "\u2212" }, /* Math minus, longer than '-' */
252  { "cdot", "\u22C5" },
253  { "pm", "\u00B1" },
254  { "div", "\u00F7" },
255  { "nabla", "\u2207" },
256  { "int", "\u222B" },
257  { "sum", "\u2211" },
258  { "prod", "\u220F" },
259  { "partial", "\u2202" },
260 
261  /* Logic, groups */
262  { "wp", "\u2118" },
263  { "aleph", "\u2135" },
264  { "Im", "\u2111" },
265  { "Re", "\u211C" },
266  { "forall", "\u2200" },
267  { "ni", "\u2209" },
268  { "exists", "\u2203" },
269  { "in", "\u2208" },
270  { "subset", "\u2282" },
271  { "supset", "\u2283" },
272  { "subseteq", "\u2286" },
273  { "supseteq", "\u2287" },
274  { "nothing", "\u2205" },
275 
276  /* Misc */
277  { "ast", "\u2217" },
278  { "surd", "\u221A" },
279  { "angle", "\u2220" },
280  { "perp", "\u22A5" },
281  { "therefore", "\u2234" },
282  { "lozenge", "\u25CA" }, /* unfilled diamond */
283 
284  /* Arrows */
285  { "leftarrow", "\u2190" },
286  { "uparrow", "\u2191" },
287  { "rightarrow", "\u2192" },
288  { "downarrow", "\u2193" },
289  { "leftrightarrow", "\u2194" },
290  { "Leftarrow", "\u21D0" },
291  { "Uparrow", "\u21D1" },
292  { "Rightarrow", "\u21D2" },
293  { "Downarrow", "\u21D3" },
294  { "Leftrightarrow", "\u21D4" },
295 
296  /* Unsorted -- postscript names */
297  { "minute", "\u2032" },
298  { "second", "\u2033" },
299  { "fraction", "\u2044" },
300  { "degree", "\u00B0" },
301  { "florin", "\u0192" }, /* function f */
302  { "suchthat", "\u220B" },
303  { "notsubset", "\u2284" },
304  { "spade", "\u2660" },
305  { "club", "\u2663" },
306  { "heart", "\u2665" },
307  { "diamond", "\u2666" }, /* filled diamond */
308 
309  /* End mark */
310  { NULL, NULL }
311 };
312 
313 
314 
315 
316 
317 
318 
319 
320 
321 
322 
323 
324 
325 
326 
327 
328 
329 
330 
static const Symbolname symbols[]
Chart of glyph symbol names.
Definition: fonts.hpp:138
Glyph symbol name entry.
Definition: fonts.hpp:122