legacy-code-converter/constants.py

34 lines
581 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',
}
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-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'
}