mirror of
https://github.com/Ascyii/typstar.git
synced 2026-01-01 05:24:24 -05:00
refactor(snip): remove unnecessary priorities
This commit is contained in:
@@ -39,7 +39,7 @@ return {
|
||||
snip('oak', 'plus.circle ', {}, math),
|
||||
snip('bak', 'plus.square ', {}, math),
|
||||
snip('mak', 'plus.minus ', {}, math),
|
||||
snip('xx', 'times ', {}, math, 900),
|
||||
snip('xx', 'times ', {}, math),
|
||||
snip('oxx', 'times.circle ', {}, math),
|
||||
snip('bxx', 'times.square ', {}, math),
|
||||
snip('ff', '(<>) / (<>) <>', { i(1, 'a'), i(2, 'b'), i(3) }, math),
|
||||
@@ -55,14 +55,14 @@ return {
|
||||
-- sets
|
||||
-- 'st' to '{<>} in ./visual.lua
|
||||
snip('set', '{<> | <>}', { i(1), i(2) }, math),
|
||||
snip('es', 'emptyset ', {}, math, 900),
|
||||
snip('es', 'emptyset ', {}, math),
|
||||
snip('ses', '{emptyset} ', {}, math),
|
||||
snip('sp', 'supset ', {}, math),
|
||||
snip('sb', 'subset ', {}, math),
|
||||
snip('sep', 'supset.eq ', {}, math),
|
||||
snip('seb', 'subset.eq ', {}, math),
|
||||
snip('nn', 'inter ', {}, math, 900),
|
||||
snip('uu', 'union ', {}, math, 900),
|
||||
snip('nn', 'inter ', {}, math),
|
||||
snip('uu', 'union ', {}, math),
|
||||
snip('bnn', 'inter.big ', {}, math),
|
||||
snip('buu', 'union.big ', {}, math),
|
||||
snip('swo', 'without ', {}, math),
|
||||
@@ -75,22 +75,22 @@ return {
|
||||
snip('cc', 'cases(\n\t<>\n)\\', { i(1, '1') }, math),
|
||||
snip('([A-Za-z])o([A-Za-z0-9]) ', '<>(<>) ', { cap(1), cap(2) }, math, 100, {
|
||||
maxTrigLength = 4,
|
||||
blacklist = { 'bot ', 'cos ', 'cot ', 'dot ', 'log ', 'mod ', 'top ', 'won ', 'xor ' },
|
||||
blacklist = { 'bot ', 'cos ', 'cot ', 'dot ', 'log ', 'mod ', 'top ', 'won ', 'xor ' },
|
||||
}),
|
||||
snip('(K|M|N|Q|R|S|Z)([\\dn]) ', '<><>^<> ', { cap(1), cap(1), cap(2) }, math),
|
||||
|
||||
snip('dx', 'dif / (dif <>) ', { i(1, 'x') }, math, 900),
|
||||
snip('dx', 'dif / (dif <>) ', { i(1, 'x') }, math),
|
||||
snip('ddx', '(dif <>) / (dif <>) ', { i(1, 'f'), i(2, 'x') }, math),
|
||||
snip('DX', 'diff / (diff <>) ', { i(1, 'x') }, math, 900),
|
||||
snip('DX', 'diff / (diff <>) ', { i(1, 'x') }, math),
|
||||
snip('DDX', '(diff <>) / (diff <>) ', { i(1, 'f'), i(2, 'x') }, math),
|
||||
snip('part', 'partial ', {}, math, 1600),
|
||||
|
||||
snip('it', 'integral ', {}, math, 900),
|
||||
snip('it', 'integral ', {}, math),
|
||||
snip('int', 'integral_(<>)^(<>) ', { i(1, 'a'), i(2, 'b') }, math),
|
||||
snip('oit', 'integral.cont_(<>) ', { i(1, 'C') }, math),
|
||||
snip('dit', 'integral_(<>) ', { i(1, 'Omega') }, math),
|
||||
|
||||
snip('sm', 'sum ', {}, math, 900),
|
||||
snip('sm', 'sum ', {}, math),
|
||||
snip('sum', 'sum_(<>)^(<>) ', { i(1, 'k=1'), i(2, 'oo') }, math),
|
||||
snip('dsm', 'sum_(<>) ', { i(1, 'Omega') }, math),
|
||||
|
||||
@@ -105,7 +105,7 @@ return {
|
||||
'lim<><> ',
|
||||
{ cap(2), cap(1) },
|
||||
math,
|
||||
1000,
|
||||
nil,
|
||||
{ maxTrigLength = 25 }
|
||||
),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user