diff options
author | Karl Berry <karl@freefriends.org> | 2008-09-08 00:42:04 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-09-08 00:42:04 +0000 |
commit | 036469499e69e21110bdbbd77af3e90de86a382a (patch) | |
tree | 34d517f0b3490d8eed24f45e7bd1ce7ab63ab825 /Master/texmf-dist/doc/latex/probsoln/samples/sample5.tex | |
parent | 2f2e79372e149e87d92bdd0d33d596793e6b1252 (diff) |
probsoln 3.0 (27aug08)
git-svn-id: svn://tug.org/texlive/trunk@10474 c570f23f-e606-0410-a88d-b1316a301751
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} |