summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/exsheets/exsheets_en.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-05-13 22:10:53 +0000
committerKarl Berry <karl@freefriends.org>2014-05-13 22:10:53 +0000
commita24fc3622e5dd5faa555ff702953f83bb38d0bb3 (patch)
tree96857f68da314b09306dee7a971f61d5394dc5ef /Master/texmf-dist/doc/latex/exsheets/exsheets_en.tex
parent965a87a0387a9b227aca0cf47913062116a7d735 (diff)
exsheets (11may14)
git-svn-id: svn://tug.org/texlive/trunk@34014 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/exsheets/exsheets_en.tex')
-rw-r--r--Master/texmf-dist/doc/latex/exsheets/exsheets_en.tex30
1 files changed, 28 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/latex/exsheets/exsheets_en.tex b/Master/texmf-dist/doc/latex/exsheets/exsheets_en.tex
index 09d853ff8a3..ea18bc5f1a2 100644
--- a/Master/texmf-dist/doc/latex/exsheets/exsheets_en.tex
+++ b/Master/texmf-dist/doc/latex/exsheets/exsheets_en.tex
@@ -13,7 +13,7 @@
% Web: https://bitbucket.org/cgnieder/exsheets/
% E-Mail: contact@mychemistry.eu
% --------------------------------------------------------------------------
-% Copyright 2011-2013 Clemens Niederberger
+% Copyright 2011-2014 Clemens Niederberger
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -410,6 +410,17 @@ packages \pkg{cleveref}.
Question properties can now be retrieved before the question is printed (by
writing the properties to the \code{aux} file).
+\subsection{Version 0.13}
+New options:
+\begin{itemize}
+ \item \option{chapter-hook} allows to add code to the list of solutions when
+ the solutions of a new chapter are printed, see
+ section~\ref{sec:solutions-print-all}.
+ \item \option{section-hook} allows to add code to the list of solutions when
+ the solutions of a new section are printed, see
+ section~\ref{sec:solutions-print-all}.
+\end{itemize}
+
\section{Thanks}
I need to thank the many users who gave me feedback so far! For one thing
this shows me that \ExSheets\ is useful to people. It also led to many
@@ -950,7 +961,7 @@ They might come in handy if you want two versions of an exercise sheet, one
with the exercises and one with the solutions, and you want to add different
titles to these versions, for instance.
-\subsection{Print all}
+\subsection{Print all}\label{sec:solutions-print-all}
The first and easiest usage of \cs{printsolutions} is the following:
\begin{sourcecode}
\printsolutions
@@ -965,6 +976,21 @@ explained in the next sections.
\printsolutions
\end{example}
+Two options aloow to add code to the list of solutions when used with
+\cs{printsolutions}\Oarg{all} (which is the same as using it without option):
+
+\begin{options}
+ \keyval{chapter-hook}{code}
+ \sinceversion{0.13}Adds \meta{code} to the list of solutions every time
+ solutions from a new chapter are printed (before the solutions of the
+ corresponding chapter are printed).
+ \keyval{section-hook}{code}
+ \sinceversion{0.13}Adds \meta{code} to the list of solutions every time
+ solutions from a new section are printed (before the solutions of the
+ corresponding section are printed).
+\end{options}
+
+
\subsection{Print per chapter/section}
\minisec{Current chapter/section}
If you are not creating an exercise sheet or an exam but are writing a