diff options
Diffstat (limited to 'lua/Snippets/tex/symbols.lua')
| -rw-r--r-- | lua/Snippets/tex/symbols.lua | 78 |
1 files changed, 75 insertions, 3 deletions
diff --git a/lua/Snippets/tex/symbols.lua b/lua/Snippets/tex/symbols.lua index f0cd088..c2ca1d0 100644 --- a/lua/Snippets/tex/symbols.lua +++ b/lua/Snippets/tex/symbols.lua @@ -2,21 +2,93 @@ local tex = require('Snippets.luasniphelperslatex') local helper = require('Snippets.luasniphelpers') return { + s({ trig = 'del', snippetType = 'autosnippet' }, + { + t('\\delta '), + }, + { condition = tex.in_mathzone } + ), + s({ trig = 'phi', snippetType = 'autosnippet' }, + { + t('\\phi '), + }, + { condition = tex.in_mathzone } + ), + s({ trig = 'Phi', snippetType = 'autosnippet' }, + { + t('\\Phi '), + }, + { condition = tex.in_mathzone } + ), s({ trig = 'pi', snippetType = 'autosnippet' }, { - t('\\pi'), + t('\\pi '), + }, + { condition = tex.in_mathzone } + ), + s({ trig = 'nab', snippetType = 'autosnippet' }, + { + t('\\nabla '), + }, + { condition = tex.in_mathzone } + ), + s({ trig = 'mu', snippetType = 'autosnippet' }, + { + t('\\mu '), + }, + { condition = tex.in_mathzone } + ), + s({ trig = 'eps', snippetType = 'autosnippet' }, + { + t('\\epsilon '), + }, + { condition = tex.in_mathzone } + ), + s({ trig = '0mu', snippetType = 'autosnippet' }, + { + t('\\mu_0 '), }, { condition = tex.in_mathzone } ), s({ trig = '0eps', snippetType = 'autosnippet' }, { - t('\\epsilon_0'), + t('\\epsilon_0 '), + }, + { condition = tex.in_mathzone } + ), + s({ trig = 'cdo', snippetType = 'autosnippet' }, + { + t('\\cdot '), + }, + { condition = tex.in_mathzone } + ), + s({ trig = 'tim', snippetType = 'autosnippet' }, + { + t('\\times '), }, { condition = tex.in_mathzone } ), s({ trig = 'app', snippetType = 'autosnippet' }, { - t('\\approx'), + t('\\approx '), + }, + { condition = tex.in_mathzone } + ), + s({ trig = 'leq', snippetType = 'autosnippet' }, + { + t('\\leq '), + }, + { condition = tex.in_mathzone } + ), + s({ trig = 'geq', snippetType = 'autosnippet' }, + { + t('\\geq '), + }, + { condition = tex.in_mathzone } + ), + s({ trig = 'neq', snippetType = 'autosnippet' }, + { + t('\\neq '), }, { condition = tex.in_mathzone } ), |
