Fixed indentation issue
This commit is contained in:
parent
7ce665eeac
commit
ab0e535cb1
@ -14,163 +14,163 @@ snippet dmo
|
|||||||
|
|
||||||
#DOCUMENT
|
#DOCUMENT
|
||||||
# \begin{}...\end{}
|
# \begin{}...\end{}
|
||||||
snippet begin
|
snippet begin
|
||||||
\begin{${1:env}}
|
\begin{${1:env}}
|
||||||
${0}
|
${0}
|
||||||
\end{$1}
|
\end{$1}
|
||||||
# Tabular
|
# Tabular
|
||||||
snippet tab
|
snippet tab
|
||||||
\begin{${1:tabular}}{${2:c}}
|
\begin{${1:tabular}}{${2:c}}
|
||||||
${0}
|
${0}
|
||||||
\end{$1}
|
\end{$1}
|
||||||
snippet thm
|
snippet thm
|
||||||
\begin[${1:author}]{${2:thm}}
|
\begin[${1:author}]{${2:thm}}
|
||||||
${0}
|
${0}
|
||||||
\end{$2}
|
\end{$2}
|
||||||
snippet center
|
snippet center
|
||||||
\begin{center}
|
\begin{center}
|
||||||
${0}
|
${0}
|
||||||
\end{center}
|
\end{center}
|
||||||
# Align(ed)
|
# Align(ed)
|
||||||
snippet ali
|
snippet ali
|
||||||
\begin{align${1:ed}}
|
\begin{align${1:ed}}
|
||||||
\label{eq:${2}}
|
\label{eq:${2}}
|
||||||
${0}
|
${0}
|
||||||
\end{align$1}
|
\end{align$1}
|
||||||
# Gather(ed)
|
# Gather(ed)
|
||||||
snippet gat
|
snippet gat
|
||||||
\begin{gather${1:ed}}
|
\begin{gather${1:ed}}
|
||||||
${0}
|
${0}
|
||||||
\end{gather$1}
|
\end{gather$1}
|
||||||
# Equation
|
# Equation
|
||||||
snippet eq
|
snippet eq
|
||||||
\begin{equation}
|
\begin{equation}
|
||||||
\label{eq:${2}}
|
\label{eq:${2}}
|
||||||
${0}
|
${0}
|
||||||
\end{equation}
|
\end{equation}
|
||||||
# Equation
|
# Equation
|
||||||
snippet eq*
|
snippet eq*
|
||||||
\begin{equation*}
|
\begin{equation*}
|
||||||
${0}
|
${0}
|
||||||
\end{equation*}
|
\end{equation*}
|
||||||
# Unnumbered Equation
|
# Unnumbered Equation
|
||||||
snippet \
|
snippet \
|
||||||
\[
|
\[
|
||||||
${0}
|
${0}
|
||||||
\]
|
\]
|
||||||
# Equation array
|
# Equation array
|
||||||
snippet eqnarray
|
snippet eqnarray
|
||||||
\begin{eqnarray}
|
\begin{eqnarray}
|
||||||
${0}
|
${0}
|
||||||
\end{eqnarray}
|
\end{eqnarray}
|
||||||
# Label
|
# Label
|
||||||
snippet lab
|
snippet lab
|
||||||
\label{${1:eq:}${2:fig:}${3:tab:}${0}}
|
\label{${1:eq:}${2:fig:}${3:tab:}${0}}
|
||||||
# Enumerate
|
# Enumerate
|
||||||
snippet enum
|
snippet enum
|
||||||
\begin{enumerate}
|
\begin{enumerate}
|
||||||
\item ${0}
|
\item ${0}
|
||||||
\end{enumerate}
|
\end{enumerate}
|
||||||
# Itemize
|
# Itemize
|
||||||
snippet itemize
|
snippet itemize
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
\item ${0}
|
\item ${0}
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
snippet item
|
snippet item
|
||||||
\item ${1}
|
\item ${1}
|
||||||
# Description
|
# Description
|
||||||
snippet desc
|
snippet desc
|
||||||
\begin{description}
|
\begin{description}
|
||||||
\item[${1}] ${0}
|
\item[${1}] ${0}
|
||||||
\end{description}
|
\end{description}
|
||||||
# Endless new item
|
# Endless new item
|
||||||
snippet ]i
|
snippet ]i
|
||||||
\item ${1}
|
\item ${1}
|
||||||
${0:]i}
|
${0:]i}
|
||||||
# Matrix
|
# Matrix
|
||||||
snippet mat
|
snippet mat
|
||||||
\begin{${1:p/b/v/V/B/small}matrix}
|
\begin{${1:p/b/v/V/B/small}matrix}
|
||||||
${0}
|
${0}
|
||||||
\end{$1matrix}
|
\end{$1matrix}
|
||||||
# Cases
|
# Cases
|
||||||
snippet cas
|
snippet cas
|
||||||
\begin{cases}
|
\begin{cases}
|
||||||
${1:equation}, &\text{ if }${2:case}\\
|
${1:equation}, &\text{ if }${2:case}\\
|
||||||
${0}
|
${0}
|
||||||
\end{cases}
|
\end{cases}
|
||||||
# Split
|
# Split
|
||||||
snippet spl
|
snippet spl
|
||||||
\begin{split}
|
\begin{split}
|
||||||
${0}
|
${0}
|
||||||
\end{split}
|
\end{split}
|
||||||
# Part
|
# Part
|
||||||
snippet part
|
snippet part
|
||||||
\part{${1:part name}} % (fold)
|
\part{${1:part name}} % (fold)
|
||||||
\label{prt:${2:$1}}
|
\label{prt:${2:$1}}
|
||||||
${0}
|
${0}
|
||||||
% part $2 (end)
|
% part $2 (end)
|
||||||
# Chapter
|
# Chapter
|
||||||
snippet cha
|
snippet cha
|
||||||
\chapter{${1:chapter name}}
|
\chapter{${1:chapter name}}
|
||||||
\label{cha:${2:$1}}
|
\label{cha:${2:$1}}
|
||||||
${0}
|
${0}
|
||||||
# Section
|
# Section
|
||||||
snippet sec
|
snippet sec
|
||||||
\section{${1:section name}}
|
\section{${1:section name}}
|
||||||
\label{sec:${2:$1}}
|
\label{sec:${2:$1}}
|
||||||
${0}
|
${0}
|
||||||
# Section without number
|
# Section without number
|
||||||
snippet sec*
|
snippet sec*
|
||||||
\section*{${1:section name}}
|
\section*{${1:section name}}
|
||||||
\label{sec:${2:$1}}
|
\label{sec:${2:$1}}
|
||||||
${0}
|
${0}
|
||||||
# Sub Section
|
# Sub Section
|
||||||
snippet sub
|
snippet sub
|
||||||
\subsection{${1:subsection name}}
|
\subsection{${1:subsection name}}
|
||||||
\label{sub:${2:$1}}
|
\label{sub:${2:$1}}
|
||||||
${0}
|
${0}
|
||||||
# Sub Section without number
|
# Sub Section without number
|
||||||
snippet sub*
|
snippet sub*
|
||||||
\subsection*{${1:subsection name}}
|
\subsection*{${1:subsection name}}
|
||||||
\label{sub:${2:$1}}
|
\label{sub:${2:$1}}
|
||||||
${0}
|
${0}
|
||||||
# Sub Sub Section
|
# Sub Sub Section
|
||||||
snippet subs
|
snippet subs
|
||||||
\subsubsection{${1:subsubsection name}}
|
\subsubsection{${1:subsubsection name}}
|
||||||
\label{ssub:${2:$1}}
|
\label{ssub:${2:$1}}
|
||||||
${0}
|
${0}
|
||||||
# Sub Sub Section without number
|
# Sub Sub Section without number
|
||||||
snippet subs*
|
snippet subs*
|
||||||
\subsubsection*{${1:subsubsection name}}
|
\subsubsection*{${1:subsubsection name}}
|
||||||
\label{ssub:${2:$1}}
|
\label{ssub:${2:$1}}
|
||||||
${0}
|
${0}
|
||||||
# Paragraph
|
# Paragraph
|
||||||
snippet par
|
snippet par
|
||||||
\paragraph{${1:paragraph name}}
|
\paragraph{${1:paragraph name}}
|
||||||
\label{par:${2:$1}}
|
\label{par:${2:$1}}
|
||||||
${0}
|
${0}
|
||||||
# Sub Paragraph
|
# Sub Paragraph
|
||||||
snippet subp
|
snippet subp
|
||||||
\subparagraph{${1:subparagraph name}}
|
\subparagraph{${1:subparagraph name}}
|
||||||
\label{subp:${2:$1}}
|
\label{subp:${2:$1}}
|
||||||
${0}
|
${0}
|
||||||
snippet ni
|
snippet ni
|
||||||
\noindent
|
\noindent
|
||||||
${0}
|
${0}
|
||||||
#References
|
#References
|
||||||
snippet itd
|
snippet itd
|
||||||
\item[${1:description}] ${0:item}
|
\item[${1:description}] ${0:item}
|
||||||
snippet figure
|
snippet figure
|
||||||
${1:Figure}~\ref{${2:fig:}}
|
${1:Figure}~\ref{${2:fig:}}
|
||||||
snippet table
|
snippet table
|
||||||
${1:Table}~\ref{${2:tab:}}
|
${1:Table}~\ref{${2:tab:}}
|
||||||
snippet listing
|
snippet listing
|
||||||
${1:Listing}~\ref{${2:list}}
|
${1:Listing}~\ref{${2:list}}
|
||||||
snippet section
|
snippet section
|
||||||
${1:Section}~\ref{sec:${2}} ${0}
|
${1:Section}~\ref{sec:${2}} ${0}
|
||||||
snippet page
|
snippet page
|
||||||
${1:page}~\pageref{${2}} ${0}
|
${1:page}~\pageref{${2}} ${0}
|
||||||
snippet index
|
snippet index
|
||||||
\index{${1:index}} ${0}
|
\index{${1:index}} ${0}
|
||||||
#Citations
|
#Citations
|
||||||
snippet citen
|
snippet citen
|
||||||
@ -212,7 +212,7 @@ snippet ft
|
|||||||
snippet fig
|
snippet fig
|
||||||
\begin{figure}
|
\begin{figure}
|
||||||
\begin{center}
|
\begin{center}
|
||||||
\includegraphics[scale=${1}]{Figures/${2}}
|
\includegraphics[scale=${1}]{Figures/${2}}
|
||||||
\end{center}
|
\end{center}
|
||||||
\caption{${3}}
|
\caption{${3}}
|
||||||
\label{fig:${4}}
|
\label{fig:${4}}
|
||||||
|
Loading…
Reference in New Issue
Block a user