feat(snip): domain sum (#7)

* feat: sums over domains `osm` `dsm`

* fix: consitency of sum snippets

* fix: add space to sum snippet

---------

Co-authored-by: arne314 <73391160+arne314@users.noreply.github.com>
This commit is contained in:
Linus
2025-01-09 21:32:50 +01:00
committed by GitHub
parent 820da200ab
commit f41358491f

View File

@@ -74,7 +74,11 @@ return {
snip('it', 'integral_(<>)^(<>)', { i(1, 'a'), i(2, 'b') }, math),
snip('oit', 'integral_(Omega}', {}, math),
snip('dit', 'integral_{<>}', { i(1, 'Omega') }, math),
snip('sm', 'sum_(<>)^(<>)', { i(1, 'i=0'), i(2, 'oo') }, math),
snip('sm', 'sum ', {}, math),
snip('sum', 'sum_(<>)^(<>)', { i(1, 'i=0'), i(2, 'oo') }, math),
snip('osm', 'sum_Omega', {}, math),
snip('dsm', 'sum_(<>)', { i(1, 'I') }, math),
snip('lm', 'lim <>', { i(1, 'a_n') }, math),
snip('lim', 'lim_(<> ->> <>) <>', { i(1, 'n'), i(2, 'oo'), i(3, 'a_n') }, math),