From 4ccaccb6b9848380a9f888211e19a5794b7b4462 Mon Sep 17 00:00:00 2001 From: Nanderty Date: Mon, 23 Sep 2024 18:31:13 +0200 Subject: add additional snippets for math. --- lua/Snippets/tex/math.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'lua/Snippets/tex/math.lua') diff --git a/lua/Snippets/tex/math.lua b/lua/Snippets/tex/math.lua index 256ce10..25a7db9 100644 --- a/lua/Snippets/tex/math.lua +++ b/lua/Snippets/tex/math.lua @@ -179,6 +179,20 @@ return { { condition = tex.in_mathzone } ), + s({ trig = 'bgg', snippetType = 'autosnippet' }, + { + t('\\bigg'), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'rvr', snippetType = 'autosnippet' }, + { + t('\\rvert'), + }, + { condition = tex.in_mathzone } + ), + s({ trig = "sin", snippetType = "autosnippet" }, fmta( '\\sin{\\left(<>\\right)}', -- cgit v1.2.3