More improvements to latex snippets

This commit is contained in:
2022-02-11 16:18:35 -08:00
parent 3ed4c0736f
commit d958a17cc7
+17 -1
View File
@@ -1,6 +1,10 @@
snippet article "WriteArticle"
\documentclass{article}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage[a4paper, total={6in, 8in}]{geometry}
\title{$1}
\date{$2}
\author{Nicholas Novak}
@@ -30,6 +34,18 @@ snippet sec "Section" b
\section{$1}
endsnippet
snippet span "Linear Span" w
\textrm{Span}\left\\{$1\right\\}
endsnippet
snippet left "Large Groupings" i
\left$1\right$1
endsnippet
snippet lb "Large Brackets" wA
\left\{$1\right\}
endsnippet
snippet mk "InlineMath" wA
$${1}$`!p
if t[2] and t[2][0] not in [',', '.', '?', '-', ' ']:
@@ -53,6 +69,6 @@ snippet corr "Correct"
\textcolor{red}{$1}
endsnippet
snippet pm "Parenthesied matrix"
snippet pm "Parenthesied matrix" i
\begin{pmatrix}$1\end{pmatrix}
endsnippet