From 1972ec10bd0b13bc59f6cd013dc3c54ad32605cd Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Sun, 17 Aug 2014 18:12:58 +0200 Subject: [PATCH] Add tex listings snippets. --- snippets/tex.snippets | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/snippets/tex.snippets b/snippets/tex.snippets index 87c150c..db328e7 100644 --- a/snippets/tex.snippets +++ b/snippets/tex.snippets @@ -263,3 +263,10 @@ snippet col2 two-column environment ${0} \end{column} \end{columns} +# Code listings +snippet lst + \begin{listing}[language=${1:language}] + ${0} + \end{listing} +snippet lsi + \lstinline|${1}| ${0}