Skip to content

Commit

Permalink
v0.18
Browse files Browse the repository at this point in the history
  • Loading branch information
cgnieder committed Feb 23, 2020
1 parent 7d201ce commit c6f7729
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--------------------------------------------------------------------------
XSIM 2020/02/23 v0.17a
XSIM 2020/02/23 v0.18
XSIMVERB 2019/12/29 v0.1a

eXercise Sheets IMproved
Expand Down
4 changes: 2 additions & 2 deletions code/xsim.sty
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@

\tl_const:Nn \c_xsim_date_tl {2020/02/23}
\tl_const:Nn \c_xsim_version_major_number_tl {0}
\tl_const:Nn \c_xsim_version_minor_number_tl {17}
\tl_const:Nn \c_xsim_version_subrelease_tl {a}
\tl_const:Nn \c_xsim_version_minor_number_tl {18}
\tl_const:Nn \c_xsim_version_subrelease_tl {}
\tl_const:Nx \c_xsim_version_number_tl
{
\c_xsim_version_major_number_tl .
Expand Down
2 changes: 1 addition & 1 deletion doc/xsim-manual.cls
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@
\xsim@add@version{0.16} {2019-11-10}
\xsim@add@version{0.16a} {2020-01-16}
\xsim@add@version{0.17} {2020-02-21}
\xsim@add@version{0.17a} {2020-02-23}
\xsim@add@version{0.18} {2020-02-23}

% ----------------------------------------------------------------------------
\newrobustcmd*\xsimauxfileinfo{%
Expand Down
2 changes: 1 addition & 1 deletion doc/xsim.history
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ HISTORY:
- fix issue #27
- implement issue #2
- don't allow package options to be set with \xsimsetup
v0.17a 2020/02/23 - fix issue #56
v0.18 2020/02/23 - fix issue #56
- change \printexercise and \printsolution to accept a
clist of either ids or IDs (or mixed)
- new templates in the `layouts' style
Binary file modified doc/xsim_manual.pdf
Binary file not shown.
20 changes: 12 additions & 8 deletions doc/xsim_manual.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1291,14 +1291,17 @@ \subsection{Templates Provided by the Package}
information on style files\index{style file}).
\item[\code{margin}] A layout rather similar to the one by package
\pkg{exsheets}, see section~\ref{sec:margin-template}. Available through
the style file \code{layouts} (see section~\vref{sec:style-files} for more
information on style files\index{style file}).
\item[\code{minimal}] A\sinceversion{0.13a} minimalistic layout, see
section~\ref{sec:minimal-template}. Available through the style file
\code{layouts} (see section~\vref{sec:style-files} for more information on
style files\index{style file}).
the style file \code{layouts}.
\item[\code{minimal}] A\sinceversion{0.13} minimalistic layout, see
section~\ref{sec:minimal-template}. As the others inspired by an
\pkg{exsheets} layout. Available through the style file \code{layouts}.
\item[\code{inline}] A\sinceversion{0.18} minimalistic layout, the same as
\code{minimal} but doesn't add \cs*{par} at the beginning and end.
Available through the style file \code{layouts}.
\item[\code{centered}] A\sinceversion{0.18} layout with a centered heading.
Available through the style file \code{layouts}.
\end{description}

\collectexercises{layouts}
\begin{exercise}[subtitle=The Subtitle,points=2.5,ID=showlayout]
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit,
Expand Down Expand Up @@ -1855,6 +1858,7 @@ \subsubsection{A \code{minimal} Template}
\begin{sourcecode}
\DeclareExerciseEnvironmentTemplate{minimal}
{%
\par
\textbf{\GetExerciseProperty{counter}}%
\IfInsideSolutionF{%
\GetExercisePropertyT{points}{%
Expand All @@ -1865,7 +1869,7 @@ \subsubsection{A \code{minimal} Template}
}%
}%
}
{}
{\par}
\end{sourcecode}

\subsubsection{The Headings Templates}\label{sec:headings-templates}
Expand Down

0 comments on commit c6f7729

Please sign in to comment.