diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/probsoln/samples/sample5.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/probsoln/samples/sample5.tex | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/probsoln/samples/sample5.tex b/Master/texmf-dist/doc/latex/probsoln/samples/sample5.tex new file mode 100644 index 00000000000..531170b1d6d --- /dev/null +++ b/Master/texmf-dist/doc/latex/probsoln/samples/sample5.tex @@ -0,0 +1,34 @@ +\documentclass[a4paper]{report} + +\usepackage{probsoln} + +\begin{document} + +\hideanswers + +\chapter{Easy Problems} +\loadrandomproblems[easyproblems]{5}{easy2} + +\renewcommand{\theenumi}{\thechapter.\arabic{enumi}} +\begin{enumerate} +\foreachproblem[easyproblems]{\item\label{prob:\thisproblemlabel}\thisproblem} +\end{enumerate} + +\chapter{Probability Spaces} +\loadrandomproblems[probspaces]{2}{probspaces2} + +\renewcommand{\theenumi}{\thechapter.\arabic{enumi}} +\begin{enumerate} +\foreachproblem[probspaces]{\item\label{prob:\thisproblemlabel}\thisproblem} +\end{enumerate} + +\appendix +\chapter{Solutions} +\showanswers +\begin{enumerate} +\foreachdataset{\thisdataset}{% +\foreachproblem[\thisdataset]{\item[\ref{prob:\thisproblemlabel}]\thisproblem} +} +\end{enumerate} + +\end{document} |