diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/tr2latex/maths.h |
Initial commit
Diffstat (limited to 'support/tr2latex/maths.h')
-rw-r--r-- | support/tr2latex/maths.h | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/support/tr2latex/maths.h b/support/tr2latex/maths.h new file mode 100644 index 0000000000..5f59797c52 --- /dev/null +++ b/support/tr2latex/maths.h @@ -0,0 +1,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 |