From c1b2dd5579aec0f82462f99be13e7ea1170f04dd Mon Sep 17 00:00:00 2001 From: Sebastian Kuhnert Date: Fri, 23 Oct 2009 13:07:16 +0000 Subject: fix \points macro; add \iforalsolutions and \ifnonoralsolutions --- exercisesheets.tex | 2 ++ 1 file changed, 2 insertions(+) (limited to 'exercisesheets.tex') 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: -- cgit v1.2.3