summaryrefslogtreecommitdiffstats
path: root/lua/Snippets/tex/symbols.lua
blob: 76fc3c2de554000cd63802fb93fb362f3eae2f61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
local tex = require('Snippets.luasniphelperslatex')
local helper = require('Snippets.luasniphelpers')

return {

	s({ trig = 'inf', snippetType = 'autosnippet' },
		{
			t('\\infty '),
		},
		{ condition = tex.in_mathzone }
	),

	s({ trig = 'nab', snippetType = 'autosnippet' },
		{
			t('\\nabla '),
		},
		{ 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 '),
		},
		{ condition = tex.in_mathzone }
	),
}