- Improved tex snippets.

This commit is contained in:
Shougo Matsushita 2012-12-21 19:19:23 +09:00
parent 46442d8893
commit 23677b98b9
2 changed files with 61 additions and 58 deletions

View File

@ -12,181 +12,181 @@ alias \begin
\end{$1} \end{$1}
snippet list snippet list
alias \begin{list} alias \begin{list} \list
\begin{list} \begin{list}
${1:TARGET} ${1:TARGET}
\end{list} \end{list}
snippet quotation snippet quotation
alias \begin{quotation} alias \begin{quotation} \quotation
\begin{quotation} \begin{quotation}
${1:TARGET} ${1:TARGET}
\end{quotation} \end{quotation}
snippet description snippet description
alias \begin{description} alias \begin{description} \description
\begin{description} \begin{description}
\item ${1:TARGET} \item ${1:TARGET}
\end{description} \end{description}
snippet sloppypar snippet sloppypar
alias \begin{sloppypar} alias \begin{sloppypar} \sloppypar
\begin{sloppypar} \begin{sloppypar}
${1:TARGET} ${1:TARGET}
\end{sloppypar} \end{sloppypar}
snippet enumerate snippet enumerate
alias \begin{enumerate} alias \begin{enumerate} \enumerate
\begin{enumerate} \begin{enumerate}
\item ${1:TARGET} \item ${1:TARGET}
\end{enumerate} \end{enumerate}
snippet theindex snippet theindex
alias \begin{theindex} alias \begin{theindex} \theindex
\begin{theindex} \begin{theindex}
${1:TARGET} ${1:TARGET}
\end{theindex} \end{theindex}
snippet itemize snippet itemize
alias \begin{itemize} alias \begin{itemize} \itemize
\begin{itemize} \begin{itemize}
\item ${1:TARGET} \item ${1:TARGET}
\end{itemize} \end{itemize}
snippet titlepage snippet titlepage
alias \begin{titlepage} alias \begin{titlepage} \titlepage
\begin{titlepage} \begin{titlepage}
${1:TARGET} ${1:TARGET}
\end{titlepage} \end{titlepage}
snippet verbatim snippet verbatim
alias \begin{verbatim} verb alias \begin{verbatim} verb \verbatim
\begin{verbatim} \begin{verbatim}
${1:TARGET} ${1:TARGET}
\end{verbatim} \end{verbatim}
snippet verbatimtab snippet verbatimtab
alias \begin{verbatimtab} alias \begin{verbatimtab} \verbatimtab
\begin{verbatimtab}[${1:8}] \begin{verbatimtab}[${1:8}]
${2:TARGET} ${2:TARGET}
\end{verbatim} \end{verbatim}
snippet trivlist snippet trivlist
alias \begin{trivlist} alias \begin{trivlist} \trivlist
\begin{trivlist} \begin{trivlist}
${1:TARGET} ${1:TARGET}
\end{trivlist} \end{trivlist}
snippet verse snippet verse
alias \begin{verse} alias \begin{verse} \verse
\begin{verse} \begin{verse}
${1:TARGET} ${1:TARGET}
\end{verse} \end{verse}
snippet table snippet table
alias \begin{table} alias \begin{table} \table
\begin{table} \begin{table}
${1:TARGET} ${1:TARGET}
\end{table} \end{table}
snippet thebibliography snippet thebibliography
alias \begin{thebibliography} alias \begin{thebibliography} \thebibliography
\begin{thebibliography} \begin{thebibliography}
${1:TARGET} ${1:TARGET}
\end{thebibliography} \end{thebibliography}
snippet tabbing snippet tabbing
alias \begin{tabbing} alias \begin{tabbing} \tabbing
\begin{tabbing} \begin{tabbing}
${1:TARGET} ${1:TARGET}
\end{tabbing} \end{tabbing}
snippet note snippet note
alias \begin{note} alias \begin{note} \note
\begin{note} \begin{note}
${1:TARGET} ${1:TARGET}
\end{note} \end{note}
snippet tabular snippet tabular
alias \begin{tabular} alias \begin{tabular} \tabular
\begin{tabular}{${1}} \begin{tabular}{${1}}
${2:TARGET} ${2:TARGET}
\end{tabular} \end{tabular}
snippet overlay snippet overlay
alias \begin{overlay} alias \begin{overlay} \overlay
\begin{overlay} \begin{overlay}
${1:TARGET} ${1:TARGET}
\end{overlay} \end{overlay}
snippet array snippet array
alias \begin{array} alias \begin{array} \array
\begin{array}{${1}} \begin{array}{${1}}
${2:TARGET} ${2:TARGET}
\end{array} \end{array}
snippet slide snippet slide
alias \begin{slide} alias \begin{slide} \slide
\begin{slide} \begin{slide}
${1:TARGET} ${1:TARGET}
\end{slide} \end{slide}
snippet displaymath snippet displaymath
alias \begin{displaymath} alias \begin{displaymath} \displaymath
\begin{displaymath} \begin{displaymath}
${1:TARGET} ${1:TARGET}
\end{displaymath} \end{displaymath}
snippet abstract snippet abstract
alias \begin{abstract} alias \begin{abstract} \abstract
\begin{abstract} \begin{abstract}
${1:TARGET} ${1:TARGET}
\end{abstract} \end{abstract}
snippet eqnarray snippet eqnarray
alias \begin{eqnarray} alias \begin{eqnarray} \eqnarray
\begin{eqnarray} \begin{eqnarray}
${1:TARGET} ${1:TARGET}
\end{eqnarray} \end{eqnarray}
snippet eqnarray* snippet eqnarray*
alias \begin{eqnarray*} alias \begin{eqnarray*} \eqnarray*
\begin{eqnarray*} \begin{eqnarray*}
${1:TARGET} ${1:TARGET}
\end{eqnarray*} \end{eqnarray*}
snippet appendix snippet appendix
alias \begin{appendix} alias \begin{appendix} \appendix
\begin{appendix} \begin{appendix}
${1:TARGET} ${1:TARGET}
\end{appendix} \end{appendix}
snippet equation snippet equation
alias \begin{equation} alias \begin{equation} \equation
\begin{equation} \begin{equation}
${1:TARGET} ${1:TARGET}
\end{equation} \end{equation}
snippet equation* snippet equation*
alias \begin{equation*} alias \begin{equation*} \equation*
\begin{equation*} \begin{equation*}
${1:TARGET} ${1:TARGET}
\end{equation*} \end{equation*}
snippet center snippet center
alias \begin{center} alias \begin{center} \center
\begin{center} \begin{center}
${1:TARGET} ${1:TARGET}
\end{center} \end{center}
snippet document snippet document
alias \begin{document} alias \begin{document} \document
\begin{document} \begin{document}
${1:TARGET} ${1:TARGET}
\end{document} \end{document}
snippet figure snippet figure
alias \begin{figure} alias \begin{figure} \figure
\begin{figure} \begin{figure}
\begin{center} \begin{center}
\includegraphics[${1:width=}]{${2}} \includegraphics[${1:width=}]{${2}}
@ -196,49 +196,49 @@ alias \begin{figure}
\end{figure} \end{figure}
snippet filecontents snippet filecontents
alias \begin{filecontents} alias \begin{filecontents} \filecontents
\begin{filecontents} \begin{filecontents}
${1:TARGET} ${1:TARGET}
\end{filecontents} \end{filecontents}
snippet lrbox snippet lrbox
alias \begin{lrbox} alias \begin{lrbox} \lrbox
\begin{lrbox} \begin{lrbox}
${1:TARGET} ${1:TARGET}
\end{lrbox} \end{lrbox}
snippet flushleft snippet flushleft
alias \begin{flushleft} alias \begin{flushleft} \flushleft
\begin{flushleft} \begin{flushleft}
${1:TARGET} ${1:TARGET}
\end{flushleft} \end{flushleft}
snippet minipage
alias \begin{minipage}
\begin{minipage}
${1:TARGET}
\end{minipage}
snippet flushright snippet flushright
alias \begin{flushright} alias \begin{flushright} \flushright
\begin{flushright} \begin{flushright}
${1:TARGET} ${1:TARGET}
\end{flushright} \end{flushright}
snippet minipage
alias \begin{minipage} \minipage
\begin{minipage}
${1:TARGET}
\end{minipage}
snippet picture snippet picture
alias \begin{picture} alias \begin{picture} \picture
\begin{picture} \begin{picture}
${1:TARGET} ${1:TARGET}
\end{picture} \end{picture}
snippet math snippet math
alias \begin{math} alias \begin{math} \math
\begin{math} \begin{math}
${1:TARGET} ${1:TARGET}
\end{math} \end{math}
snippet quote snippet quote
alias \begin{quote} alias \begin{quote} \quote
\begin{quote} \begin{quote}
${1:TARGET} ${1:TARGET}
\end{quote} \end{quote}
@ -283,55 +283,55 @@ alias subparagraph \subparagraph{
# ========== FONT ========== # ========== FONT ==========
snippet bfseries snippet bfseries
alias \begin{bfseries} alias \begin{bfseries} \bfseries
\begin{bfseries} \begin{bfseries}
${1:TARGET} ${1:TARGET}
\end{bfseries} \end{bfseries}
snippet mdseries snippet mdseries
alias \begin{mdseries} alias \begin{mdseries} \mdseries
\begin{mdseries} \begin{mdseries}
${1:TARGET} ${1:TARGET}
\end{mdseries} \end{mdseries}
snippet ttfamily snippet ttfamily
alias \begin{ttfamily} alias \begin{ttfamily} \ttfamily
\begin{ttfamily} \begin{ttfamily}
${1:TARGET} ${1:TARGET}
\end{ttfamily} \end{ttfamily}
snippet sffamily snippet sffamily
alias \begin{sffamily} alias \begin{sffamily} \sffamily
\begin{sffamily} \begin{sffamily}
${1:TARGET} ${1:TARGET}
\end{sffamily} \end{sffamily}
snippet rmfamily snippet rmfamily
alias \begin{rmfamily} alias \begin{rmfamily} \rmfamily
\begin{rmfamily} \begin{rmfamily}
${1:TARGET} ${1:TARGET}
\end{rmfamily} \end{rmfamily}
snippet upshape snippet upshape
alias \begin{upshape} alias \begin{upshape} \upshape
\begin{upshape} \begin{upshape}
${1:TARGET} ${1:TARGET}
\end{upshape} \end{upshape}
snippet slshape snippet slshape
alias \begin{slshape} alias \begin{slshape} \slshape
\begin{slshape} \begin{slshape}
${1:TARGET} ${1:TARGET}
\end{slshape} \end{slshape}
snippet scshape snippet scshape
alias \begin{scshape} alias \begin{scshape} \scshape
\begin{scshape} \begin{scshape}
${1:TARGET} ${1:TARGET}
\end{scshape} \end{scshape}
snippet itshape snippet itshape
alias \begin{itshape} alias \begin{itshape} \itshape
\begin{itshape} \begin{itshape}
${1:TARGET} ${1:TARGET}
\end{itshape} \end{itshape}
@ -341,15 +341,15 @@ snippet usepackage
alias \usepackage alias \usepackage
\usepackage${1:[${2\}]}{${3}} \usepackage${1:[${2\}]}{${3}}
snippet \ref snippet ref
alias \ref{ alias \ref
\ref{${1}}${0} \ref{${1}}${0}
snippet \label snippet label
alias \label{ alias \label
\label{${1}}${0} \label{${1}}${0}
snippet \cite snippet cite
alias \cite{ alias \cite
\cite{${1}}${0} \cite{${1}}${0}

View File

@ -711,6 +711,9 @@ A: Please try below settings. It defines snipMate function.
============================================================================== ==============================================================================
CHANGELOG *neosnippet-changelog* CHANGELOG *neosnippet-changelog*
2012-12-21
- Improved tex snippets.
2012-12-13 2012-12-13
- Skip neocomplcache completion when expand or jump snippets. - Skip neocomplcache completion when expand or jump snippets.
- Fixed expand target behavior. - Fixed expand target behavior.