Test Lua filter converting display math to inline math

This commit is contained in:
Alexander Krotov
2018-04-29 16:20:38 +03:00
parent 5ce91a7e01
commit 4139e3e92b
2 changed files with 18 additions and 1 deletions
+10
View File
@@ -0,0 +1,10 @@
return {
{
Math = function (elem)
if elem.mathtype == "DisplayMath" then
elem.mathtype = "InlineMath"
end
return elem
end,
}
}