summaryrefslogtreecommitdiffstats
path: root/lua/Snippets/tex/symbols.lua
diff options
context:
space:
mode:
authorNanderty <psopka@sopka.ch>2023-05-01 10:29:09 +0200
committerNanderty <psopka@sopka.ch>2023-05-01 10:29:09 +0200
commit5b86f069582eaff5d360e62e28dcaba3aee9de47 (patch)
tree6722f448c2f272ee6fd195eaf53adb58ff4b889a /lua/Snippets/tex/symbols.lua
parentd37f266e7719a67faa99b3ec62e9a51f0033cfc2 (diff)
downloadneovim-config-5b86f069582eaff5d360e62e28dcaba3aee9de47.tar.gz
neovim-config-5b86f069582eaff5d360e62e28dcaba3aee9de47.tar.bz2
neovim-config-5b86f069582eaff5d360e62e28dcaba3aee9de47.zip
Greek
Diffstat (limited to 'lua/Snippets/tex/symbols.lua')
-rw-r--r--lua/Snippets/tex/symbols.lua81
1 files changed, 12 insertions, 69 deletions
diff --git a/lua/Snippets/tex/symbols.lua b/lua/Snippets/tex/symbols.lua
index ccce14e..76fc3c2 100644
--- a/lua/Snippets/tex/symbols.lua
+++ b/lua/Snippets/tex/symbols.lua
@@ -2,123 +2,66 @@ local tex = require('Snippets.luasniphelperslatex')
local helper = require('Snippets.luasniphelpers')
return {
- s({ trig = 'chi', snippetType = 'autosnippet' },
- {
- t('\\chi'),
- },
- { condition = tex.in_mathzone }
- ),
- s({ trig = 'sig', snippetType = 'autosnippet' },
- {
- t('\\sigma'),
- },
- { condition = tex.in_mathzone }
- ),
- s({ trig = 'nu', snippetType = 'autosnippet' },
- {
- t('\\nu'),
- },
- { condition = tex.in_mathzone }
- ),
- s({ trig = 'alp', snippetType = 'autosnippet' },
- {
- t('\\alpha'),
- },
- { condition = tex.in_mathzone }
- ),
- 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' },
+
+ s({ trig = 'inf', snippetType = 'autosnippet' },
{
- t('\\pi '),
+ t('\\infty '),
},
{ 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 '),
- },
- { 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 '),
},
{ 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 }
),
+
s({ trig = 'Ria', snippetType = 'autosnippet' },
{
- t('\\Rightarrow'),
+ t('\\Rightarrow '),
},
{ condition = tex.in_mathzone }
),