system-of-equation-s-

This commit is contained in:
David Carlisle 2025-02-23 20:41:26 +00:00
parent 7b0890ba24
commit 11ac18a6f5

View File

@ -126,7 +126,7 @@ lua.get_functions_table()[funcid] = function()
mml_table.class=kind mml_table.class=kind
-- this should perhaps be configurable and extendable -- this should perhaps be configurable and extendable
if kind == 'align' or 'alignat' or 'flalign' or 'xalignat' or 'xxalignat' then if kind == 'align' or 'alignat' or 'flalign' or 'xalignat' or 'xxalignat' then
mml_table.intent=":system-of-equation" mml_table.intent=":system-of-equations"
end end
local columns = node.count(node.id'align_record', tex.lists.align_head)//2 local columns = node.count(node.id'align_record', tex.lists.align_head)//2
mml_table.columnalign = kind == 'align' and 'left '..string.rep('right left', columns, ' ') or nil mml_table.columnalign = kind == 'align' and 'left '..string.rep('right left', columns, ' ') or nil