From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Mon, 2 Sep 2019 13:46:59 +0900
Subject: Initial commit

---
 macros/latex/contrib/probsoln/samples/sample7.tex | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 macros/latex/contrib/probsoln/samples/sample7.tex

(limited to 'macros/latex/contrib/probsoln/samples/sample7.tex')

diff --git a/macros/latex/contrib/probsoln/samples/sample7.tex b/macros/latex/contrib/probsoln/samples/sample7.tex
new file mode 100644
index 0000000000..00ccf637d4
--- /dev/null
+++ b/macros/latex/contrib/probsoln/samples/sample7.tex
@@ -0,0 +1,20 @@
+\documentclass{article}
+
+\usepackage{tikz}
+\usepackage{probsoln}
+
+\loadallproblems{prob-mixed}
+
+\begin{document}
+\section{Exercises}
+\begin{enumerate}
+  \foreachproblem{\item\label{q-\thisproblemlabel} \thisproblem}
+\end{enumerate}
+
+\section{Solutions}
+\showanswers
+
+\begin{enumerate}
+  \foreachsolution{\item[\ref{q-\thisproblemlabel}] \thisproblem}
+\end{enumerate}
+\end{document}
-- 
cgit v1.2.3

