From ae0e55e3d151b03b4a01653ecc525b2bd8bf3055 Mon Sep 17 00:00:00 2001 From: Fabrice Mouhartem Date: Tue, 14 May 2024 16:00:46 +0200 Subject: [PATCH] LaTeX snippets: add skips --- luasnippets/tex.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/luasnippets/tex.lua b/luasnippets/tex.lua index 124f36d..359f88b 100644 --- a/luasnippets/tex.lua +++ b/luasnippets/tex.lua @@ -45,4 +45,16 @@ return { s({ trig = "ii", dscr = "Insert an item" }, fmt("\\item ", {}) ), + + s({ trig = "ss", dscr = "Insert a small skip" }, + fmt("\\smallskip", {}) + ), + + s({ trig = "ms", dscr = "Insert a medium skip" }, + fmt("\\medskip", {}) + ), + + s({ trig = "bs", dscr = "Insert a big skip" }, + fmt("\\bigskip", {}) + ), }