Merge pull request #33 from daoo/master

Fix issues in tex snippets
This commit is contained in:
Honza Pokorny 2011-10-08 09:30:28 -07:00
commit e255af80d9

View File

@ -1,4 +1,4 @@
# recomendation: no change the fold marker (fold),(end) to {{{,}}} ; latex use many times "{" and "}" # recomendation: change the fold marker from {{{,}}} to (fold),(end) ; tex uses "{" and "}" a lot
# \begin{}...\end{} # \begin{}...\end{}
snippet begin snippet begin
\begin{${1:env}} \begin{${1:env}}
@ -148,16 +148,16 @@ 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}}
\end{figure} \end{figure}
#math #math
snippet frac snippet frac
\frac{$1}{$2} \frac{${1}}{${2}}
snippet sum snippet sum
$\sum^{${1:n}}_{${2:i=1}}{$3}$ \sum^{${1:n}}_{${2:i=1}}{${3}}
#cite #cite
snippet cite snippet cite
\cite{$1} \cite{${1}}