Merge pull request #128 from lunaryorn/tex-remove-foldmarkers
Remove fold markers from tex snippets
This commit is contained in:
commit
9988d5bf78
@ -1,5 +1,3 @@
|
|||||||
# recomendation: change the fold marker from {{{,}}} to (fold),(end) ; tex uses "{" and "}" a lot
|
|
||||||
|
|
||||||
#PREAMBLE
|
#PREAMBLE
|
||||||
#newcommand
|
#newcommand
|
||||||
snippet nc
|
snippet nc
|
||||||
@ -97,40 +95,34 @@ snippet part
|
|||||||
% part $2 (end)
|
% part $2 (end)
|
||||||
# Chapter
|
# Chapter
|
||||||
snippet cha
|
snippet cha
|
||||||
\chapter{${1:chapter name}} % (fold)
|
\chapter{${1:chapter name}}
|
||||||
\label{cha:${2:$1}}
|
\label{cha:${2:$1}}
|
||||||
${3}
|
${3}
|
||||||
% chapter $2 (end)
|
|
||||||
# Section
|
# Section
|
||||||
snippet sec
|
snippet sec
|
||||||
\section{${1:section name}} % (fold)
|
\section{${1:section name}}
|
||||||
\label{sec:${2:$1}}
|
\label{sec:${2:$1}}
|
||||||
${3}
|
${3}
|
||||||
% section $2 (end)
|
|
||||||
# Sub Section
|
# Sub Section
|
||||||
snippet sub
|
snippet sub
|
||||||
\subsection{${1:subsection name}} % (fold)
|
\subsection{${1:subsection name}}
|
||||||
\label{sub:${2:$1}}
|
\label{sub:${2:$1}}
|
||||||
${3}
|
${3}
|
||||||
% subsection $2 (end)
|
|
||||||
# Sub Sub Section
|
# Sub Sub Section
|
||||||
snippet subs
|
snippet subs
|
||||||
\subsubsection{${1:subsubsection name}} % (fold)
|
\subsubsection{${1:subsubsection name}}
|
||||||
\label{ssub:${2:$1}}
|
\label{ssub:${2:$1}}
|
||||||
${3}
|
${3}
|
||||||
% subsubsection $2 (end)
|
|
||||||
# Paragraph
|
# Paragraph
|
||||||
snippet par
|
snippet par
|
||||||
\paragraph{${1:paragraph name}} % (fold)
|
\paragraph{${1:paragraph name}}
|
||||||
\label{par:${2:$1}}
|
\label{par:${2:$1}}
|
||||||
${3}
|
${3}
|
||||||
% paragraph $2 (end)
|
|
||||||
# Sub Paragraph
|
# Sub Paragraph
|
||||||
snippet subp
|
snippet subp
|
||||||
\subparagraph{${1:subparagraph name}} % (fold)
|
\subparagraph{${1:subparagraph name}}
|
||||||
\label{subp:${2:$1}}
|
\label{subp:${2:$1}}
|
||||||
${3}
|
${3}
|
||||||
% subparagraph $2 (end)
|
|
||||||
#References
|
#References
|
||||||
snippet itd
|
snippet itd
|
||||||
\item[${1:description}] ${2:item}
|
\item[${1:description}] ${2:item}
|
||||||
|
Loading…
Reference in New Issue
Block a user