Added tex graph snippets

This commit is contained in:
2022-02-15 13:57:38 -08:00
parent dd7d8b969f
commit 7afa1f24a1
+17
View File
@@ -76,3 +76,20 @@ endsnippet
snippet pm "Parenthesied matrix" i
\begin{pmatrix}$1\end{pmatrix}
endsnippet
# Graphing utilities
snippet graph "Start Graph" b
\begin{center}
\begin{tikzpicture}
$1
\end{tikzpicture}
\end{center}$0
endsnippet
snippet line "Graph Line" w
\draw[<->] ($1)--($2) node[]{$3};
endsnippet
snippet vector "Graph Vector" w
\draw[line width=2pt,blue,-stealth] ($1)--($2) node[]{$3};
endsnippet