summaryrefslogtreecommitdiff
path: root/tex/context/base/math-ini.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/math-ini.lua')
-rw-r--r--tex/context/base/math-ini.lua19
1 files changed, 15 insertions, 4 deletions
diff --git a/tex/context/base/math-ini.lua b/tex/context/base/math-ini.lua
index 46c366c3e..af9a8495e 100644
--- a/tex/context/base/math-ini.lua
+++ b/tex/context/base/math-ini.lua
@@ -85,10 +85,21 @@ local codes = allocate {
variable = 7, [7] = "variable",
}
-mathematics.classes = classes
-mathematics.codes = codes
------------.accents = codes
-mathematics.families = families
+local arrowtypes = allocate {
+ l = "left",
+ r = "right",
+ u = "up",
+ d = "down",
+ h = "horizontal", -- double : lr or rl
+ v = "vertical", -- double : ud or du
+ m = "mixed",
+}
+
+mathematics.arrowtypes = arrowtypes
+mathematics.classes = classes
+mathematics.codes = codes
+-----------.accents = codes
+mathematics.families = families
classes.alphabetic = classes.alpha
classes.unknown = classes.nothing