aboutsummaryrefslogtreecommitdiffstats
path: root/pandoc
diff options
context:
space:
mode:
Diffstat (limited to 'pandoc')
-rw-r--r--pandoc/templates/math_homework.latex9
1 files changed, 6 insertions, 3 deletions
diff --git a/pandoc/templates/math_homework.latex b/pandoc/templates/math_homework.latex
index 4571e83..287744c 100644
--- a/pandoc/templates/math_homework.latex
+++ b/pandoc/templates/math_homework.latex
@@ -359,6 +359,7 @@ $if(math)$
\newtheorem{case}{Case}
\newtheorem*{case*}{Case}
\newtheorem{lemma}{Lemma}
+\newcommand{\foo}{\textbf{foo}}
$endif$
$if(math.geometry)$
\newcommand{\Line}{\overleftrightarrow}
@@ -380,11 +381,13 @@ $if(math)$
}
$endif$
$endif$
- $endfor$
$if(math.complex)$
-\renewcommand{\Re}{\textrm{Re}}
-\renewcommand{\Im}{\textrm{Im}}
+\renewcommand{\Re}{\operatorname{Re}}
+\renewcommand{\Im}{\operatorname{Im}}
+\newcommand{\conjugate}[1]{\overline{#1}}
+\newcommand{\modulus}[1]{\left|#1\right|}
$endif$
+ $endfor$
$endif$
\begin{document}