neosnippet.vim/neosnippets/tex.snip

356 lines
5.7 KiB
Plaintext
Raw Normal View History

2012-02-02 04:33:35 +00:00
snippet mathexpression
2012-11-06 05:56:29 +00:00
alias $
2012-02-02 04:33:35 +00:00
abbr $ expression $
2012-10-30 08:53:14 +00:00
$${1:#:expression}$${2}
2012-02-02 04:33:35 +00:00
# ========== ENVIRONMENT ==========
snippet begin
alias \begin
2012-10-30 08:53:14 +00:00
\begin{${1:#:type}}
${2:TARGET}
2012-02-02 04:33:35 +00:00
\end{$1}
snippet list
2012-12-21 10:19:23 +00:00
alias \begin{list} \list
2012-02-02 04:33:35 +00:00
\begin{list}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{list}
snippet quotation
2012-12-21 10:19:23 +00:00
alias \begin{quotation} \quotation
2012-02-02 04:33:35 +00:00
\begin{quotation}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{quotation}
snippet description
2012-12-21 10:19:23 +00:00
alias \begin{description} \description
2012-02-02 04:33:35 +00:00
\begin{description}
2012-10-30 08:53:14 +00:00
\item ${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{description}
snippet sloppypar
2012-12-21 10:19:23 +00:00
alias \begin{sloppypar} \sloppypar
2012-02-02 04:33:35 +00:00
\begin{sloppypar}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{sloppypar}
snippet enumerate
2012-12-21 10:19:23 +00:00
alias \begin{enumerate} \enumerate
2012-02-02 04:33:35 +00:00
\begin{enumerate}
2012-10-30 08:53:14 +00:00
\item ${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{enumerate}
snippet theindex
2012-12-21 10:19:23 +00:00
alias \begin{theindex} \theindex
2012-02-02 04:33:35 +00:00
\begin{theindex}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{theindex}
snippet itemize
2012-12-21 10:19:23 +00:00
alias \begin{itemize} \itemize
2012-02-02 04:33:35 +00:00
\begin{itemize}
2012-10-30 08:53:14 +00:00
\item ${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{itemize}
snippet titlepage
2012-12-21 10:19:23 +00:00
alias \begin{titlepage} \titlepage
2012-02-02 04:33:35 +00:00
\begin{titlepage}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{titlepage}
snippet verbatim
2012-12-21 10:19:23 +00:00
alias \begin{verbatim} verb \verbatim
2012-02-02 04:33:35 +00:00
\begin{verbatim}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{verbatim}
snippet verbatimtab
2012-12-21 10:19:23 +00:00
alias \begin{verbatimtab} \verbatimtab
2012-02-02 04:33:35 +00:00
\begin{verbatimtab}[${1:8}]
2012-10-30 08:53:14 +00:00
${2:TARGET}
2012-02-02 04:33:35 +00:00
\end{verbatim}
snippet trivlist
2012-12-21 10:19:23 +00:00
alias \begin{trivlist} \trivlist
2012-02-02 04:33:35 +00:00
\begin{trivlist}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{trivlist}
snippet verse
2012-12-21 10:19:23 +00:00
alias \begin{verse} \verse
2012-02-02 04:33:35 +00:00
\begin{verse}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{verse}
snippet table
2012-12-21 10:19:23 +00:00
alias \begin{table} \table
2012-02-02 04:33:35 +00:00
\begin{table}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{table}
snippet thebibliography
2012-12-21 10:19:23 +00:00
alias \begin{thebibliography} \thebibliography
2012-02-02 04:33:35 +00:00
\begin{thebibliography}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{thebibliography}
snippet tabbing
2012-12-21 10:19:23 +00:00
alias \begin{tabbing} \tabbing
2012-02-02 04:33:35 +00:00
\begin{tabbing}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{tabbing}
snippet note
2012-12-21 10:19:23 +00:00
alias \begin{note} \note
2012-02-02 04:33:35 +00:00
\begin{note}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{note}
snippet tabular
2012-12-21 10:19:23 +00:00
alias \begin{tabular} \tabular
2012-02-02 04:33:35 +00:00
\begin{tabular}{${1}}
2012-10-30 08:53:14 +00:00
${2:TARGET}
2012-02-02 04:33:35 +00:00
\end{tabular}
snippet overlay
2012-12-21 10:19:23 +00:00
alias \begin{overlay} \overlay
2012-02-02 04:33:35 +00:00
\begin{overlay}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{overlay}
snippet array
2012-12-21 10:19:23 +00:00
alias \begin{array} \array
2012-12-10 13:25:54 +00:00
\begin{array}{${1}}
${2:TARGET}
2012-02-02 04:33:35 +00:00
\end{array}
snippet slide
2012-12-21 10:19:23 +00:00
alias \begin{slide} \slide
2012-02-02 04:33:35 +00:00
\begin{slide}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{slide}
snippet displaymath
2012-12-21 10:19:23 +00:00
alias \begin{displaymath} \displaymath
2012-02-02 04:33:35 +00:00
\begin{displaymath}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{displaymath}
snippet abstract
2012-12-21 10:19:23 +00:00
alias \begin{abstract} \abstract
2012-02-02 04:33:35 +00:00
\begin{abstract}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{abstract}
snippet eqnarray
2012-12-21 10:19:23 +00:00
alias \begin{eqnarray} \eqnarray
2012-02-02 04:33:35 +00:00
\begin{eqnarray}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{eqnarray}
snippet eqnarray*
2012-12-21 10:19:23 +00:00
alias \begin{eqnarray*} \eqnarray*
2012-02-02 04:33:35 +00:00
\begin{eqnarray*}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-12-10 13:25:54 +00:00
\end{eqnarray*}
2012-02-02 04:33:35 +00:00
snippet appendix
2012-12-21 10:19:23 +00:00
alias \begin{appendix} \appendix
2012-02-02 04:33:35 +00:00
\begin{appendix}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{appendix}
snippet equation
2012-12-21 10:19:23 +00:00
alias \begin{equation} \equation
2012-02-02 04:33:35 +00:00
\begin{equation}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{equation}
2012-12-10 13:25:54 +00:00
snippet equation*
2012-12-21 10:19:23 +00:00
alias \begin{equation*} \equation*
2012-12-10 13:25:54 +00:00
\begin{equation*}
${1:TARGET}
\end{equation*}
2012-02-02 04:33:35 +00:00
snippet center
2012-12-21 10:19:23 +00:00
alias \begin{center} \center
2012-02-02 04:33:35 +00:00
\begin{center}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{center}
snippet document
2012-12-21 10:19:23 +00:00
alias \begin{document} \document
2012-02-02 04:33:35 +00:00
\begin{document}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{document}
snippet figure
2012-12-21 10:19:23 +00:00
alias \begin{figure} \figure
2012-02-02 04:33:35 +00:00
\begin{figure}
\begin{center}
\includegraphics[${1:width=}]{${2}}
\caption{${3}}
\label{${4}}
\end{center}
\end{figure}
snippet filecontents
2012-12-21 10:19:23 +00:00
alias \begin{filecontents} \filecontents
2012-02-02 04:33:35 +00:00
\begin{filecontents}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{filecontents}
snippet lrbox
2012-12-21 10:19:23 +00:00
alias \begin{lrbox} \lrbox
2012-02-02 04:33:35 +00:00
\begin{lrbox}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{lrbox}
snippet flushleft
2012-12-21 10:19:23 +00:00
alias \begin{flushleft} \flushleft
2012-02-02 04:33:35 +00:00
\begin{flushleft}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{flushleft}
snippet flushright
2012-12-21 10:19:23 +00:00
alias \begin{flushright} \flushright
2012-02-02 04:33:35 +00:00
\begin{flushright}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{flushright}
2012-12-21 10:19:23 +00:00
snippet minipage
alias \begin{minipage} \minipage
\begin{minipage}
${1:TARGET}
\end{minipage}
2012-02-02 04:33:35 +00:00
snippet picture
2012-12-21 10:19:23 +00:00
alias \begin{picture} \picture
2012-02-02 04:33:35 +00:00
\begin{picture}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{picture}
snippet math
2012-12-21 10:19:23 +00:00
alias \begin{math} \math
2012-02-02 04:33:35 +00:00
\begin{math}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{math}
snippet quote
2012-12-21 10:19:23 +00:00
alias \begin{quote} \quote
2012-02-02 04:33:35 +00:00
\begin{quote}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{quote}
# ========== SECTION ==========
2012-12-10 15:41:51 +00:00
snippet \part
alias part \part{
\part{${1}}
${0:TARGET}
2012-02-02 04:33:35 +00:00
snippet \chapter
2012-12-10 15:37:42 +00:00
alias chapter \chapter{
2012-02-02 04:33:35 +00:00
\chapter{${1}}
2012-10-30 08:53:14 +00:00
${0:TARGET}
2012-02-02 04:33:35 +00:00
snippet \section
2012-12-10 15:37:42 +00:00
alias section \section{
2012-02-02 04:33:35 +00:00
\section{${1}}
2012-10-30 08:53:14 +00:00
${0:TARGET}
2012-02-02 04:33:35 +00:00
snippet \subsection
2012-12-10 15:37:42 +00:00
alias subsection \subsection{
2012-02-02 04:33:35 +00:00
\subsection{${1}}
2012-10-30 08:53:14 +00:00
${0:TARGET}
2012-02-02 04:33:35 +00:00
snippet \subsubsection
2012-12-10 15:37:42 +00:00
alias subsubsection \subsubsection{
2012-02-02 04:33:35 +00:00
\subsubsection{${1}}
2012-10-30 08:53:14 +00:00
${0:TARGET}
2012-02-02 04:33:35 +00:00
snippet \paragraph
2012-12-10 15:41:51 +00:00
alias paragraph \paragraph{
2012-02-02 04:33:35 +00:00
\paragraph{${1}}
2012-10-30 08:53:14 +00:00
${0:TARGET}
2012-02-02 04:33:35 +00:00
snippet \subparagraph
2012-12-10 15:41:51 +00:00
alias subparagraph \subparagraph{
2012-02-02 04:33:35 +00:00
\subparagraph{${1}}
2012-10-30 08:53:14 +00:00
${0:TARGET}
2012-02-02 04:33:35 +00:00
# ========== FONT ==========
snippet bfseries
2012-12-21 10:19:23 +00:00
alias \begin{bfseries} \bfseries
2012-02-02 04:33:35 +00:00
\begin{bfseries}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{bfseries}
snippet mdseries
2012-12-21 10:19:23 +00:00
alias \begin{mdseries} \mdseries
2012-02-02 04:33:35 +00:00
\begin{mdseries}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{mdseries}
snippet ttfamily
2012-12-21 10:19:23 +00:00
alias \begin{ttfamily} \ttfamily
2012-02-02 04:33:35 +00:00
\begin{ttfamily}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{ttfamily}
snippet sffamily
2012-12-21 10:19:23 +00:00
alias \begin{sffamily} \sffamily
2012-02-02 04:33:35 +00:00
\begin{sffamily}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{sffamily}
snippet rmfamily
2012-12-21 10:19:23 +00:00
alias \begin{rmfamily} \rmfamily
2012-02-02 04:33:35 +00:00
\begin{rmfamily}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{rmfamily}
snippet upshape
2012-12-21 10:19:23 +00:00
alias \begin{upshape} \upshape
2012-02-02 04:33:35 +00:00
\begin{upshape}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{upshape}
snippet slshape
2012-12-21 10:19:23 +00:00
alias \begin{slshape} \slshape
2012-02-02 04:33:35 +00:00
\begin{slshape}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{slshape}
snippet scshape
2012-12-21 10:19:23 +00:00
alias \begin{scshape} \scshape
2012-02-02 04:33:35 +00:00
\begin{scshape}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{scshape}
snippet itshape
2012-12-21 10:19:23 +00:00
alias \begin{itshape} \itshape
2012-02-02 04:33:35 +00:00
\begin{itshape}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{itshape}
# ========== OTHERS ==========
snippet usepackage
alias \usepackage
\usepackage${1:[${2\}]}{${3}}
2012-12-21 10:19:23 +00:00
snippet ref
alias \ref
2012-02-02 04:33:35 +00:00
\ref{${1}}${0}
2012-12-21 10:19:23 +00:00
snippet label
alias \label
2012-02-02 04:33:35 +00:00
\label{${1}}${0}
2012-12-21 10:19:23 +00:00
snippet cite
alias \cite
2012-02-02 04:33:35 +00:00
\cite{${1}}${0}