From 2bc02b8fb239fd60f2adec19037ec09ef9419f47 Mon Sep 17 00:00:00 2001 From: ray Date: Fri, 22 Oct 2021 20:48:51 +0100 Subject: [PATCH] update --- UltiSnips/markdown.snippets | 39 ++++++++++++++++++++++++++++++++----- 1 file changed, 34 insertions(+), 5 deletions(-) diff --git a/UltiSnips/markdown.snippets b/UltiSnips/markdown.snippets index 3bc81ff..d2a596c 100644 --- a/UltiSnips/markdown.snippets +++ b/UltiSnips/markdown.snippets @@ -1,5 +1,5 @@ snippet l "[...](...)" -[${1:title}](${2:url}) +[${1:title}](${2:url})$0 endsnippet snippet c "``` ..." @@ -8,14 +8,43 @@ snippet c "``` ..." endsnippet # latex -snippet vc "vector" -\\begin{bmatrix} $1 \\\\ $2 \\end{bmatrix} +snippet vec "vector" +\\begin{bmatrix} $1 \\\\ $2 \\end{bmatrix}$0 endsnippet snippet mx "matrix" -\\begin{bmatrix} $1 & $2 \\\\ $3 & $4 \\end{bmatrix} +\\begin{bmatrix} $1 & $2 \\\\ $3 & $4 \\end{bmatrix}$0 +endsnippet + +snippet lim "limit" +\\lim{$1 \\to $2}$0 +endsnippet + +snippet sum "sum" +\\sum_{$1}^{$2}$0 +endsnippet + +snippet fr "fraction" +\\frac{$1}{$2}$0 +endsnippet + +snippet br "{}" +\\lbrace $1 \\rbrace$0 +endsnippet + +snippet | "|...|" +\\lvert $1 \\rvert$0 +endsnippet + +snippet || "|...|" +\\lVert $1 \\rVert$0 +endsnippet + +snippet ds "displaystyle" +\\displaystyle$0 endsnippet snippet lmb "lambda" i -\\lambda $0 +\\lambda$0 endsnippet +