From 68e5522b5f6ee3b44d84521ae449bd88f3cbe548 Mon Sep 17 00:00:00 2001 From: Samuel ORTION Date: Tue, 28 Mar 2023 08:44:58 +0200 Subject: [PATCH] Added tikz standalone figure snippet --- latex.code-snippets | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/latex.code-snippets b/latex.code-snippets index 329c8dd..744b213 100644 --- a/latex.code-snippets +++ b/latex.code-snippets @@ -49,4 +49,27 @@ "%----------------------------------------------------------------------------", ] }, + "Hypothesis highlight":{ + "scope": "latex,tex", + "prefix": "hyp", + "body": [ + "\\textit{\\textcolor{orange}{Hyp.} $0}", + ] + }, + "Figure TikZ Standalone":{ + "scope": "latex,tex", + "prefix": "tikzfig", + "body":[ + "\\documentclass[margin=0.5cm]{standalone}", + "\\usepackage{tikz}", + "\\usetikzlibrary{positioning,calc}", + "", + "\\begin{document}", + "", + "\\begin{tikzpicture}", + " $0", + "\\end{tikzpicture}", + "\\end{document}", + ] + } } \ No newline at end of file