summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/webquiz/examples/onepage.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/webquiz/examples/onepage.tex')
-rw-r--r--Master/texmf-dist/doc/latex/webquiz/examples/onepage.tex15
1 files changed, 15 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/onepage.tex b/Master/texmf-dist/doc/latex/webquiz/examples/onepage.tex
new file mode 100644
index 00000000000..6c47025a886
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/webquiz/examples/onepage.tex
@@ -0,0 +1,15 @@
+\documentclass[onepage]{webquiz}
+\title{A one page quiz}
+\begin{document}
+ \begin{discussion}[One short][The full heading for discussion one]
+ This is discussion $1$ (one). It is very interesting.
+ \end{discussion}
+ \begin{discussion}[Two short][The full heading for discussion two]
+ This is discussion $2$ (two). It is very interesting.
+ \end{discussion}
+ \begin{question} Is this question $1$ (one)? \answer{1}\end{question}
+ \begin{question} Is a good question?
+ \begin{choice}\correct Yes \incorrect no\end{choice}
+ \end{question}
+ \begin{question} Is this question $3$ (three)? \answer{3}\end{question}
+\end{document}