Builtin macros, macro arguments, overset and underset

* Ship predefined macros with the library, in macros.js.
* Allow macro arguments #1 and so on, with argument count deduced from string.
* Use these features to implement \overset and \underset, fixes #484.
This commit is contained in:
Martin von Gagern
2017-01-06 18:52:50 +01:00
parent 40ec1b92b8
commit 7ec455083f
5 changed files with 98 additions and 3 deletions

View File

@@ -39,7 +39,7 @@
"no-with": 2,
"one-var": [2, "never"],
"prefer-const": 2,
"prefer-spread": 2,
"prefer-spread": 0, // re-enable once we use es6
"semi": [2, "always"],
"space-before-blocks": 2,
"space-before-function-paren": [2, "never"],