Ulteriori aggiunte a snippets per LaTeX.
This commit is contained in:
parent
e0bec091e2
commit
21bcb06555
@ -1,15 +1,30 @@
|
||||
# vim:sts=2:sw=2
|
||||
snippet use "Usepackage" b
|
||||
\usepackage{${1:${VISUAL:babel}}}$0
|
||||
endsnippet
|
||||
|
||||
snippet env "Create environment from input" b
|
||||
snippet useo "Usepackage with option" b
|
||||
\usepackage[${2:italian}]{${1:${VISUAL:babel}}}$0
|
||||
endsnippet
|
||||
|
||||
snippet italian "Use italian hyphenations with polyglossia" b
|
||||
\usepackage{polyglossia}
|
||||
\setdefaultlanguage{italian}
|
||||
$0
|
||||
endsnippet
|
||||
|
||||
snippet othlang "Insert an environment with another language" b
|
||||
\begin{lang}{${1:english}}
|
||||
$0
|
||||
\end{lang}
|
||||
endsnippet
|
||||
|
||||
snippet env "Environment from input" b
|
||||
\begin{${1:${VISUAL:center}}}
|
||||
$0
|
||||
\end{$1}
|
||||
endsnippet
|
||||
|
||||
snippet use "Usepackage" b
|
||||
\usepackage[${2:italian}]{${1:${VISUAL:babel}}}$0
|
||||
endsnippet
|
||||
|
||||
snippet it "Italics (LaTeX macro)"
|
||||
\textit{${1:${VISUAL}}}$0
|
||||
endsnippet
|
||||
|
Loading…
Reference in New Issue
Block a user