summaryrefslogtreecommitdiff
path: root/support/tr2latex/maths.h
blob: 5f59797c52bf8b956e2775cfaf2ff8b8c852840b (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
#ifndef MATHS__H
#define MATHS__H

/*
** tr2latex - troff to LaTeX converter
** COPYRIGHT (C) 1987 Kamal Al-Yahya, 1991,1992 Christian Engel
**
** Module: maths.h
**
** This file contains a list of the words that have simple
** correspondence in the two languages.
** Do not put here words that require action (like sub).
** If the word is identical in the two languages (except for TeX's backslash),
** put it in simil.h
*/

struct math_equiv {
	const char *troff_symb, *tex_symb;
} math[] = {
/*	troff name		TeX name		*/
	{ "!=",         "\\neq" },
	{ "+-",			"\\pm" },
	{ ",...,",		",\\ldots," },
	{ "-+",			"\\mp" },
	{ "->",			"\\to" },
	{ "...",		"\\cdots" },
	{ "<-",			"\\gets" },
	{ "<<",			"\\gg" },
	{ "<=",			"\\le" },
	{ "==",			"\\equiv" },
	{ ">=",			"\\ge" },
	{ ">>",			"\\ll" },
	{ "^",			"\\," },
	{ "above",		"\\cr" },
	{ "ccol",		"\\matrix" },
	{ "col",		"\\matrix" },
	{ "cpile",		"\\matrix" },
	{ "del",		"\\nabla" },
	{ "fat",		"\\boldmath" },
	{ "grad",		"\\nabla" },
	{ "half",		"{1\\over 2}" },
	{ "inf",		"\\infty" },
	{ "inter",		"\\cap" },
	{ "lcol",		"\\matrix" },
	{ "lineup",		"" },
	{ "lpile",		"\\matrix" },
	{ "mark",		"" },
	{ "nothing",	"{}" },
	{ "pile",		"\\matrix" },
	{ "rcol",		"\\matrix" },
	{ "rpile",		"\\matrix" },
	{ "union",		"\\cup" },
	{ "~",			"\\ " },
};

#endif