From 49ef533b7ec84fb913bbcd73728811166d1b637d Mon Sep 17 00:00:00 2001 From: Sebastian Kuhnert Date: Tue, 25 Nov 2008 11:37:29 +0000 Subject: exercisesheets.sty: update \pun to \points; improve layout --- exercisesheets.tex | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'exercisesheets.tex') diff --git a/exercisesheets.tex b/exercisesheets.tex index ae3b10e..32d4bab 100644 --- a/exercisesheets.tex +++ b/exercisesheets.tex @@ -35,7 +35,7 @@ \title{The \exsh Package} \author{Sebastian Kuhnert} -\date{November 13th, 2008} +\date{November 25th, 2008} \begin{document} \maketitle @@ -248,8 +248,9 @@ each place. \begin{lstlisting} \begin{exercise}[points=10] \begin{enumerate} - \item Part 1 \pun[5] - \item Part 2 \pun[5] + \item Part 1 \points{oral} + \item Part 2 \points{4} + \item Part 3 \points{6} \end{enumerate} \end{exercise} \end{lstlisting} @@ -338,7 +339,7 @@ values: \item[\option{exercise title font}] The font for the exercise title.\\ Default: \verb|\bfseries| \item[\option{points font}] The font for the number of points in the exercise - head (relative to the exercise title) and for \verb|\pun|.\\ + head (relative to the exercise title) and for \verb|\points|.\\ Default: \verb|\itshape| \item[\option{hint font}] The font for hints. \\ Default: empty, i.\,e.\ no change. @@ -389,7 +390,7 @@ The following options allow fine-tuning of the spacing: Example: Only include points for sub-exercises when solutions are typeset: \begin{lstlisting} -\ifsolutions{}{\renewcommand{\pun}[1][]{}} +\ifsolutions{}{\renewcommand{\points}[1]{}} \end{lstlisting} \subsection{Using Hooks} -- cgit v1.2.3