tex snippets: misc changes
This commit is contained in:
parent
57bbb897dd
commit
1b60f3c0e5
@ -91,6 +91,10 @@ snippet cent "center env" bi
|
|||||||
\end{center}
|
\end{center}
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
snippet chap "chapter" bi
|
||||||
|
\chapter{$1}
|
||||||
|
endsnippet
|
||||||
|
|
||||||
snippet sec "section" wi
|
snippet sec "section" wi
|
||||||
\section{$1}
|
\section{$1}
|
||||||
endsnippet
|
endsnippet
|
||||||
@ -235,6 +239,10 @@ $1
|
|||||||
\end{lstlisting}
|
\end{lstlisting}
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
snippet `` "source code listing (inline)" wi
|
||||||
|
\lstinline{${1:${VISUAL}}}
|
||||||
|
endsnippet
|
||||||
|
|
||||||
snippet lstf "source code listing from file" bi
|
snippet lstf "source code listing from file" bi
|
||||||
\lstinputlisting[]{src/`!p snip.rv = snip.basename`.cpp}
|
\lstinputlisting[]{src/`!p snip.rv = snip.basename`.cpp}
|
||||||
endsnippet
|
endsnippet
|
||||||
@ -374,7 +382,7 @@ $0
|
|||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet master "template for notes" bi
|
snippet master "template for notes" bi
|
||||||
\documentclass[fleqn, 12pt, a4paper]{article}
|
\documentclass[fleqn, 12pt, openany, a4paper]{article}
|
||||||
\input{$1../preamble.tex}
|
\input{$1../preamble.tex}
|
||||||
%\input{glossary.tex}
|
%\input{glossary.tex}
|
||||||
\title{$2}
|
\title{$2}
|
||||||
|
Loading…
Reference in New Issue
Block a user