From 7e80fa208736f4ab99b1d57dd1571da41f1e3744 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 16 Mar 2019 22:43:33 +0000 Subject: webquiz git-svn-id: svn://tug.org/texlive/trunk@50419 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/latex/webquiz/examples/README-examples | 2 + .../doc/latex/webquiz/examples/answer-complex.png | Bin 0 -> 99557 bytes .../doc/latex/webquiz/examples/answer-complex.tex | 12 + .../doc/latex/webquiz/examples/answer-integer.png | Bin 0 -> 62058 bytes .../doc/latex/webquiz/examples/answer-integer.tex | 10 + .../latex/webquiz/examples/answer-lowercase.png | Bin 0 -> 110351 bytes .../latex/webquiz/examples/answer-lowercase.tex | 16 ++ .../doc/latex/webquiz/examples/answer-number.png | Bin 0 -> 95333 bytes .../doc/latex/webquiz/examples/answer-number.tex | 16 ++ .../doc/latex/webquiz/examples/answer-star.png | Bin 0 -> 123364 bytes .../doc/latex/webquiz/examples/answer-star.tex | 16 ++ .../doc/latex/webquiz/examples/answer-string.png | Bin 0 -> 68023 bytes .../doc/latex/webquiz/examples/answer-string.tex | 11 + .../doc/latex/webquiz/examples/breadcrumbs.png | Bin 0 -> 37678 bytes .../doc/latex/webquiz/examples/breadcrumbs.tex | 5 + .../doc/latex/webquiz/examples/choice-multiple.png | Bin 0 -> 76590 bytes .../doc/latex/webquiz/examples/choice-multiple.tex | 20 ++ .../doc/latex/webquiz/examples/choice-single.png | Bin 0 -> 65989 bytes .../doc/latex/webquiz/examples/choice-single.tex | 13 ++ .../doc/latex/webquiz/examples/ctanLion.jpg | Bin 0 -> 35512 bytes .../doc/latex/webquiz/examples/ctanLion.png | Bin 0 -> 103994 bytes .../doc/latex/webquiz/examples/ctanLion.tex | 16 ++ .../doc/latex/webquiz/examples/discussion-Qref.png | Bin 0 -> 34269 bytes .../doc/latex/webquiz/examples/discussion-Qref.tex | 11 + .../doc/latex/webquiz/examples/discussion-ref.png | Bin 0 -> 84118 bytes .../doc/latex/webquiz/examples/discussion-ref.tex | 12 + .../doc/latex/webquiz/examples/discussion.png | Bin 0 -> 157520 bytes .../doc/latex/webquiz/examples/discussion.tex | 11 + .../latex/webquiz/examples/display-as-image.png | Bin 0 -> 92928 bytes .../latex/webquiz/examples/display-as-image.tex | 16 ++ .../doc/latex/webquiz/examples/french.png | Bin 0 -> 90407 bytes .../doc/latex/webquiz/examples/french.tex | 19 ++ .../doc/latex/webquiz/examples/index-cz.png | Bin 0 -> 60597 bytes .../doc/latex/webquiz/examples/index-cz.tex | 15 ++ .../doc/latex/webquiz/examples/index-en.png | Bin 0 -> 63504 bytes .../doc/latex/webquiz/examples/index-en.tex | 11 + .../doc/latex/webquiz/examples/montypython.png | Bin 0 -> 45495 bytes .../doc/latex/webquiz/examples/montypython.tex | 12 + .../doc/latex/webquiz/examples/nounits.png | Bin 0 -> 13972 bytes .../doc/latex/webquiz/examples/nounits.tex | 4 + .../doc/latex/webquiz/examples/onepage.png | Bin 0 -> 153578 bytes .../doc/latex/webquiz/examples/onepage.tex | 15 ++ .../doc/latex/webquiz/examples/pst2pdf.png | Bin 0 -> 152800 bytes .../doc/latex/webquiz/examples/pst2pdf.tex | 22 ++ .../doc/latex/webquiz/examples/pstricks-ex.png | Bin 0 -> 119053 bytes .../doc/latex/webquiz/examples/pstricks-ex.tex | 27 +++ .../doc/latex/webquiz/examples/quiz-page.png | Bin 0 -> 151626 bytes .../doc/latex/webquiz/examples/quiz-page.tex | 251 +++++++++++++++++++++ .../latex/webquiz/examples/quizindex-dropdown.png | Bin 0 -> 37678 bytes .../doc/latex/webquiz/examples/random.png | Bin 0 -> 74129 bytes .../doc/latex/webquiz/examples/random.tex | 8 + .../doc/latex/webquiz/examples/simple-html.png | Bin 0 -> 98108 bytes .../doc/latex/webquiz/examples/simple-pdf.png | Bin 0 -> 12342 bytes .../doc/latex/webquiz/examples/simple.tex | 22 ++ .../doc/latex/webquiz/examples/theme-blue.png | Bin 0 -> 142758 bytes .../doc/latex/webquiz/examples/theme-blue.tex | 90 ++++++++ .../doc/latex/webquiz/examples/theme-darkblue.png | Bin 0 -> 147537 bytes .../doc/latex/webquiz/examples/theme-darkblue.tex | 90 ++++++++ .../doc/latex/webquiz/examples/theme-darkred.png | Bin 0 -> 145332 bytes .../doc/latex/webquiz/examples/theme-darkred.tex | 90 ++++++++ .../doc/latex/webquiz/examples/theme-default.png | Bin 0 -> 145410 bytes .../doc/latex/webquiz/examples/theme-default.tex | 90 ++++++++ .../doc/latex/webquiz/examples/theme-earthy.png | Bin 0 -> 148481 bytes .../doc/latex/webquiz/examples/theme-earthy.tex | 90 ++++++++ .../doc/latex/webquiz/examples/theme-fresh.png | Bin 0 -> 144392 bytes .../doc/latex/webquiz/examples/theme-fresh.tex | 90 ++++++++ .../doc/latex/webquiz/examples/theme-light.png | Bin 0 -> 143177 bytes .../doc/latex/webquiz/examples/theme-light.tex | 90 ++++++++ .../doc/latex/webquiz/examples/theme-lively.png | Bin 0 -> 136481 bytes .../doc/latex/webquiz/examples/theme-lively.tex | 90 ++++++++ .../doc/latex/webquiz/examples/theme-muted.png | Bin 0 -> 142632 bytes .../doc/latex/webquiz/examples/theme-muted.tex | 90 ++++++++ .../doc/latex/webquiz/examples/theme-sleek.png | Bin 0 -> 141155 bytes .../doc/latex/webquiz/examples/theme-sleek.tex | 90 ++++++++ .../doc/latex/webquiz/examples/theme-spring.png | Bin 0 -> 137510 bytes .../doc/latex/webquiz/examples/theme-spring.tex | 90 ++++++++ .../doc/latex/webquiz/examples/theme-vibrant.png | Bin 0 -> 145965 bytes .../doc/latex/webquiz/examples/theme-vibrant.tex | 90 ++++++++ .../doc/latex/webquiz/examples/tikz-ex.png | Bin 0 -> 68561 bytes .../doc/latex/webquiz/examples/tikz-ex.tex | 19 ++ 80 files changed, 1692 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/README-examples create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/answer-complex.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/answer-complex.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/answer-integer.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/answer-integer.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/answer-lowercase.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/answer-lowercase.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/answer-number.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/answer-number.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/answer-star.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/answer-star.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/answer-string.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/answer-string.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/breadcrumbs.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/breadcrumbs.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/choice-multiple.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/choice-multiple.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/choice-single.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/choice-single.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/ctanLion.jpg create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/ctanLion.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/ctanLion.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/discussion-Qref.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/discussion-Qref.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/discussion-ref.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/discussion-ref.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/discussion.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/discussion.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/display-as-image.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/display-as-image.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/french.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/french.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/index-cz.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/index-cz.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/index-en.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/index-en.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/montypython.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/montypython.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/nounits.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/nounits.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/onepage.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/onepage.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/pst2pdf.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/pst2pdf.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/pstricks-ex.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/pstricks-ex.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/quiz-page.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/quiz-page.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/quizindex-dropdown.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/random.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/random.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/simple-html.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/simple-pdf.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/simple.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/theme-blue.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/theme-blue.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/theme-darkblue.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/theme-darkblue.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/theme-darkred.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/theme-darkred.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/theme-default.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/theme-default.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/theme-earthy.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/theme-earthy.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/theme-fresh.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/theme-fresh.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/theme-light.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/theme-light.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/theme-lively.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/theme-lively.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/theme-muted.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/theme-muted.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/theme-sleek.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/theme-sleek.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/theme-spring.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/theme-spring.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/theme-vibrant.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/theme-vibrant.tex create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/tikz-ex.png create mode 100644 Master/texmf-dist/doc/latex/webquiz/examples/tikz-ex.tex (limited to 'Master/texmf-dist/doc/latex/webquiz/examples') diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/README-examples b/Master/texmf-dist/doc/latex/webquiz/examples/README-examples new file mode 100644 index 00000000000..42a73d3bf05 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/README-examples @@ -0,0 +1,2 @@ +The tex and png files in this directory are used to build the WebQuiz manual. +Each tex file can be compiled using (pdf)latex and webquiz. diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/answer-complex.png b/Master/texmf-dist/doc/latex/webquiz/examples/answer-complex.png new file mode 100644 index 00000000000..12ae5938a08 Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/answer-complex.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/answer-complex.tex b/Master/texmf-dist/doc/latex/webquiz/examples/answer-complex.tex new file mode 100644 index 00000000000..603e666c07c --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/answer-complex.tex @@ -0,0 +1,12 @@ +\documentclass[onepage]{webquiz} +\title{An answer with comparison=complex} +\begin{document} + \begin{question} % a quiz question + If $a=3-i$ and $b=2+i$ then what is $ab$? + \answer[complex]{7+i} (Correct answer $7+i$) + \end{question} + \begin{question} % a quiz question + If $a=3-i$ and $b=2+i$ then what is $ab$? + \answer[complex]{7+i} (Correct answer $7+i$) + \end{question} +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/answer-integer.png b/Master/texmf-dist/doc/latex/webquiz/examples/answer-integer.png new file mode 100644 index 00000000000..d3da5be8e31 Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/answer-integer.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/answer-integer.tex b/Master/texmf-dist/doc/latex/webquiz/examples/answer-integer.tex new file mode 100644 index 00000000000..76b922be157 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/answer-integer.tex @@ -0,0 +1,10 @@ +\documentclass[hidesidemenu]{webquiz} +\title{An answer with comparison=integer} +\begin{document} + \begin{question} % a quiz question + How long is a piece of string? + \answer[integer]{18} mm (Correct answer $18$) + \whenRight Yes, $18$mm pieces of string are $18$mm long! + \whenWrong Incorrect! Is your ruler working? + \end{question} +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/answer-lowercase.png b/Master/texmf-dist/doc/latex/webquiz/examples/answer-lowercase.png new file mode 100644 index 00000000000..71a39e4cc42 Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/answer-lowercase.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/answer-lowercase.tex b/Master/texmf-dist/doc/latex/webquiz/examples/answer-lowercase.tex new file mode 100644 index 00000000000..c0c8665794b --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/answer-lowercase.tex @@ -0,0 +1,16 @@ +\documentclass[onepage]{webquiz} +\title{An answer with comparison=lowercase} +\begin{document} + \begin{question} % a quiz question + How long is a piece of string? + \answer[lowercase]{Long} (Correct answer ``Long'') + \whenRight Correct! Obviously your ruler is working! + \whenWrong Incorrect! Is your ruler working? + \end{question} + \begin{question} % a quiz question + How long is a piece of string? + \answer[lowercase]{lonG} (Correct answer ``Long'') + \whenRight Correct! Obviously your ruler is working! + \whenWrong Incorrect! Is your ruler working? + \end{question} +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/answer-number.png b/Master/texmf-dist/doc/latex/webquiz/examples/answer-number.png new file mode 100644 index 00000000000..8dcbfd40988 Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/answer-number.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/answer-number.tex b/Master/texmf-dist/doc/latex/webquiz/examples/answer-number.tex new file mode 100644 index 00000000000..1584b448a7e --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/answer-number.tex @@ -0,0 +1,16 @@ +\documentclass[onepage]{webquiz} +\title{An answer with comparison=number} +\begin{document} + \begin{question} % a quiz question + What is $\frac12+\frac14$? + \answer[number]{3/4} (Correct answer $3/4$) + \whenRight Correct! + \whenWrong Incorrect! Is your ruler working? + \end{question} + \begin{question} % a quiz question + What is $\frac12+\frac14$? + \answer[number]{3/4} (Correct answer $3/4$) + \whenRight Correct! + \whenWrong Incorrect! Is your ruler working? + \end{question} +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/answer-star.png b/Master/texmf-dist/doc/latex/webquiz/examples/answer-star.png new file mode 100644 index 00000000000..af5936d3f7e Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/answer-star.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/answer-star.tex b/Master/texmf-dist/doc/latex/webquiz/examples/answer-star.tex new file mode 100644 index 00000000000..bb708cd203b --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/answer-star.tex @@ -0,0 +1,16 @@ +\documentclass[onepage]{webquiz} +\title{An answer$*$ (and comparison=string)} +\begin{document} + \begin{question} % a quiz question + What is the capital of Australia? + \answer*{Canberra} (Correct answer ``Canberra'') + \whenRight Yes, Sydney is the capital of NSW. + \whenWrong Remember to correctly capitalise your answer! + \end{question} + \begin{question} % a quiz question + What is the capital of Australia? + \answer{Canberra} (Correct answer ``Canberra'') + \whenRight Yes, Sydney is the capital of NSW. + \whenWrong Remember to correctly capitalise your answer! + \end{question} +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/answer-string.png b/Master/texmf-dist/doc/latex/webquiz/examples/answer-string.png new file mode 100644 index 00000000000..a88fa003072 Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/answer-string.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/answer-string.tex b/Master/texmf-dist/doc/latex/webquiz/examples/answer-string.tex new file mode 100644 index 00000000000..d8884058a59 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/answer-string.tex @@ -0,0 +1,11 @@ +\documentclass[hidesidemenu]{webquiz} +\title{An answer with comparison=string} +\begin{document} + \begin{question} % a quiz question + What is the capital of Australia? + \answer[string]{Canberra} (Correct answer ``Canberra'') + \whenRight Yes, Sydney is the capital of NSW and Melbourne is the + capital of Victoria + \whenWrong Remember to correctly capitalise your answer! + \end{question} +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/breadcrumbs.png b/Master/texmf-dist/doc/latex/webquiz/examples/breadcrumbs.png new file mode 100644 index 00000000000..7ebf52b0d35 Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/breadcrumbs.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/breadcrumbs.tex b/Master/texmf-dist/doc/latex/webquiz/examples/breadcrumbs.tex new file mode 100644 index 00000000000..2de97a94e5c --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/breadcrumbs.tex @@ -0,0 +1,5 @@ +\documentclass[hidesidemenu]{webquiz} +\BreadCrumbs{ Mathematics / | Math101 /u/math101 | quizindex | title } +\title{Quiz 1: Loafing around} +\begin{document} +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/choice-multiple.png b/Master/texmf-dist/doc/latex/webquiz/examples/choice-multiple.png new file mode 100644 index 00000000000..8f5cd6ca5f9 Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/choice-multiple.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/choice-multiple.tex b/Master/texmf-dist/doc/latex/webquiz/examples/choice-multiple.tex new file mode 100644 index 00000000000..d52e78f981c --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/choice-multiple.tex @@ -0,0 +1,20 @@ +\documentclass[theme=vibrant]{webquiz} +\title{A multiple choice example with zero or more correct answers} +\renewcommand\thechoice{\roman{choice})} +\begin{document} + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in three columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ + and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $1$ \feedback One is not a prime number because it + is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ + and $97$ + \end{choice} + \end{question} +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/choice-single.png b/Master/texmf-dist/doc/latex/webquiz/examples/choice-single.png new file mode 100644 index 00000000000..e6828effa48 Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/choice-single.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/choice-single.tex b/Master/texmf-dist/doc/latex/webquiz/examples/choice-single.tex new file mode 100644 index 00000000000..76537144f00 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/choice-single.tex @@ -0,0 +1,13 @@ +\documentclass{webquiz} +\title{A multiple choice question with a unique answer} +\begin{document} + \begin{question} % a quiz question + What is the cube root of $64$? + \begin{choice}[columns=4]% unique answer rendered in four columns + \incorrect 1 \feedback No, $1^3=1$ + \incorrect 2 \feedback No, $2^3=8$ + \incorrect 3 \feedback No, $3^3=27$ + \correct 4 \feedback Yes, $4^3=64$ + \end{choice} + \end{question} +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/ctanLion.jpg b/Master/texmf-dist/doc/latex/webquiz/examples/ctanLion.jpg new file mode 100644 index 00000000000..9eac32a0305 Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/ctanLion.jpg differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/ctanLion.png b/Master/texmf-dist/doc/latex/webquiz/examples/ctanLion.png new file mode 100644 index 00000000000..ab58f5e534d Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/ctanLion.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/ctanLion.tex b/Master/texmf-dist/doc/latex/webquiz/examples/ctanLion.tex new file mode 100644 index 00000000000..1382487ccb0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/ctanLion.tex @@ -0,0 +1,16 @@ +\documentclass{webquiz} +\usepackage[dvipdfmx]{graphicx} +\DeclareGraphicsExtensions{.jpg} +\title{I am not Lion to you} +\begin{document} + \begin{question} + Do you recognise this Lion? + \begin{center} + \includegraphics[height=30mm]{ctanLion.jpg} + \end{center} + \begin{choice} + \correct Yes! \feedback This is the \TeX{} lion! + \incorrect No! \feedback You are legally required to admire this lion! + \end{choice} + \end{question} +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/discussion-Qref.png b/Master/texmf-dist/doc/latex/webquiz/examples/discussion-Qref.png new file mode 100644 index 00000000000..cd20eb79d2c Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/discussion-Qref.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/discussion-Qref.tex b/Master/texmf-dist/doc/latex/webquiz/examples/discussion-Qref.tex new file mode 100644 index 00000000000..5a541543323 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/discussion-Qref.tex @@ -0,0 +1,11 @@ +\documentclass[hidesidemenu]{webquiz} +\title{A Qref example} +\begin{document} + \begin{discussion}[First bit]\label{d:one} + Some interesting discussion related to question \Qref{1} or \Qref*{1} + or \Qref[Start Quiz]{1} or \Qref*[Start Quiz]{1} + \end{discussion} + \begin{question}\label{q:one} + An interesting question relating to discussion \dref{d:one}\answer{1} + \end{question} +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/discussion-ref.png b/Master/texmf-dist/doc/latex/webquiz/examples/discussion-ref.png new file mode 100644 index 00000000000..d5b12cdc49f Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/discussion-ref.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/discussion-ref.tex b/Master/texmf-dist/doc/latex/webquiz/examples/discussion-ref.tex new file mode 100644 index 00000000000..b51c9037044 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/discussion-ref.tex @@ -0,0 +1,12 @@ +\documentclass[onepage]{webquiz} +\title{A dref and qref example} +\begin{document} + \begin{discussion}[First bit][First discussion item]\label{d:one} + Some cross-references to question 1: \qref{q:one}, \qref*{q:one}, + \qref[some text]{q:one}, and \qref*[some text]{q:one}. + \end{discussion} + \begin{question}\label{q:one} + Cross-references to discussion: \answer{1} \dref{d:one}, \dref*{d:one}, + \dref[some text]{d:one} and \dref*[some text]{d:one}. + \end{question} +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/discussion.png b/Master/texmf-dist/doc/latex/webquiz/examples/discussion.png new file mode 100644 index 00000000000..3e8bcd79f89 Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/discussion.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/discussion.tex b/Master/texmf-dist/doc/latex/webquiz/examples/discussion.tex new file mode 100644 index 00000000000..80154d10ecd --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/discussion.tex @@ -0,0 +1,11 @@ +\documentclass[theme=muted]{webquiz} +\usepackage{lipsum}% for some random text +\title{A discussion environment example} +\begin{document} + \begin{discussion}[First bit] + \lipsum[1] + \end{discussion} + \begin{discussion}[Two][Second bit] + \lipsum[2] + \end{discussion} +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/display-as-image.png b/Master/texmf-dist/doc/latex/webquiz/examples/display-as-image.png new file mode 100644 index 00000000000..062a0f4edfa Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/display-as-image.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/display-as-image.tex b/Master/texmf-dist/doc/latex/webquiz/examples/display-as-image.tex new file mode 100644 index 00000000000..e82fe2e9d6c --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/display-as-image.tex @@ -0,0 +1,16 @@ +\documentclass{webquiz} +\usepackage[version=4]{mhchem} +\Department{Chemistry} +\UnitCode{Chem101}\UnitURL{/chem101} +\title{Display as image example} +\begin{document} + \DisplayAsImage[style="vertical-align: middle;"]{ce} + \begin{question} + What is \ce{(NH4)2S}? + \begin{choice}[columns=1] + \correct Ammonium sulfide + \incorrect Ammonium hydrosulfide + \feedback This is \ce{(NH4)HS} + \end{choice} + \end{question} +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/french.png b/Master/texmf-dist/doc/latex/webquiz/examples/french.png new file mode 100644 index 00000000000..0d038e7fbc1 Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/french.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/french.tex b/Master/texmf-dist/doc/latex/webquiz/examples/french.tex new file mode 100644 index 00000000000..928a4db1266 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/french.tex @@ -0,0 +1,19 @@ +\documentclass[language=french]{webquiz} +\usepackage[french]{babel} +\usepackage[T1]{fontenc} +\title{Quiz Français} +\begin{document} + \begin{question} + Sous forme d’inéquation, $x\in[1,2]$ s’écrit aussi + \begin{choice}[columns=2] + \correct $1\le x\le 2$ + \incorrect $1\ge x\ge 2$ + \feedback L’ordre croissant est-il respecté? + \incorrect $1}(0,0)(-1.5,-1.5)(3.5,3.5) + \rput(3.75,0){$x$} \rput(0,3.85){$iy$} + \rput(3,-0.4){3} \rput(-0.4,3){3$i$} + \psdots(1,1) + \end{pspicture} + \end{center} + is equal to which of the following sets of complex numbers? + \begin{choice}[columns=2] + \incorrect $\{z \in \C : (z-1)^{2}+(z-(i+1))^{2}<2\}$ + \incorrect $\{z \in \C : z+(i+1)<2\}$ + \correct $\{z \in \C : |z-(i+1)|<2\}$ + \incorrect None of the above. + \end{choice} + \end{question} +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/quiz-page.png b/Master/texmf-dist/doc/latex/webquiz/examples/quiz-page.png new file mode 100644 index 00000000000..3bba2b8e6d6 Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/quiz-page.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/quiz-page.tex b/Master/texmf-dist/doc/latex/webquiz/examples/quiz-page.tex new file mode 100644 index 00000000000..d4436fc5fa4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/quiz-page.tex @@ -0,0 +1,251 @@ +\documentclass[]{webquiz} +\usepackage[MATH1001]{sms-uos} +\BreadCrumbs{department | unitcode | quizindex | title} +\DeclareMathOperator{\cis}{cis} +\newcommand{\R}{\mathbb R} +\newcommand{\C}{\mathbb C} +\usepackage{pst-all} + +\title{Quiz 1: Numbers and sets} + +\begin{document} + + \begin{question} + Which of the following are correct ways of writing the set + \[ A=\{x \in \mathbb{R} \mid -3 < x \leq -1 \text{ or } x\geq 0\} ?\] + \begin{choice}[columns=2] + \incorrect $(-3,\infty)$ + \feedback The interval $(-3,\infty)$ includes the real numbers + between $-1$ and $0$, which do not belong to $A$. + + \incorrect $[-3,\infty)$ + \feedback The interval $[-3,\infty)$ includes $-3$, and + the real numbers between $-1$ and $0$, which do not belong to $A$. + + \incorrect $[-3,-1]\cap[0,\infty)$ + \feedback The interval $[-3,-1]\cap[0,\infty)$ is the empty set + $\emptyset$. As $A$ is not empty (for example, $A$ includes + $-1$), this option cannot be correct. + + \incorrect $(-3,-1)\cup[0,\infty)$ + \feedback The interval $-1$ is not in $(-3,-1)\cup[0,\infty)$, + but $-1$ is in $A$. + + \correct $(-3,-1]\cup[0,\infty)$ + + \end{choice} + \end{question} + +%%%% 2 +\begin{question} +What is another way of writing the set +\[B= \{x \in {\mathbb R}\ |\ |x-3|<2 \}\ \rm{?}\] +\begin{choice}[columns=2] +\incorrect $(2,3]$ +\feedback For example, $4$ belongs to $B$ but is not in $(2,3]$. + +\incorrect $[2,4]$ +\feedback For example, $1.5$ belongs to $B$ but is not in $[2,4]$. + +\correct $(1,5)$ + +\feedback $B$ is the set of all points whose distance from 3 on the +number line is less than 2. \\ +The solution to $|x-3|<2$ is $1}(0,0)(-1.5,-1.5)(3.5,3.5) +\rput(3.75,0){$x$} +\rput(0,3.85){$iy$} +\rput(3,-0.4){3} +\rput(-0.4,3){3$i$} +\psdots(1,1) +\end{pspicture} +\end{center} +corresponds to which set of complex numbers? +\begin{choice}[columns=2] +\correct\(\{z \in \C : |z-(i+1)|<2\}\) + + +\incorrect \(\{z \in \C : |z|-|1+i|<2\}\) +\feedback This set corresponds to the interior of a circle, centre the origin, radius $2+\sqrt 2$. + + +\incorrect \(\{z \in \C : \text{Re}(z+(i+1))<2 \}\) +\feedback This set corresponds to the open half plane containing all complex numbers $z=x+iy$ with $x<1$. + +\incorrect \(\{z \in \C : |z-2|<|i+1-2|\}\) +\feedback This set corresponds to the interior of a circle, centre $2$, radius $\sqrt 2$. + +\incorrect None of the above. + +\end{choice} +\end{question} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/quizindex-dropdown.png b/Master/texmf-dist/doc/latex/webquiz/examples/quizindex-dropdown.png new file mode 100644 index 00000000000..7fbfa8e699a Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/quizindex-dropdown.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/random.png b/Master/texmf-dist/doc/latex/webquiz/examples/random.png new file mode 100644 index 00000000000..ca8157db498 Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/random.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/random.tex b/Master/texmf-dist/doc/latex/webquiz/examples/random.tex new file mode 100644 index 00000000000..6818f2e6dff --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/random.tex @@ -0,0 +1,8 @@ +\documentclass[randomorder, showsidemenu]{webquiz} +\title{Four randomly ordered questions} +\begin{document} + \begin{question}What is the question number of question one? \answer{1}\end{question} + \begin{question}What is the question number of question two? \answer{2}\end{question} + \begin{question}What is the question number of question three?\answer{3}\end{question} + \begin{question}What is the question number of question four? \answer{4}\end{question} +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/simple-html.png b/Master/texmf-dist/doc/latex/webquiz/examples/simple-html.png new file mode 100644 index 00000000000..3d11b132175 Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/simple-html.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/simple-pdf.png b/Master/texmf-dist/doc/latex/webquiz/examples/simple-pdf.png new file mode 100644 index 00000000000..f875e93c578 Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/simple-pdf.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/simple.tex b/Master/texmf-dist/doc/latex/webquiz/examples/simple.tex new file mode 100644 index 00000000000..7fe1e12084a --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/simple.tex @@ -0,0 +1,22 @@ +\documentclass{webquiz} +\title{An easy example} +\begin{document} + \begin{question} % a quiz question + Alice is twice as old as Betty. + Betty is one year older than Claire. + If Alice is $4$ how old is Claire? + \begin{choice}[columns=2] % multiple choice question + \correct $1$ % first choice - correct answer + \feedback If Claire is $1$ then Betty is $2$ and Alice is~$4$! + + \incorrect $2$ % second choice - incorrect + \feedback If Claire is $2$ then Betty is $3$ and Alice is~$6$. + + \incorrect $3$ % third choice - incorrect + \feedback If Claire is $3$ then Betty is $4$ and Alice is~$8$. + + \incorrect $4$ % fourth choice - incorrect + \feedback If Claire is $4$ then Betty is $5$ and Alice is~$10$. + \end{choice} + \end{question} +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-blue.png b/Master/texmf-dist/doc/latex/webquiz/examples/theme-blue.png new file mode 100644 index 00000000000..deeff1ba3d2 Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/theme-blue.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-blue.tex b/Master/texmf-dist/doc/latex/webquiz/examples/theme-blue.tex new file mode 100644 index 00000000000..7bff4701871 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/theme-blue.tex @@ -0,0 +1,90 @@ +\documentclass[theme=blue]{webquiz} +\BreadCrumbs{WebQuiz Themes | quizindex| breadcrumb}\BreadCrumb{blue} +\title{..................................the blue theme} +\begin{document} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-darkblue.png b/Master/texmf-dist/doc/latex/webquiz/examples/theme-darkblue.png new file mode 100644 index 00000000000..681cfb99e31 Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/theme-darkblue.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-darkblue.tex b/Master/texmf-dist/doc/latex/webquiz/examples/theme-darkblue.tex new file mode 100644 index 00000000000..108982912e0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/theme-darkblue.tex @@ -0,0 +1,90 @@ +\documentclass[theme=darkblue]{webquiz} +\BreadCrumbs{WebQuiz Themes | quizindex| breadcrumb}\BreadCrumb{darkblue} +\title{..................................the darkblue theme} +\begin{document} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-darkred.png b/Master/texmf-dist/doc/latex/webquiz/examples/theme-darkred.png new file mode 100644 index 00000000000..76ea13e5184 Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/theme-darkred.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-darkred.tex b/Master/texmf-dist/doc/latex/webquiz/examples/theme-darkred.tex new file mode 100644 index 00000000000..c0414b9d04e --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/theme-darkred.tex @@ -0,0 +1,90 @@ +\documentclass[theme=darkred]{webquiz} +\BreadCrumbs{WebQuiz Themes | quizindex| breadcrumb}\BreadCrumb{darkred} +\title{..................................the darkred theme} +\begin{document} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-default.png b/Master/texmf-dist/doc/latex/webquiz/examples/theme-default.png new file mode 100644 index 00000000000..7807ba8a18a Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/theme-default.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-default.tex b/Master/texmf-dist/doc/latex/webquiz/examples/theme-default.tex new file mode 100644 index 00000000000..5aede1d90ea --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/theme-default.tex @@ -0,0 +1,90 @@ +\documentclass[theme=default]{webquiz} +\BreadCrumbs{WebQuiz Themes | quizindex| breadcrumb}\BreadCrumb{default} +\title{..................................the default theme} +\begin{document} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-earthy.png b/Master/texmf-dist/doc/latex/webquiz/examples/theme-earthy.png new file mode 100644 index 00000000000..94607d0cdf8 Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/theme-earthy.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-earthy.tex b/Master/texmf-dist/doc/latex/webquiz/examples/theme-earthy.tex new file mode 100644 index 00000000000..73d7247c550 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/theme-earthy.tex @@ -0,0 +1,90 @@ +\documentclass[theme=earthy]{webquiz} +\BreadCrumbs{WebQuiz Themes | quizindex| breadcrumb}\BreadCrumb{earthy} +\title{..................................the earthy theme} +\begin{document} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-fresh.png b/Master/texmf-dist/doc/latex/webquiz/examples/theme-fresh.png new file mode 100644 index 00000000000..2c4d7d81b01 Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/theme-fresh.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-fresh.tex b/Master/texmf-dist/doc/latex/webquiz/examples/theme-fresh.tex new file mode 100644 index 00000000000..28d16ce212f --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/theme-fresh.tex @@ -0,0 +1,90 @@ +\documentclass[theme=fresh]{webquiz} +\BreadCrumbs{WebQuiz Themes | quizindex| breadcrumb}\BreadCrumb{fresh} +\title{..................................the fresh theme} +\begin{document} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-light.png b/Master/texmf-dist/doc/latex/webquiz/examples/theme-light.png new file mode 100644 index 00000000000..46cc7aa3e2f Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/theme-light.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-light.tex b/Master/texmf-dist/doc/latex/webquiz/examples/theme-light.tex new file mode 100644 index 00000000000..11ae043f5ff --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/theme-light.tex @@ -0,0 +1,90 @@ +\documentclass[theme=light]{webquiz} +\BreadCrumbs{WebQuiz Themes | quizindex| breadcrumb}\BreadCrumb{light} +\title{..................................the light theme} +\begin{document} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-lively.png b/Master/texmf-dist/doc/latex/webquiz/examples/theme-lively.png new file mode 100644 index 00000000000..278f3eca4b1 Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/theme-lively.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-lively.tex b/Master/texmf-dist/doc/latex/webquiz/examples/theme-lively.tex new file mode 100644 index 00000000000..e947e7febf4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/theme-lively.tex @@ -0,0 +1,90 @@ +\documentclass[theme=lively]{webquiz} +\BreadCrumbs{WebQuiz Themes | quizindex| breadcrumb}\BreadCrumb{lively} +\title{..................................the lively theme} +\begin{document} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-muted.png b/Master/texmf-dist/doc/latex/webquiz/examples/theme-muted.png new file mode 100644 index 00000000000..88beac86865 Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/theme-muted.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-muted.tex b/Master/texmf-dist/doc/latex/webquiz/examples/theme-muted.tex new file mode 100644 index 00000000000..993c1a89178 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/theme-muted.tex @@ -0,0 +1,90 @@ +\documentclass[theme=muted]{webquiz} +\BreadCrumbs{WebQuiz Themes | quizindex| breadcrumb}\BreadCrumb{muted} +\title{..................................the muted theme} +\begin{document} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-sleek.png b/Master/texmf-dist/doc/latex/webquiz/examples/theme-sleek.png new file mode 100644 index 00000000000..89a4226edfc Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/theme-sleek.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-sleek.tex b/Master/texmf-dist/doc/latex/webquiz/examples/theme-sleek.tex new file mode 100644 index 00000000000..0bb181d3490 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/theme-sleek.tex @@ -0,0 +1,90 @@ +\documentclass[theme=sleek]{webquiz} +\BreadCrumbs{WebQuiz Themes | quizindex| breadcrumb}\BreadCrumb{sleek} +\title{..................................the sleek theme} +\begin{document} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-spring.png b/Master/texmf-dist/doc/latex/webquiz/examples/theme-spring.png new file mode 100644 index 00000000000..57cc0aa6352 Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/theme-spring.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-spring.tex b/Master/texmf-dist/doc/latex/webquiz/examples/theme-spring.tex new file mode 100644 index 00000000000..c6e84491df1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/theme-spring.tex @@ -0,0 +1,90 @@ +\documentclass[theme=spring]{webquiz} +\BreadCrumbs{WebQuiz Themes | quizindex| breadcrumb}\BreadCrumb{spring} +\title{..................................the spring theme} +\begin{document} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-vibrant.png b/Master/texmf-dist/doc/latex/webquiz/examples/theme-vibrant.png new file mode 100644 index 00000000000..7ccc8888dbf Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/theme-vibrant.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/theme-vibrant.tex b/Master/texmf-dist/doc/latex/webquiz/examples/theme-vibrant.tex new file mode 100644 index 00000000000..62909e84308 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/theme-vibrant.tex @@ -0,0 +1,90 @@ +\documentclass[theme=vibrant]{webquiz} +\BreadCrumbs{WebQuiz Themes | quizindex| breadcrumb}\BreadCrumb{vibrant} +\title{..................................the vibrant theme} +\begin{document} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + + \begin{question} % a quiz question + Which of the following integers are prime? + % multiple (0 or more) correct answers rendered in two columns + \begin{choice}[multiple, columns=3] + \correct $17$ \feedback Yes, the only divisors of $17$ are $1$ and $17$ + \incorrect $12$ \feedback No, $12 = 3\times 4$ + \incorrect $27$ \feedback No, $27=3^3$ + \incorrect $91$ \feedback No, $91 = 3\times 17$ + \incorrect $0$ \feedback Prime numbers are non-zero + \incorrect $1$ \feedback One is not a prime number because it is invertible + \correct $97$ \feedback Yes, the only divisors of $97$ are $1$ and $97$ + \end{choice} + \end{question} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/tikz-ex.png b/Master/texmf-dist/doc/latex/webquiz/examples/tikz-ex.png new file mode 100644 index 00000000000..87bc1c0a8ab Binary files /dev/null and b/Master/texmf-dist/doc/latex/webquiz/examples/tikz-ex.png differ diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/tikz-ex.tex b/Master/texmf-dist/doc/latex/webquiz/examples/tikz-ex.tex new file mode 100644 index 00000000000..6fe3dc692f8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/tikz-ex.tex @@ -0,0 +1,19 @@ +\documentclass[tikz]{webquiz} +\usepackage{tikz} +\title{A tikz example} +\begin{document} + \begin{question} % a quiz question + What number is represented by the dot on the following number line? + \begin{center} + \begin{tikzpicture} + \foreach \x in {-3,...,3} { \draw(\x,0.25) --(\x,0)node[below]{$\x$}; } + \foreach \x in {-2.5,...,2.5} { \draw(\x,0.18) --(\x,0); } + \draw[thick,<->](-3.5,0)--(3.5,0); + \filldraw[blue!50!white](1.5,0) circle (1mm); + \end{tikzpicture} + \end{center} + \answer[number]{1.5} % inserts an answer box and specifies the answer as 1.5 + \whenRight Correct! + \whenWrong Incorrect! + \end{question} +\end{document} -- cgit v1.2.3