From 4bc54d660238aef369187b52d82f1a9bb065b692 Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Thu, 28 Aug 2014 11:48:55 +0200 Subject: [PATCH] Add tex hyperlink snippets. --- snippets/tex.snippets | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/snippets/tex.snippets b/snippets/tex.snippets index db328e7..d48b263 100644 --- a/snippets/tex.snippets +++ b/snippets/tex.snippets @@ -270,3 +270,13 @@ snippet lst \end{listing} snippet lsi \lstinline|${1}| ${0} +# Hyperlinks +snippet url + \url{${1}} ${0} +snippet href + \href{${1}}{${2}} ${0} +# URL from Clipboard. +snippet urlc + \url{`@+`} ${0} +snippet hrefc + \href{`@+`}{${1}} ${0}