More improvements to latex snippets
This commit is contained in:
@@ -1,6 +1,10 @@
|
|||||||
snippet article "WriteArticle"
|
snippet article "WriteArticle"
|
||||||
\documentclass{article}
|
\documentclass{article}
|
||||||
|
|
||||||
|
\usepackage{amsmath}
|
||||||
|
\usepackage{amsfonts}
|
||||||
|
\usepackage[a4paper, total={6in, 8in}]{geometry}
|
||||||
|
|
||||||
\title{$1}
|
\title{$1}
|
||||||
\date{$2}
|
\date{$2}
|
||||||
\author{Nicholas Novak}
|
\author{Nicholas Novak}
|
||||||
@@ -30,6 +34,18 @@ snippet sec "Section" b
|
|||||||
\section{$1}
|
\section{$1}
|
||||||
endsnippet
|
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
|
snippet mk "InlineMath" wA
|
||||||
$${1}$`!p
|
$${1}$`!p
|
||||||
if t[2] and t[2][0] not in [',', '.', '?', '-', ' ']:
|
if t[2] and t[2][0] not in [',', '.', '?', '-', ' ']:
|
||||||
@@ -53,6 +69,6 @@ snippet corr "Correct"
|
|||||||
\textcolor{red}{$1}
|
\textcolor{red}{$1}
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet pm "Parenthesied matrix"
|
snippet pm "Parenthesied matrix" i
|
||||||
\begin{pmatrix}$1\end{pmatrix}
|
\begin{pmatrix}$1\end{pmatrix}
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|||||||
Reference in New Issue
Block a user