legacy-code-converter/constants.py

39 lines
694 B
Python
Raw Normal View History

2022-02-16 14:47:29 +01:00
ENVIRONMENTS = {
'prop': 'proposition',
'satz': 'theorem',
'kor': 'corollary',
'bsp': 'example',
'bem': 'remark',
2022-02-17 13:21:34 +01:00
'thm': 'theorem',
'cor': 'corollary',
2022-02-16 14:47:29 +01:00
}
ALPHABETS = {
'b': 'mathbb',
'c': 'mathcal',
'f': 'mathfrak',
'': 'mathbb',
}
DEPRECATED = {
r'\eps': r'\varepsilon',
r'\inv': r'^{-1}',
r'\se': r'\subseteq',
r'\sm': r'\setminus',
r'\st': r'^{\ast}',
2022-02-17 13:21:34 +01:00
r'\Tens': r'\tensor',
r'\ann': r'\Ann',
r'\Id': r'\id'
2022-02-16 14:47:29 +01:00
}
2022-02-16 17:23:29 +01:00
UNICODE = {
'': r'\exists',
'': r'\forall',
'': r'\mathbb{N}',
'': r'\mathbb{Z}',
'Λ': r'\Lambda',
'': r'\iff',
'': r'\implies',
'': r'\impliedby'
}