diff --git a/luamml-amsmath.lua b/luamml-amsmath.lua index 1175481..d4f24aa 100644 --- a/luamml-amsmath.lua +++ b/luamml-amsmath.lua @@ -57,7 +57,7 @@ do mml_table.columnalign = kind == 'gathered' and 'center' or string.rep('right left', columns, ' ') local spacing = {} for n in node.traverse_id(node.id'glue', tex.lists.align_head) do - spacing[#spacing+1] = n.width == 0 and '0' or string.format('%.3f', n.width/65781.76) + spacing[#spacing+1] = n.width == 0 and '0' or string.format('%.3fpt', n.width/65781.76) end mml_table.columnspacing = #spacing > 3 and table.concat(spacing, ' ', 2, #spacing-2) or nil saved = mml_table diff --git a/luamml-patches-amsmath.sty b/luamml-patches-amsmath.sty index f25da9b..df40dab 100644 --- a/luamml-patches-amsmath.sty +++ b/luamml-patches-amsmath.sty @@ -16,7 +16,7 @@ \fi \savecolumn@ % Assumption: called inside a group \luamml_annotate:en { - nucleus = true, core = false + core = false } { \alignedspace@left } @@ -69,7 +69,7 @@ \nonmatherr@ { \begin {gathered} } \fi \luamml_annotate:en { - nucleus = true, core = false + core = false } { \alignedspace@left }