summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/homework/homework-demo-en.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/homework/homework-demo-en.tex')
-rw-r--r--macros/latex/contrib/homework/homework-demo-en.tex22
1 files changed, 18 insertions, 4 deletions
diff --git a/macros/latex/contrib/homework/homework-demo-en.tex b/macros/latex/contrib/homework/homework-demo-en.tex
index fc99795da7..dd25bbc6b5 100644
--- a/macros/latex/contrib/homework/homework-demo-en.tex
+++ b/macros/latex/contrib/homework/homework-demo-en.tex
@@ -1,6 +1,6 @@
\documentclass[11pt,
logo = {example-image},
- % logo height = 2\baselineskip,
+ % logo height = 1cm,
title in boldface,
% title in sffamily,
theorem in new line,
@@ -25,7 +25,7 @@
\bigskip\textcolor{gray!55}{(If you wish to state the problem and then write your answer...)}
-\begin{problem}
+\begin{problem}[Brief description]
You may also state the problem here...
\end{problem}
@@ -37,16 +37,27 @@
\begin{solution}[Proof]
... or a proof like this one...
- \begin{lemma}\label{lem}
+ \begin{lemma}[You may write some description here]\label{lem}
Some auxiliary result.
\end{lemma}
\begin{proof}
- The proof of \cref{lem}.
+ The proof of \cref{lem}, where we use the following formula:
+ \[
+ \infty = \infty + 1.
+ \qedhere % To place the QED symbol in the right place
+ \]
\end{proof}
... and the rest steps...
\end{solution}
+\bigskip\textcolor{gray!55}{(You may also write \texttt{answer} instead of \texttt{solution} if you wish...)}
+
+\begin{answer}
+ The usage of the \verb|answer| environment is exactly the same as \verb|solution|.
+\end{answer}
+
+
\bigskip\textcolor{gray!55}{(If you prefer the classical proof style...)}
\begin{proof}
@@ -54,4 +65,7 @@
\end{proof}
+\DNF<some description>
+
+
\end{document}