mirror of
https://github.com/Ascyii/typstar.git
synced 2026-01-01 13:34:24 -05:00
fix(snip): use centered dots in matrices
This commit is contained in:
@@ -61,7 +61,7 @@ local lmat = function(_, sp)
|
|||||||
ins_indx = ins_indx + 1
|
ins_indx = ins_indx + 1
|
||||||
for k = 2, cols do
|
for k = 2, cols do
|
||||||
table.insert(nodes, t(', '))
|
table.insert(nodes, t(', '))
|
||||||
if k == cols then table.insert(nodes, t('dots, ')) end
|
if k == cols then table.insert(nodes, t('dots.c, ')) end
|
||||||
if j == k then
|
if j == k then
|
||||||
table.insert(nodes, r(ins_indx, tostring(j) .. 'x' .. tostring(k), i(1, '1')))
|
table.insert(nodes, r(ins_indx, tostring(j) .. 'x' .. tostring(k), i(1, '1')))
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user