]> git.sthu.org Git - vimconf.git/commitdiff
neosnippets: Add inputtikz
authorStefan Huber <shuber@sthu.org>
Wed, 18 Sep 2024 10:14:35 +0000 (12:14 +0200)
committerStefan Huber <shuber@sthu.org>
Wed, 18 Sep 2024 10:14:35 +0000 (12:14 +0200)
neosnippets/tex.snip

index 177d4272fcb55ef2d68e9c406f343e140e4f768a..75b1547a599d5f3e5c285c427c6df90ce5bc0aba 100644 (file)
@@ -23,3 +23,13 @@ alias   \begin{choices} \choices
        \begin{choices}
                ${1:TARGET}
        \end{choices}
+
+
+snippet inputtikz
+abbr figure with \inputtikz
+       \begin{figure}[tbhp]
+               \centering
+               \inputtikz{${1:TARGET}}
+               \caption{${2:CAPTION}}
+               \label{fig:$1}
+       \end{figure}