diff --git a/nvim/.config/nvim/UltiSnips/tex.snippets b/nvim/.config/nvim/UltiSnips/tex.snippets new file mode 100644 index 0000000..2c113b8 --- /dev/null +++ b/nvim/.config/nvim/UltiSnips/tex.snippets @@ -0,0 +1,49 @@ +snippet eq +\begin{equation*} + $1 +\end{equation*} +endsnippet + +snippet al +\begin{aligned} + $1 +\end{aligned} +endsnippet + +snippet fr +\frac{$1}{$2} +endsnippet + +snippet sec +\section*{$1} +endsnippet + +snippet ssec +\subsection*{$1} +endsnippet + +snippet alist +\begin{enumerate}[label=\alph*)] + $1 +\end{enumerate} +endsnippet + +snippet li +\item +endsnippet + +snippet sum +\sum_{$1}^{$2} $3 +endsnippet + +snippet rel +\text{Rel}($1) +endsnippet + +snippet a +\alpha +endsnippet + +snippet e +\epsilon +endsnippet