mirror of
https://github.com/Ascyii/typstar.git
synced 2026-01-01 13:34:24 -05:00
feat(snip): sets and implications (#6)
* feat: `ip` and `ib` for implications * fix: string escaping * feat: add curly brackets * feat: replace st (set) with visual snippet
This commit is contained in:
@@ -20,6 +20,8 @@ return {
|
||||
|
||||
-- boolean logic
|
||||
snip('no', 'not ', {}, math),
|
||||
snip('ip', '==>> ', {}, math),
|
||||
snip('ib', '<<== ', {}, math),
|
||||
|
||||
-- relations
|
||||
snip('el', '= ', {}, math),
|
||||
@@ -41,7 +43,8 @@ return {
|
||||
snip('bxx', 'times.square ', {}, math),
|
||||
|
||||
-- sets
|
||||
snip('set', '{<>}', { i(1) }, math),
|
||||
-- 'st' to '{<>} in ./visual.lua
|
||||
snip('set', '{<>|<>}', { i(1), i(2) }, math),
|
||||
snip('es', 'emptyset ', {}, math),
|
||||
snip('ses', '{emptyset} ', {}, math),
|
||||
snip('sp', 'supset ', {}, math),
|
||||
|
||||
Reference in New Issue
Block a user