minor(snip): add fox for f(x) and variations

This commit is contained in:
arne314
2025-04-27 00:10:08 +02:00
parent daed44d47a
commit 28046452a7
2 changed files with 3 additions and 2 deletions

View File

@@ -134,5 +134,5 @@ return {
snip('(' .. trigger_index_pre .. ') ot(\\w+) ', '<> ', { d(1, get_series) }, math, 1000, true, 13), -- a_1, a_2, ... a_j or a_1, a_2, a_2, a_3, a_4, a_5 snip('(' .. trigger_index_pre .. ') ot(\\w+) ', '<> ', { d(1, get_series) }, math, 1000, true, 13), -- a_1, a_2, ... a_j or a_1, a_2, a_2, a_3, a_4, a_5
-- misc -- misc
snip('(' .. trigger_index_pre .. ')bl', 'B_<> (<>)', { cap(1), i(1, 'x_0') }, math), snip('(' .. trigger_index_pre .. ')bl', 'B_<> (<>) ', { cap(1), i(1, 'x_0') }, math, 100, true),
} }

View File

@@ -19,7 +19,7 @@ return {
snip('een', 'exists epsilon>>0 ', {}, math), snip('een', 'exists epsilon>>0 ', {}, math),
-- boolean logic -- boolean logic
snip('no', 'not ', {}, math), snip('not', 'not ', {}, math),
snip('ip', '==>> ', {}, math), snip('ip', '==>> ', {}, math),
snip('ib', '<<== ', {}, math), snip('ib', '<<== ', {}, math),
snip('iff', '<<==>> ', {}, math), snip('iff', '<<==>> ', {}, math),
@@ -73,6 +73,7 @@ return {
snip('Oo', 'compose ', {}, math), snip('Oo', 'compose ', {}, math),
snip('iso', 'tilde.equiv ', {}, math), snip('iso', 'tilde.equiv ', {}, math),
snip('cc', 'cases(\n\t<>\n)\\', { i(1, '1') }, math), 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, true, 3),
snip('(K|M|N|Q|R|S|Z)([\\dn]) ', '<><>^<> ', { cap(1), cap(1), cap(2) }, math), 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, 900),