aboutsummaryrefslogtreecommitdiff
path: root/exercisesheets.tex
diff options
context:
space:
mode:
authorSebastian Kuhnert2009-10-23 13:07:16 +0000
committerSebastian Kuhnert2009-10-23 13:07:16 +0000
commitc1b2dd5579aec0f82462f99be13e7ea1170f04dd (patch)
tree654bd6238ffa8273c9099730365f3865f83b3bb2 /exercisesheets.tex
parent816f7d93d5e2670885766e699f77e91f03ceb844 (diff)
downloadexercisesheets-c1b2dd5579aec0f82462f99be13e7ea1170f04dd.tar.gz
exercisesheets-c1b2dd5579aec0f82462f99be13e7ea1170f04dd.tar.bz2
exercisesheets-c1b2dd5579aec0f82462f99be13e7ea1170f04dd.zip
fix \points macro; add \iforalsolutions and \ifnonoralsolutions
Diffstat (limited to 'exercisesheets.tex')
-rw-r--r--exercisesheets.tex2
1 files changed, 2 insertions, 0 deletions
diff --git a/exercisesheets.tex b/exercisesheets.tex
index 81dec8f..9ebf550 100644
--- a/exercisesheets.tex
+++ b/exercisesheets.tex
@@ -397,6 +397,8 @@ The following options allow fine-tuning of the spacing:
\subsection{Special Code for Solutions}
\begin{lstlisting}
\ifsolutions{(*\param{if true}*)}{(*\param{if false}*)}
+\iforalsolutions{(*\param{if true}*)}{(*\param{if false}*)}
+\ifnonoralsolutions{(*\param{if true}*)}{(*\param{if false}*)}
\end{lstlisting}
Example: Only include points for sub-exercises when solutions are typeset: