summaryrefslogtreecommitdiffstats
path: root/lua/Snippets/tex/chemistry.lua
blob: 3446fba911767128be6b58349ec6beb1184eab65 (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
local tex = require('Snippets.luasniphelperslatex')
local helper = require('Snippets.luasniphelpers')

return {

	s({ trig = 'nvc', snippetType = 'autosnippet' },
		{
			t('\\invacuo '),
		}
	),

	s({ trig = 'nmr', snippetType = 'autosnippet' },
		{
			t('\\NMR* '),
		}
	),

	s({ trig = 'chmr', snippetType = 'autosnippet' },
		fmta(
			'\\ch{ <> ->>[ <> ][ <> ] <> }\\par',
			{
				i(1),
				i(2),
				i(3),
				i(4),
			}
		)
	),

	s({ trig = 'chmi', snippetType = 'autosnippet' },
		fmta(
			'\\ch{ <> }',
			{
				i(1),
			}
		)
	),
}