diff options
| author | JP Appel <jeanpierre.appel01@gmail.com> | 2026-04-04 16:35:16 -0400 |
|---|---|---|
| committer | JP Appel <jeanpierre.appel01@gmail.com> | 2026-04-04 16:35:16 -0400 |
| commit | cc9b8850dfcf6bb9c07965b7d923904a23ad72ef (patch) | |
| tree | 1913ea3b4866458a4cbb00bc4e9f78a0e8d8eec8 | |
| parent | 4c6b12fce57615c38043d55054da8a05d716503f (diff) | |
Update template
| -rw-r--r-- | pandoc/templates/math_homework.latex | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/pandoc/templates/math_homework.latex b/pandoc/templates/math_homework.latex index 9db41f8..996f68c 100644 --- a/pandoc/templates/math_homework.latex +++ b/pandoc/templates/math_homework.latex @@ -342,9 +342,13 @@ $if(tikz)$ $endif$ $if(math)$ -\newcommand{\R}{\mathbb{R}} \newcommand{\C}{\mathbb{C}} +\newcommand{\R}{\mathbb{R}} +\newcommand{\Q}{\mathbb{Q}} +\newcommand{\Z}{\mathbb{Z}} +\newcommand{\N}{\mathbb{N}} \DeclareMathOperator{\Image}{im} +\renewcommand{\epsilon}{\varepsilon} $for(math)$ $if(math.proof)$ \usepackage{amsthm} @@ -362,14 +366,36 @@ $if(math)$ \newtheorem{case}{Case} \newtheorem*{case*}{Case} \newtheorem{lemma}{Lemma} +\newtheorem*{lemma*}{Lemma} $endif$ %math.proof + $if(math.sets)$ + \renewcommand{\emptyset}{\varnothing} + $endif$ %math.sets + $if(math.topology)$ +\newcommand{\closure}[1]{\overline{#1}} +\newcommand{\interior}[1]{#1^\circ} + $endif$ %math.topology + $if(math.measure)$ + $endif$ % math.measure + $if(math.algebra)$ +\newcommand{\subgroup}{\leq} +\newcommand{\normsubgroup}{\trianglelefteq} +\newcommand{\isom}{\cong} +\DeclareMathOperator{\Tor}{Tor} % set of torsion elements +\DeclareMathOperator{\Aut}{Aut} % automorphisms +\DeclareMathOperator{\End}{End} % endomorphisms +\DeclareMathOperator{\Hom}{Hom} % homomorphisms + $endif$ % math.algebra $if(math.linear_algebra)$ \DeclareMathOperator{\tr}{tr} % trace \DeclareMathOperator{\diag}{diag} % diagonal matrix +\DeclareMathOperator{\rank}{rank} +\newcommand{\triplenorm}[1]{\left\lvert\!\left\lVert #1 \right\lVert\!\right\lvert} $endif$ % math.linear_algebra $if(math.optimization)$ \DeclareMathOperator*{\argmax}{argmax} \DeclareMathOperator*{\argmin}{argmin} + \newcommand{\grad}{\nabla} $endif$ % math.optimization $if(math.geometry)$ \newcommand{\Line}{\overleftrightarrow} |
