feat(snip): bare integral (#5)

* feat!: `it` to `integral`, `int` for old behaviour

* fix: formatting errors

---------

Co-authored-by: arne314 <73391160+arne314@users.noreply.github.com>
This commit is contained in:
Linus
2025-01-09 21:53:05 +01:00
committed by GitHub
parent f41358491f
commit 7d2b3e852d

View File

@@ -71,9 +71,10 @@ return {
snip('(.*)kk', '<>^(<>)', { cap(1), i(1, 'n') }, math), snip('(.*)kk', '<>^(<>)', { cap(1), i(1, 'n') }, math),
snip('ddx', '(d <>)(d <>)', { i(1, 'f'), i(2, 'x') }, math), snip('ddx', '(d <>)(d <>)', { i(1, 'f'), i(2, 'x') }, math),
snip('it', 'integral_(<>)^(<>)', { i(1, 'a'), i(2, 'b') }, math), snip('it', 'integral', {}, math),
snip('oit', 'integral_(Omega}', {}, math), snip('int', 'integral_(<>)^(<>)', { i(1, 'a'), i(2, 'b') }, math),
snip('dit', 'integral_{<>}', { i(1, 'Omega') }, math), snip('oit', 'integral_Omega', {}, math),
snip('dit', 'integral_(<>)', { i(1, 'Omega') }, math),
snip('sm', 'sum ', {}, math), snip('sm', 'sum ', {}, math),
snip('sum', 'sum_(<>)^(<>)', { i(1, 'i=0'), i(2, 'oo') }, math), snip('sum', 'sum_(<>)^(<>)', { i(1, 'i=0'), i(2, 'oo') }, math),