Small fixes
This commit is contained in:
parent
77b607e2e2
commit
d4c6d493d2
@ -57,7 +57,7 @@ do
|
|||||||
mml_table.columnalign = kind == 'gathered' and 'center' or string.rep('right left', columns, ' ')
|
mml_table.columnalign = kind == 'gathered' and 'center' or string.rep('right left', columns, ' ')
|
||||||
local spacing = {}
|
local spacing = {}
|
||||||
for n in node.traverse_id(node.id'glue', tex.lists.align_head) do
|
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
|
end
|
||||||
mml_table.columnspacing = #spacing > 3 and table.concat(spacing, ' ', 2, #spacing-2) or nil
|
mml_table.columnspacing = #spacing > 3 and table.concat(spacing, ' ', 2, #spacing-2) or nil
|
||||||
saved = mml_table
|
saved = mml_table
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
\fi
|
\fi
|
||||||
\savecolumn@ % Assumption: called inside a group
|
\savecolumn@ % Assumption: called inside a group
|
||||||
\luamml_annotate:en {
|
\luamml_annotate:en {
|
||||||
nucleus = true, core = false
|
core = false
|
||||||
} {
|
} {
|
||||||
\alignedspace@left
|
\alignedspace@left
|
||||||
}
|
}
|
||||||
@ -69,7 +69,7 @@
|
|||||||
\nonmatherr@ { \begin {gathered} }
|
\nonmatherr@ { \begin {gathered} }
|
||||||
\fi
|
\fi
|
||||||
\luamml_annotate:en {
|
\luamml_annotate:en {
|
||||||
nucleus = true, core = false
|
core = false
|
||||||
} {
|
} {
|
||||||
\alignedspace@left
|
\alignedspace@left
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user