vimrc
This commit is contained in:
45
vim/UltiSnips/markdown_tex.snippets
Normal file
45
vim/UltiSnips/markdown_tex.snippets
Normal file
@ -0,0 +1,45 @@
|
||||
snippet tex "Inline Latex" i
|
||||
\\\\( ${1:${VISUAL}} \\\\) $0
|
||||
endsnippet
|
||||
|
||||
snippet Tex "Latex block" b
|
||||
\\\\[
|
||||
${1:${VISUAL}}
|
||||
\\\\]
|
||||
$0
|
||||
endsnippet
|
||||
|
||||
snippet bb "mathbb" i
|
||||
\mathbb{${1:${VISUAL:R}}} $0
|
||||
endsnippet
|
||||
|
||||
snippet in "\in" i
|
||||
\in $0
|
||||
endsnippet
|
||||
|
||||
snippet text "implement text in tex" i
|
||||
\text{ ${1:${VISUAL:text}} } $0
|
||||
endsnippet
|
||||
|
||||
snippet quad "small space (like a tab)" i
|
||||
\quad $0
|
||||
endsnippet
|
||||
|
||||
snippet br "break a line in tex mode" i
|
||||
\\\\\\\\
|
||||
$0
|
||||
endsnippet
|
||||
|
||||
snippet frac "fractions" i
|
||||
\frac{$1}{$2} $0
|
||||
endsnippet
|
||||
|
||||
snippet beg "Beggin and end with the cursor on the type" i
|
||||
\begin{${1:matrix}}}
|
||||
${2:${VISUAL}}
|
||||
\end{$1}
|
||||
endsnippet
|
||||
|
||||
snippet set "prepare for a set in tex {}" i
|
||||
\\\\{ ${1:${VISUAL:e}} \\\\} $0
|
||||
endsnippet
|
Reference in New Issue
Block a user