mirror of
https://github.com/Ascyii/typstar.git
synced 2026-01-01 05:24:24 -05:00
Removed all the default inserts
This commit is contained in:
@@ -33,6 +33,16 @@ return {
|
||||
snip('ne', '!= ', {}, math),
|
||||
snip('ge', '>>= ', {}, math),
|
||||
|
||||
-- custom
|
||||
snip('mm', '- ', {}, math),
|
||||
snip('pl', '+ ', {}, math),
|
||||
snip('nl', '\\ \n<>', {i(1)}, math),
|
||||
snip('pm', '+- ', {}, math),
|
||||
snip('nx', ', space ', {}, math),
|
||||
snip('nbx', ', quad ', {}, math),
|
||||
snip('ta', 'star ', {}, math),
|
||||
snip('del', 'Delta ', {}, math),
|
||||
|
||||
-- operators
|
||||
snip('ak([^k ])', '+ <>', { cap(1) }, math, 100, { wordTrig = false }),
|
||||
snip('sk([^k ])', '- <>', { cap(1) }, math, 100, { wordTrig = false }),
|
||||
@@ -42,7 +52,7 @@ return {
|
||||
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),
|
||||
snip('ff', '(<>) / (<>) <>', { i(1), i(2), i(3) }, math),
|
||||
snip('nab', 'arrow(nabla) ', {}, math),
|
||||
|
||||
-- exponents
|
||||
@@ -74,7 +84,7 @@ return {
|
||||
snip('mt', '|->> ', {}, math),
|
||||
snip('Oo', 'compose ', {}, math),
|
||||
snip('iso', 'tilde.equiv ', {}, math),
|
||||
snip('cc', 'cases(\n\t<>\n)\\', { i(1, '1') }, math),
|
||||
snip('cc', 'cases(\n\t<>\n)\\', { i(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 ' },
|
||||
@@ -88,6 +98,7 @@ return {
|
||||
snip('part', 'partial ', {}, math, 1600),
|
||||
snip('it', 'integral ', {}, math),
|
||||
snip('iot', 'integral.vol ', {}, math),
|
||||
snip('ift', 'integral.surf ', {}, 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),
|
||||
|
||||
Reference in New Issue
Block a user