aboutsummaryrefslogtreecommitdiff
path: root/test/lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/lua')
-rw-r--r--test/lua/math.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/lua/math.lua b/test/lua/math.lua
new file mode 100644
index 000000000..34307dd9e
--- /dev/null
+++ b/test/lua/math.lua
@@ -0,0 +1,10 @@
+return {
+ {
+ Math = function (elem)
+ if elem.mathtype == "DisplayMath" then
+ elem.mathtype = "InlineMath"
+ end
+ return elem
+ end,
+ }
+}