neosnippet.vim/autoload/neosnippet/snippets/tex.snip

369 lines
5.5 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
alias \begin{list}
\begin{list}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{list}
snippet quotation
alias \begin{quotation}
\begin{quotation}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{quotation}
snippet description
alias \begin{description}
\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
alias \begin{sloppypar}
\begin{sloppypar}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{sloppypar}
snippet enumerate
alias \begin{enumerate}
\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
alias \begin{theindex}
\begin{theindex}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{theindex}
snippet itemize
alias \begin{itemize}
\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
alias \begin{titlepage}
\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-11-06 06:28:54 +00:00
alias \begin{verbatim} verb
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
alias \begin{verbatimtab}
\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
alias \begin{trivlist}
\begin{trivlist}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{trivlist}
snippet verse
alias \begin{verse}
\begin{verse}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{verse}
snippet table
alias \begin{table}
\begin{table}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{table}
snippet thebibliography
alias \begin{thebibliography}
\begin{thebibliography}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{thebibliography}
snippet tabbing
alias \begin{tabbing}
\begin{tabbing}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{tabbing}
snippet note
alias \begin{note}
\begin{note}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{note}
snippet tabular
alias \begin{tabular}
\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
alias \begin{overlay}
\begin{overlay}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{overlay}
snippet array
alias \begin{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
alias \begin{slide}
\begin{slide}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{slide}
snippet displaymath
alias \begin{displaymath}
\begin{displaymath}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{displaymath}
snippet abstract
alias \begin{abstract}
\begin{abstract}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{abstract}
snippet eqnarray
alias \begin{eqnarray}
\begin{eqnarray}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{eqnarray}
snippet eqnarray*
alias \begin{eqnarray*}
\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
alias \begin{appendix}
\begin{appendix}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{appendix}
snippet equation
alias \begin{equation}
\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*
alias \begin{equation*}
\begin{equation*}
${1:TARGET}
\end{equation*}
2012-02-02 04:33:35 +00:00
snippet center
alias \begin{center}
\begin{center}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{center}
snippet document
alias \begin{document}
\begin{document}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{document}
snippet figure
alias \begin{figure}
\begin{figure}
\begin{center}
\includegraphics[${1:width=}]{${2}}
\caption{${3}}
\label{${4}}
\end{center}
\end{figure}
snippet filecontents
alias \begin{filecontents}
\begin{filecontents}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{filecontents}
snippet lrbox
alias \begin{lrbox}
\begin{lrbox}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{lrbox}
snippet flushleft
alias \begin{flushleft}
\begin{flushleft}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{flushleft}
snippet minipage
alias \begin{minipage}
\begin{minipage}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{minipage}
snippet flushright
alias \begin{flushright}
\begin{flushright}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{flushright}
snippet picture
alias \begin{picture}
\begin{picture}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{picture}
snippet math
alias \begin{math}
\begin{math}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{math}
snippet quote
alias \begin{quote}
\begin{quote}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{quote}
# ========== SECTION ==========
snippet part
alias \begin{part}
\begin{part}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{part}
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
alias \begin{paragraph}
\begin{paragraph}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{paragraph}
snippet \paragraph
alias \paragraph{
\paragraph{${1}}
2012-10-30 08:53:14 +00:00
${0:TARGET}
2012-02-02 04:33:35 +00:00
snippet subparagraph
alias \begin{subparagraph}
\begin{subparagraph}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{subparagraph}
snippet \subparagraph
alias \subparagraph{
\subparagraph{${1}}
2012-10-30 08:53:14 +00:00
${0:TARGET}
2012-02-02 04:33:35 +00:00
# ========== FONT ==========
snippet bfseries
alias \begin{bfseries}
\begin{bfseries}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{bfseries}
snippet mdseries
alias \begin{mdseries}
\begin{mdseries}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{mdseries}
snippet ttfamily
alias \begin{ttfamily}
\begin{ttfamily}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{ttfamily}
snippet sffamily
alias \begin{sffamily}
\begin{sffamily}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{sffamily}
snippet rmfamily
alias \begin{rmfamily}
\begin{rmfamily}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{rmfamily}
snippet upshape
alias \begin{upshape}
\begin{upshape}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{upshape}
snippet slshape
alias \begin{slshape}
\begin{slshape}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{slshape}
snippet scshape
alias \begin{scshape}
\begin{scshape}
2012-10-30 08:53:14 +00:00
${1:TARGET}
2012-02-02 04:33:35 +00:00
\end{scshape}
snippet itshape
alias \begin{itshape}
\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}}
snippet \ref
alias \ref{
\ref{${1}}${0}
snippet \label
alias \label{
\label{${1}}${0}
snippet \cite
alias \cite{
\cite{${1}}${0}