From cb121761c0eab3885766e8a10e3f6068d746d4a3 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 14 Sep 2014 21:59:39 +0000 Subject: exsheets (14sep14) git-svn-id: svn://tug.org/texlive/trunk@35168 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/exsheets/README | 6 +-- .../texmf-dist/doc/latex/exsheets/exsheets_en.pdf | Bin 672736 -> 679273 bytes .../texmf-dist/doc/latex/exsheets/exsheets_en.tex | 48 ++++++++++++++++++--- 3 files changed, 44 insertions(+), 10 deletions(-) (limited to 'Master/texmf-dist/doc/latex/exsheets') diff --git a/Master/texmf-dist/doc/latex/exsheets/README b/Master/texmf-dist/doc/latex/exsheets/README index 3bbc7723442..f2d1cb1b91c 100644 --- a/Master/texmf-dist/doc/latex/exsheets/README +++ b/Master/texmf-dist/doc/latex/exsheets/README @@ -1,9 +1,9 @@ -------------------------------------------------------------------------- -EXSHEETS 2014/07/20 +EXSHEETS 2014/09/14 bundled packages: -the EXSHEETS package v0.15 +the EXSHEETS package v0.16 Yet another package for the creation of exercise sheets -the EXSHEETS-LISTINGS package v0.2 +the EXSHEETS-LISTINGS package v0.16 Using listings in exsheets -------------------------------------------------------------------------- diff --git a/Master/texmf-dist/doc/latex/exsheets/exsheets_en.pdf b/Master/texmf-dist/doc/latex/exsheets/exsheets_en.pdf index e0d18574c53..f82b8eccbcc 100644 Binary files a/Master/texmf-dist/doc/latex/exsheets/exsheets_en.pdf and b/Master/texmf-dist/doc/latex/exsheets/exsheets_en.pdf differ diff --git a/Master/texmf-dist/doc/latex/exsheets/exsheets_en.tex b/Master/texmf-dist/doc/latex/exsheets/exsheets_en.tex index 728d373118f..ee83c00a510 100644 --- a/Master/texmf-dist/doc/latex/exsheets/exsheets_en.tex +++ b/Master/texmf-dist/doc/latex/exsheets/exsheets_en.tex @@ -132,8 +132,6 @@ } \usepackage{exsheets-listings} -\edef\exsheetslistingsverion{v\csname exsheets@listings@version\endcsname} - \microtypesetup{tracking=scshape} \defbibheading{bibliography}[\bibname]{\section{#1}} @@ -437,6 +435,30 @@ New options: section~\ref{sec:additional_info}. \end{itemize} +\subsection{Version 0.16} +New options/changes: +\begin{itemize} + \item The option \option{pre-hook} to the \env{question} environment now + places its contents before the question heading, see + section~\ref{sec:opti-ques-envir}. + \item New option \option{pre-body-hook} to the \env{question} environment + which adds its contents before the question body, see + section~\ref{sec:opti-ques-envir}. + \item New option \option{post-body-hook} to the \env{question} environment + which adds its contents after the question body, see + section~\ref{sec:opti-ques-envir}. + \item New option \option{pre-hook} to the \env{solution} environment which + adds code before a solution, see section~\ref{sec:opti-soli-envir}. + \item New option \option{post-hook} to the \env{solution} environment which + adds code after a solution, see section~\ref{sec:opti-soli-envir}. + \item New option \option{pre-body-hook} to the \env{solution} environment + which adds its contents before the solution body, see + section~\ref{sec:opti-soli-envir}. + \item New option \option{post-body-hook} to the \env{solution} environment + which adds its contents after the solution body, see + section~\ref{sec:opti-soli-envir}. +\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 @@ -653,9 +675,13 @@ The \env{question} environment takes one or more of the following options: \keybool{use}\Module{question}\Default{true} Discards the question. Or not. \keyval{pre-hook}{code}\Module{question}\Default - \sinceversion{0.14}Adds \meta{code} directly before the question body. - \keyval{pre-hook}{code}\Module{question}\Default - \sinceversion{0.14}Adds \meta{code} directly after the question body. + \changedversion{0.16}Adds \meta{code} directly before the question title. + \keyval{post-hook}{code}\Module{question}\Default + \changedversion{0.16}Adds \meta{code} directly after the question. + \keyval{pre-body-hook}{code}\Module{question}\Default + \sinceversion{0.16}Adds \meta{code} directly before the question body. + \keyval{post-body-hook}{code}\Module{question}\Default + \sinceversion{0.16}Adds \meta{code} directly after the question body. \end{options} \begin{example} @@ -745,13 +771,21 @@ You can see that in the default settings the solution is \emph{not} written to the document. It has been saved, though, for possible later usage. We will see the solution later! -\subsection{Options to the \env*{solution} Environment} +\subsection{Options to the \env*{solution} Environment}\label{sec:opti-soli-envir} The \env{solutions} environment also has options, namely these: \begin{options} \keyval{name}{name}\Module{solution}\Default Sets a custom name. \keybool{print}\Module{solution}\Default{false} Prints or hides the solution. + \keyval{pre-hook}{code}\Module{solution}\Default + \sinceversion{0.16}Adds \meta{code} directly before the solution title. + \keyval{post-hook}{code}\Module{solution}\Default + \sinceversion{0.16}Adds \meta{code} directly after the solution. + \keyval{pre-body-hook}{code}\Module{solution}\Default + \sinceversion{0.16}Adds \meta{code} directly before the solution body. + \keyval{post-body-hook}{code}\Module{solution}\Default + \sinceversion{0.16}Adds \meta{code} directly after the solution body. \end{options} Their meaning is the same as those for the \code{question} environment. \begin{example} @@ -2387,7 +2421,7 @@ will be loaded \cs*{AtBeginDocument}. \SetupExSheets{headings=block} -\part{The \ExSheetslistings\ Package \exsheetslistingsverion}\label{part:listings} +\part{The \ExSheetslistings\ Package}\label{part:listings} \section{The Problem} I knew the day would come when people would ask how to include verbatim material in the \env{question} and \env{solution} environments. Since they're -- cgit v1.2.3