From 639b3d60671ed5c71c66bc9c36132d31cb3a85f1 Mon Sep 17 00:00:00 2001 From: jdhao Date: Tue, 5 Apr 2022 00:43:01 +0800 Subject: [PATCH] update tex snippets --- my_snippets/tex.snippets | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/my_snippets/tex.snippets b/my_snippets/tex.snippets index 189d9f9..fac3f3d 100644 --- a/my_snippets/tex.snippets +++ b/my_snippets/tex.snippets @@ -1,3 +1,9 @@ -snippet frac "Math fractions" -\frac{${1:NUM}}{${2:DEN}} $0 +snippet use "usepackage" b +\usepackage{${1:package}} +endsnippet + +snippet eqa "equation enviroment" b +\begin{equation}\label{$1} + $2 +\end{equation} endsnippet