2016-12-27 09:46:49 -05:00
|
|
|
#version 1
|
2012-08-16 23:41:25 -04:00
|
|
|
#PREAMBLE
|
|
|
|
#newcommand
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet nc \newcommand
|
2016-12-27 09:46:49 -05:00
|
|
|
\\newcommand{\\${1:cmd}}[${2:opt}]{${3:realcmd}} ${0}
|
2012-08-16 23:41:25 -04:00
|
|
|
#usepackage
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet up \usepackage
|
2016-12-27 09:46:49 -05:00
|
|
|
\\usepackage[${1:options}]{${2:package}} ${0}
|
2012-08-16 23:41:25 -04:00
|
|
|
#newunicodechar
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet nuc \newunicodechar
|
2016-12-27 09:46:49 -05:00
|
|
|
\\newunicodechar{${1}}{${2:\\ensuremath}${3:tex-substitute}}} ${0}
|
2012-08-16 23:41:25 -04:00
|
|
|
#DeclareMathOperator
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet dmo \DeclareMathOperator
|
2016-12-27 09:46:49 -05:00
|
|
|
\\DeclareMathOperator{${1}}{${2}} ${0}
|
2012-08-16 23:41:25 -04:00
|
|
|
|
|
|
|
#DOCUMENT
|
|
|
|
# \begin{}...\end{}
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet begin \begin{} ... \end{} block
|
2016-12-27 09:46:49 -05:00
|
|
|
\\begin{${1:env}}
|
2016-06-26 07:12:36 -04:00
|
|
|
${0:${VISUAL}}
|
2016-12-27 09:46:49 -05:00
|
|
|
\\end{$1}
|
2012-08-16 23:41:25 -04:00
|
|
|
# Tabular
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet tab tabular (or arbitrary) environment
|
2016-12-27 09:46:49 -05:00
|
|
|
\\begin{${1:tabular}}{${2:c}}
|
2016-06-26 07:12:36 -04:00
|
|
|
${0:${VISUAL}}
|
2016-12-27 09:46:49 -05:00
|
|
|
\\end{$1}
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet thm thm (or arbitrary) environment with optional argument
|
2016-12-27 09:46:49 -05:00
|
|
|
\\begin[${1:author}]{${2:thm}}
|
2016-06-26 07:12:36 -04:00
|
|
|
${0:${VISUAL}}
|
2016-12-27 09:46:49 -05:00
|
|
|
\\end{$2}
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet center center environment
|
2016-12-27 09:46:49 -05:00
|
|
|
\\begin{center}
|
2016-06-26 07:12:36 -04:00
|
|
|
${0:${VISUAL}}
|
2016-12-27 09:46:49 -05:00
|
|
|
\\end{center}
|
2012-08-16 23:41:25 -04:00
|
|
|
# Align(ed)
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet ali align(ed) environment
|
2016-12-27 09:46:49 -05:00
|
|
|
\\begin{align${1:ed}}
|
|
|
|
\\label{eq:${2}}
|
2016-06-26 07:12:36 -04:00
|
|
|
${0:${VISUAL}}
|
2016-12-27 09:46:49 -05:00
|
|
|
\\end{align$1}
|
2012-08-16 23:41:25 -04:00
|
|
|
# Gather(ed)
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet gat gather(ed) environment
|
2016-12-27 09:46:49 -05:00
|
|
|
\\begin{gather${1:ed}}
|
2016-06-26 07:12:36 -04:00
|
|
|
${0:${VISUAL}}
|
2016-12-27 09:46:49 -05:00
|
|
|
\\end{gather$1}
|
2012-08-16 23:41:25 -04:00
|
|
|
# Equation
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet eq equation environment
|
2016-12-27 09:46:49 -05:00
|
|
|
\\begin{equation}
|
2016-06-26 07:12:36 -04:00
|
|
|
${0:${VISUAL}}
|
2016-12-27 09:46:49 -05:00
|
|
|
\\end{equation}
|
2012-08-16 23:41:25 -04:00
|
|
|
# Equation
|
2015-07-13 06:22:46 -04:00
|
|
|
snippet eql Labeled equation environment
|
2016-12-27 09:46:49 -05:00
|
|
|
\\begin{equation}
|
|
|
|
\\label{eq:${2}}
|
2016-06-26 07:12:36 -04:00
|
|
|
${0:${VISUAL}}
|
2016-12-27 09:46:49 -05:00
|
|
|
\\end{equation}
|
2015-07-13 06:22:46 -04:00
|
|
|
# Equation
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet eq* unnumbered equation environment
|
2016-12-27 09:46:49 -05:00
|
|
|
\\begin{equation*}
|
2016-06-26 07:12:36 -04:00
|
|
|
${0:${VISUAL}}
|
2016-12-27 09:46:49 -05:00
|
|
|
\\end{equation*}
|
2012-08-16 23:41:25 -04:00
|
|
|
# Unnumbered Equation
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet \ unnumbered equation: \[ ... \]
|
2016-12-27 09:46:49 -05:00
|
|
|
\\[
|
2016-06-26 07:12:36 -04:00
|
|
|
${0:${VISUAL}}
|
2016-12-27 09:46:49 -05:00
|
|
|
\\]
|
2013-07-17 19:06:05 -04:00
|
|
|
# Equation array
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet eqnarray eqnarray environment
|
2016-12-27 09:46:49 -05:00
|
|
|
\\begin{eqnarray}
|
2016-06-26 07:12:36 -04:00
|
|
|
${0:${VISUAL}}
|
2016-12-27 09:46:49 -05:00
|
|
|
\\end{eqnarray}
|
2014-07-02 07:18:18 -04:00
|
|
|
# Label
|
|
|
|
snippet lab \label
|
2016-12-27 09:46:49 -05:00
|
|
|
\\label{${1:eq:}${2:fig:}${3:tab:}${0}}
|
2012-08-16 23:41:25 -04:00
|
|
|
# Enumerate
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet enum enumerate environment
|
2016-12-27 09:46:49 -05:00
|
|
|
\\begin{enumerate}
|
|
|
|
\\item ${0}
|
|
|
|
\\end{enumerate}
|
2015-12-08 08:20:04 -05:00
|
|
|
snippet enuma enumerate environment
|
2016-12-27 09:46:49 -05:00
|
|
|
\\begin{enumerate}[(a)]
|
|
|
|
\\item ${0}
|
|
|
|
\\end{enumerate}
|
2015-12-08 08:20:04 -05:00
|
|
|
snippet enumi enumerate environment
|
2016-12-27 09:46:49 -05:00
|
|
|
\\begin{enumerate}[(i)]
|
|
|
|
\\item ${0}
|
|
|
|
\\end{enumerate}
|
2012-08-16 23:41:25 -04:00
|
|
|
# Itemize
|
2017-02-11 08:01:38 -05:00
|
|
|
snippet item itemize environment
|
2016-12-27 09:46:49 -05:00
|
|
|
\\begin{itemize}
|
|
|
|
\\item ${0}
|
|
|
|
\\end{itemize}
|
2017-02-11 08:01:38 -05:00
|
|
|
snippet it \item
|
2016-12-27 09:46:49 -05:00
|
|
|
\\item ${1:${VISUAL}}
|
2012-08-16 23:41:25 -04:00
|
|
|
# Description
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet desc description environment
|
2016-12-27 09:46:49 -05:00
|
|
|
\\begin{description}
|
|
|
|
\\item[${1}] ${0}
|
|
|
|
\\end{description}
|
2013-07-17 19:06:05 -04:00
|
|
|
# Endless new item
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet ]i \item (recursive)
|
2016-12-27 09:46:49 -05:00
|
|
|
\\item ${1}
|
2014-07-02 07:18:18 -04:00
|
|
|
${0:]i}
|
2012-08-16 23:41:25 -04:00
|
|
|
# Matrix
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet mat smart matrix environment
|
2016-12-27 09:46:49 -05:00
|
|
|
\\begin{${1:p/b/v/V/B/small}matrix}
|
2016-06-26 07:12:36 -04:00
|
|
|
${0:${VISUAL}}
|
2016-12-27 09:46:49 -05:00
|
|
|
\\end{$1matrix}
|
2012-08-16 23:41:25 -04:00
|
|
|
# Cases
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet cas cases environment
|
2016-12-27 09:46:49 -05:00
|
|
|
\\begin{cases}
|
|
|
|
${1:equation}, &\\text{ if }${2:case}\\
|
2016-06-26 07:12:36 -04:00
|
|
|
${0:${VISUAL}}
|
2016-12-27 09:46:49 -05:00
|
|
|
\\end{cases}
|
2012-08-16 23:41:25 -04:00
|
|
|
# Split
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet spl split environment
|
2016-12-27 09:46:49 -05:00
|
|
|
\\begin{split}
|
2016-06-26 07:12:36 -04:00
|
|
|
${0:${VISUAL}}
|
2016-12-27 09:46:49 -05:00
|
|
|
\\end{split}
|
2012-08-16 23:41:25 -04:00
|
|
|
# Part
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet part document \part
|
2018-09-24 20:40:17 -04:00
|
|
|
\\part{${1:part name}} % (fold)%
|
2016-12-27 09:46:49 -05:00
|
|
|
\\label{prt:${2:$1}}
|
2013-11-16 14:45:48 -05:00
|
|
|
${0}
|
2012-08-16 23:41:25 -04:00
|
|
|
% part $2 (end)
|
|
|
|
# Chapter
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet cha \chapter
|
2018-09-24 20:40:17 -04:00
|
|
|
\\chapter{${1:chapter name}}%
|
2016-12-27 09:46:49 -05:00
|
|
|
\\label{cha:${2:$1}}
|
2013-11-16 14:45:48 -05:00
|
|
|
${0}
|
2012-08-16 23:41:25 -04:00
|
|
|
# Section
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet sec \section
|
2018-09-24 20:40:17 -04:00
|
|
|
\\section{${1:section name}}%
|
2016-12-27 09:46:49 -05:00
|
|
|
\\label{sec:${2:$1}}
|
2013-11-16 14:45:48 -05:00
|
|
|
${0}
|
2013-07-17 19:06:05 -04:00
|
|
|
# Section without number
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet sec* \section*
|
2018-09-24 20:40:17 -04:00
|
|
|
\\section*{${1:section name}}%
|
2016-12-27 09:46:49 -05:00
|
|
|
\\label{sec:${2:$1}}
|
2013-11-16 14:45:48 -05:00
|
|
|
${0}
|
2012-08-16 23:41:25 -04:00
|
|
|
# Sub Section
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet sub \subsection
|
2018-09-24 20:40:17 -04:00
|
|
|
\\subsection{${1:subsection name}}%
|
2016-12-27 09:46:49 -05:00
|
|
|
\\label{sub:${2:$1}}
|
2013-11-16 14:45:48 -05:00
|
|
|
${0}
|
2013-07-17 19:06:05 -04:00
|
|
|
# Sub Section without number
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet sub* \subsection*
|
2018-09-24 20:40:17 -04:00
|
|
|
\\subsection*{${1:subsection name}}%
|
2016-12-27 09:46:49 -05:00
|
|
|
\\label{sub:${2:$1}}
|
2013-11-16 14:45:48 -05:00
|
|
|
${0}
|
2012-08-16 23:41:25 -04:00
|
|
|
# Sub Sub Section
|
2017-05-02 08:42:08 -04:00
|
|
|
snippet ssub \subsubsection
|
2018-09-24 20:40:17 -04:00
|
|
|
\\subsubsection{${1:subsubsection name}}%
|
2016-12-27 09:46:49 -05:00
|
|
|
\\label{ssub:${2:$1}}
|
2013-11-16 14:45:48 -05:00
|
|
|
${0}
|
2013-07-17 19:06:05 -04:00
|
|
|
# Sub Sub Section without number
|
2017-05-02 08:42:08 -04:00
|
|
|
snippet ssub* \subsubsection*
|
2018-09-24 20:40:17 -04:00
|
|
|
\\subsubsection*{${1:subsubsection name}}%
|
2016-12-27 09:46:49 -05:00
|
|
|
\\label{ssub:${2:$1}}
|
2013-11-16 14:45:48 -05:00
|
|
|
${0}
|
2012-08-16 23:41:25 -04:00
|
|
|
# Paragraph
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet par \paragraph
|
2018-09-24 20:40:17 -04:00
|
|
|
\\paragraph{${1:paragraph name}}%
|
2016-12-27 09:46:49 -05:00
|
|
|
\\label{par:${2:$1}}
|
2013-11-16 14:45:48 -05:00
|
|
|
${0}
|
2012-08-16 23:41:25 -04:00
|
|
|
# Sub Paragraph
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet subp \subparagraph
|
2018-09-24 20:40:17 -04:00
|
|
|
\\subparagraph{${1:subparagraph name}}%
|
2016-12-27 09:46:49 -05:00
|
|
|
\\label{subp:${2:$1}}
|
2013-11-16 14:45:48 -05:00
|
|
|
${0}
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet ni \noindent
|
2016-12-27 09:46:49 -05:00
|
|
|
\\noindent
|
2013-11-16 14:45:48 -05:00
|
|
|
${0}
|
2012-08-16 23:41:25 -04:00
|
|
|
#References
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet itd description \item
|
2016-12-27 09:46:49 -05:00
|
|
|
\\item[${1:description}] ${0:item}
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet figure reference to a figure
|
2016-12-27 09:46:49 -05:00
|
|
|
${1:Figure}~\\ref{${2:fig:}}
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet table reference to a table
|
2016-12-27 09:46:49 -05:00
|
|
|
${1:Table}~\\ref{${2:tab:}}
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet listing reference to a listing
|
2016-12-27 09:46:49 -05:00
|
|
|
${1:Listing}~\\ref{${2:list}}
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet section reference to a section
|
2016-12-27 09:46:49 -05:00
|
|
|
${1:Section}~\\ref{sec:${2}} ${0}
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet page reference to a page
|
2016-12-27 09:46:49 -05:00
|
|
|
${1:page}~\\pageref{${2}} ${0}
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet index \index
|
2016-12-27 09:46:49 -05:00
|
|
|
\\index{${1:index}} ${0}
|
2013-04-13 13:45:21 -04:00
|
|
|
#Citations
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet citen \citen
|
2016-12-27 09:46:49 -05:00
|
|
|
\\citen{${1}} ${0}
|
2014-07-02 07:18:18 -04:00
|
|
|
# natbib citations
|
|
|
|
snippet citep \citep
|
2016-12-27 09:46:49 -05:00
|
|
|
\\citep{${1}} ${0}
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet citet \citet
|
2016-12-27 09:46:49 -05:00
|
|
|
\\citet{${1}} ${0}
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet cite \cite[]{}
|
2016-12-27 09:46:49 -05:00
|
|
|
\\cite[${1}]{${2}} ${0}
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet citea \citeauthor
|
2016-12-27 09:46:49 -05:00
|
|
|
\\citeauthor{${1}} ${0}
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet citey \citeyear
|
2016-12-27 09:46:49 -05:00
|
|
|
\\citeyear{${1}} ${0}
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet fcite \footcite[]{}
|
2016-12-27 09:46:49 -05:00
|
|
|
\\footcite[${1}]{${2}}${0}
|
2012-08-16 23:41:25 -04:00
|
|
|
#Formating text: italic, bold, underline, small capital, emphase ..
|
2017-07-06 08:57:35 -04:00
|
|
|
snippet ita italic text
|
2019-05-17 10:09:13 -04:00
|
|
|
\\textit{${1:${VISUAL:text}}}${0}
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet bf bold face text
|
2019-05-17 10:09:13 -04:00
|
|
|
\\textbf{${1:${VISUAL:text}}}${0}
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet under underline text
|
2019-05-17 10:09:13 -04:00
|
|
|
\\underline{${1:${VISUAL:text}}}${0}
|
2018-02-04 06:35:08 -05:00
|
|
|
snippet over overline text
|
2019-05-17 10:09:13 -04:00
|
|
|
\\overline{${1:${VISUAL:text}}}${0}
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet emp emphasize text
|
2019-03-27 11:08:56 -04:00
|
|
|
\\emph{${1:${VISUAL:text}}}${0}
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet sc small caps text
|
2019-05-17 10:09:13 -04:00
|
|
|
\\textsc{${1:${VISUAL:text}}}${0}
|
2012-08-16 23:41:25 -04:00
|
|
|
#Choosing font
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet sf sans serife text
|
2019-05-17 10:09:13 -04:00
|
|
|
\\textsf{${1:${VISUAL:text}}}${0}
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet rm roman font text
|
2019-05-17 10:09:13 -04:00
|
|
|
\\textrm{${1:${VISUAL:text}}}${0}
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet tt typewriter (monospace) text
|
2019-05-17 10:09:13 -04:00
|
|
|
\\texttt{${1:${VISUAL:text}}}${0}
|
2019-11-16 10:28:42 -05:00
|
|
|
snippet tsub subscripted text
|
|
|
|
\\textsubscript{${1:${VISUAL:text}}}${0}
|
|
|
|
snippet tsup superscripted text
|
|
|
|
\\textsuperscript{${1:${VISUAL:text}}}${0}
|
2015-07-13 06:22:46 -04:00
|
|
|
#Math font
|
|
|
|
snippet mf mathfrak
|
2019-05-17 10:09:13 -04:00
|
|
|
\\mathfrak{${1:${VISUAL:text}}}${0}
|
2015-07-13 06:22:46 -04:00
|
|
|
snippet mc mathcal
|
2019-05-17 10:09:13 -04:00
|
|
|
\\mathcal{${1:${VISUAL:text}}}${0}
|
2015-07-13 06:22:46 -04:00
|
|
|
snippet ms mathscr
|
2019-05-17 10:09:13 -04:00
|
|
|
\\mathscr{${1:${VISUAL:text}}}${0}
|
2012-08-16 23:41:25 -04:00
|
|
|
#misc
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet ft \footnote
|
2019-05-17 10:09:13 -04:00
|
|
|
\\footnote{${1:${VISUAL:text}}}${0}
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet fig figure environment (includegraphics)
|
2016-12-27 09:46:49 -05:00
|
|
|
\\begin{figure}
|
|
|
|
\\begin{center}
|
|
|
|
\\includegraphics[scale=${1}]{Figures/${2}}
|
|
|
|
\\end{center}
|
|
|
|
\\caption{${3}}
|
|
|
|
\\label{fig:${4}}
|
|
|
|
\\end{figure}
|
2013-11-16 14:45:48 -05:00
|
|
|
${0}
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet tikz figure environment (tikzpicture)
|
2016-12-27 09:46:49 -05:00
|
|
|
\\begin{figure}[htpb]
|
|
|
|
\\begin{center}
|
|
|
|
\\begin{tikzpicture}[scale=${1:1}, transform shape]
|
2012-08-16 23:41:25 -04:00
|
|
|
${2}
|
2016-12-27 09:46:49 -05:00
|
|
|
\\end{tikzpicture}
|
|
|
|
\\end{center}
|
2019-08-22 11:36:17 -04:00
|
|
|
\\caption{${3}}%
|
2016-12-27 09:46:49 -05:00
|
|
|
\\label{fig:${4}}
|
|
|
|
\\end{figure}
|
|
|
|
${0}
|
|
|
|
snippet subfig subfigure environment
|
|
|
|
\\begin{subfigure}[${1}]{${2:\\textwidth}}
|
|
|
|
\\begin{center}
|
|
|
|
${3}
|
|
|
|
\\end{center}
|
|
|
|
\\caption{${4}}
|
|
|
|
\\label{fig:${5}}
|
|
|
|
\\end{subfigure}
|
2013-11-16 14:45:48 -05:00
|
|
|
${0}
|
2017-07-06 08:57:35 -04:00
|
|
|
snippet tikzcd tikzcd environment in equation
|
|
|
|
\\begin{equation}
|
|
|
|
\\begin{tikzcd}
|
|
|
|
${1}
|
|
|
|
\\end{tikzcd}
|
|
|
|
\\end{equation}
|
|
|
|
${0}
|
|
|
|
snippet tikzcd* tikzcd environment in equation*
|
|
|
|
\\begin{equation*}
|
|
|
|
\\begin{tikzcd}
|
2017-02-11 08:01:38 -05:00
|
|
|
${1}
|
2017-07-06 08:57:35 -04:00
|
|
|
\\end{tikzcd}
|
|
|
|
\\end{equation*}
|
2017-02-11 08:01:38 -05:00
|
|
|
${0}
|
2012-08-16 23:41:25 -04:00
|
|
|
#math
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet stackrel \stackrel{}{}
|
2016-12-27 09:46:49 -05:00
|
|
|
\\stackrel{${1:above}}{${2:below}} ${0}
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet frac \frac{}{}
|
2016-12-27 09:46:49 -05:00
|
|
|
\\frac{${1:num}}{${2:denom}} ${0}
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet sum \sum^{}_{}
|
2016-12-27 09:46:49 -05:00
|
|
|
\\sum^{${1:n}}_{${2:i=1}} ${0}
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet lim \lim_{}
|
2016-12-27 09:46:49 -05:00
|
|
|
\\lim_{${1:n \\to \\infty}} ${0}
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet frame frame environment
|
2016-12-27 09:46:49 -05:00
|
|
|
\\begin{frame}[${1:t}]{${2:title}}
|
2016-06-26 07:12:36 -04:00
|
|
|
${0:${VISUAL}}
|
2016-12-27 09:46:49 -05:00
|
|
|
\\end{frame}
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet block block environment
|
2016-12-27 09:46:49 -05:00
|
|
|
\\begin{block}{${1:title}}
|
|
|
|
${0:${VISUAL}}
|
|
|
|
\\end{block}
|
2018-03-31 10:56:26 -04:00
|
|
|
snippet alert alert text
|
|
|
|
\\alert{${1:${VISUAL:text}}} ${0}
|
|
|
|
snippet alertblock alertblock environment
|
2016-12-27 09:46:49 -05:00
|
|
|
\\begin{alertblock}{${1:title}}
|
|
|
|
${0:${VISUAL}}
|
|
|
|
\\end{alertblock}
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet example exampleblock environment
|
2016-12-27 09:46:49 -05:00
|
|
|
\\begin{exampleblock}{${1:title}}
|
|
|
|
${0:${VISUAL}}
|
|
|
|
\\end{exampleblock}
|
2014-07-02 07:18:18 -04:00
|
|
|
snippet col2 two-column environment
|
2016-12-27 09:46:49 -05:00
|
|
|
\\begin{columns}
|
|
|
|
\\begin{column}{0.5\\textwidth}
|
2013-07-17 19:06:05 -04:00
|
|
|
${1}
|
2016-12-27 09:46:49 -05:00
|
|
|
\\end{column}
|
|
|
|
\\begin{column}{0.5\\textwidth}
|
2013-11-16 14:45:48 -05:00
|
|
|
${0}
|
2016-12-27 09:46:49 -05:00
|
|
|
\\end{column}
|
|
|
|
\\end{columns}
|
2018-03-31 10:56:26 -04:00
|
|
|
snippet multicol2 two-column environment with multicol
|
|
|
|
\\begin{multicols}{2}
|
|
|
|
${1}
|
|
|
|
\columnbreak
|
|
|
|
${0}
|
|
|
|
\\end{multicols}
|
2015-12-08 08:20:04 -05:00
|
|
|
snippet \{ \{ \}
|
|
|
|
\\{ ${0} \\}
|
2015-07-13 06:22:46 -04:00
|
|
|
#delimiter
|
2015-12-08 08:20:04 -05:00
|
|
|
snippet lr left right
|
2018-12-17 06:28:27 -05:00
|
|
|
\\left${1} ${0:${VISUAL}} \\right$1
|
2016-12-27 09:46:49 -05:00
|
|
|
snippet lr( left( right)
|
2018-12-17 06:28:27 -05:00
|
|
|
\\left( ${0:${VISUAL}} \\right)
|
2016-12-27 09:46:49 -05:00
|
|
|
snippet lr| left| right|
|
2018-12-17 06:28:27 -05:00
|
|
|
\\left| ${0:${VISUAL}} \\right|
|
2016-12-27 09:46:49 -05:00
|
|
|
snippet lr{ left\{ right\}
|
2018-12-17 06:28:27 -05:00
|
|
|
\\left\\{ ${0:${VISUAL}} \\right\\}
|
2016-12-27 09:46:49 -05:00
|
|
|
snippet lr[ left[ right]
|
2018-12-17 06:28:27 -05:00
|
|
|
\\left[ ${0:${VISUAL}} \\right]
|
2016-12-27 09:46:49 -05:00
|
|
|
snippet lra langle rangle
|
2018-12-17 06:28:27 -05:00
|
|
|
\\langle ${0:${VISUAL}} \\rangle
|
2014-09-27 11:32:18 -04:00
|
|
|
# Code listings
|
|
|
|
snippet lst
|
2016-12-27 09:46:49 -05:00
|
|
|
\\begin{listing}[language=${1:language}]
|
2016-06-26 07:12:36 -04:00
|
|
|
${0:${VISUAL}}
|
2016-12-27 09:46:49 -05:00
|
|
|
\\end{listing}
|
2014-09-27 11:32:18 -04:00
|
|
|
snippet lsi
|
2016-12-27 09:46:49 -05:00
|
|
|
\\lstinline|${1}| ${0}
|
2014-09-27 11:32:18 -04:00
|
|
|
# Hyperlinks
|
|
|
|
snippet url
|
2016-12-27 09:46:49 -05:00
|
|
|
\\url{${1}} ${0}
|
2014-09-27 11:32:18 -04:00
|
|
|
snippet href
|
2016-12-27 09:46:49 -05:00
|
|
|
\\href{${1}}{${2}} ${0}
|
2014-09-27 11:32:18 -04:00
|
|
|
# URL from Clipboard.
|
|
|
|
snippet urlc
|
2016-12-27 09:46:49 -05:00
|
|
|
\\url{`@+`} ${0}
|
2014-09-27 11:32:18 -04:00
|
|
|
snippet hrefc
|
2016-12-27 09:46:49 -05:00
|
|
|
\\href{`@+`}{${1}} ${0}
|
2018-02-04 06:35:08 -05:00
|
|
|
# enquote from package csquotes
|
|
|
|
snippet enq enquote
|
|
|
|
\\enquote{${1:${VISUAL:text}}} ${0}
|