diff options
author | Karl Berry <karl@freefriends.org> | 2019-03-16 22:43:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-03-16 22:43:33 +0000 |
commit | 7e80fa208736f4ab99b1d57dd1571da41f1e3744 (patch) | |
tree | 606bd82a5737d587ef239fd58a5a58c256666178 /Master/texmf-dist/doc/latex/webquiz/examples | |
parent | 9de7d0ea371387f647487812b48b51030c739bdf (diff) |
webquiz
git-svn-id: svn://tug.org/texlive/trunk@50419 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/webquiz/examples')
80 files changed, 1692 insertions, 0 deletions
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 Binary files differnew file mode 100644 index 00000000000..12ae5938a08 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/answer-complex.png 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 Binary files differnew file mode 100644 index 00000000000..d3da5be8e31 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/answer-integer.png 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 Binary files differnew file mode 100644 index 00000000000..71a39e4cc42 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/answer-lowercase.png 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 Binary files differnew file mode 100644 index 00000000000..8dcbfd40988 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/answer-number.png 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 Binary files differnew file mode 100644 index 00000000000..af5936d3f7e --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/answer-star.png 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 Binary files differnew file mode 100644 index 00000000000..a88fa003072 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/answer-string.png 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 Binary files differnew file mode 100644 index 00000000000..7ebf52b0d35 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/breadcrumbs.png 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 Binary files differnew file mode 100644 index 00000000000..8f5cd6ca5f9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/choice-multiple.png 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 Binary files differnew file mode 100644 index 00000000000..e6828effa48 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/choice-single.png 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 Binary files differnew file mode 100644 index 00000000000..9eac32a0305 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/ctanLion.jpg diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/ctanLion.png b/Master/texmf-dist/doc/latex/webquiz/examples/ctanLion.png Binary files differnew file mode 100644 index 00000000000..ab58f5e534d --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/ctanLion.png 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 Binary files differnew file mode 100644 index 00000000000..cd20eb79d2c --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/discussion-Qref.png 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 Binary files differnew file mode 100644 index 00000000000..d5b12cdc49f --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/discussion-ref.png 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 Binary files differnew file mode 100644 index 00000000000..3e8bcd79f89 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/discussion.png 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 Binary files differnew file mode 100644 index 00000000000..062a0f4edfa --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/display-as-image.png 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 Binary files differnew file mode 100644 index 00000000000..0d038e7fbc1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/french.png 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<x<2$ + \feedback L’intervalle est-il ouvert ou fermé? + \incorrect $1<x\le 2$ + \feedback Les bornes sont-elles incluses ou exclues? + \end{choice} + \end{question} +\end{document} + diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/index-cz.png b/Master/texmf-dist/doc/latex/webquiz/examples/index-cz.png Binary files differnew file mode 100644 index 00000000000..874b857a9b0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/index-cz.png diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/index-cz.tex b/Master/texmf-dist/doc/latex/webquiz/examples/index-cz.tex new file mode 100644 index 00000000000..0fe06847858 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/index-cz.tex @@ -0,0 +1,15 @@ +\documentclass[hidesidemenu,language=czech]{webquiz} +\usepackage[czech]{babel} +\usepackage[T1]{fontenc} +\Department{Matematika}\DepartmentURL{/} +\BreadCrumbs{ department | Mat101 /mat101 | breadcrumb } +\BreadCrumb{ Index kvízů } +\title{Elementární počet} +\begin{document} + \begin{quizindex} + \quiz{Čísla a množiny} + \quiz{Polární forma a kořeny složitých čísel} + \quiz{Polar exponenciální forma a funkce} + \quiz*{Optimalizace funkcí dvou proměnných} + \end{quizindex} +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/index-en.png b/Master/texmf-dist/doc/latex/webquiz/examples/index-en.png Binary files differnew file mode 100644 index 00000000000..d3cc14ed55b --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/index-en.png diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/index-en.tex b/Master/texmf-dist/doc/latex/webquiz/examples/index-en.tex new file mode 100644 index 00000000000..317f24f8bb4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/index-en.tex @@ -0,0 +1,11 @@ +\documentclass[hidesidemenu]{webquiz} +\BreadCrumbs{ Mathematics / | Math101 /math101 | Index of quizzes } +\title{Elementary calculus} +\begin{document} + \begin{quizindex} + \quiz{Numbers and sets} + \quiz{Polar form and roots of complex numbers} + \quiz{Polar exponential form and functions} + \quiz*{Optimizing functions of two variables} + \end{quizindex} +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/montypython.png b/Master/texmf-dist/doc/latex/webquiz/examples/montypython.png Binary files differnew file mode 100644 index 00000000000..3352fb8c70a --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/montypython.png diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/montypython.tex b/Master/texmf-dist/doc/latex/webquiz/examples/montypython.tex new file mode 100644 index 00000000000..738424f8790 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/montypython.tex @@ -0,0 +1,12 @@ +\documentclass[hidesidemenu]{webquiz} +\BreadCrumbs{ Monty Python http://www.montypython.com/ + | Our work http://www.montypython.com/ourwork + | The Meaning of life http://www.montypython.com/film_Monty\%20Python's\%20The\%20Meaning\%20of\%20Life\%20(1983)/17 +} +\title{I didn't even eat the mousse...} +\begin{document} + \begin{question} + What is the meaning of life? + \answer{42} + \end{question} +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/nounits.png b/Master/texmf-dist/doc/latex/webquiz/examples/nounits.png Binary files differnew file mode 100644 index 00000000000..505e0fd6cd0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/nounits.png diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/nounits.tex b/Master/texmf-dist/doc/latex/webquiz/examples/nounits.tex new file mode 100644 index 00000000000..593c6c75d7e --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/nounits.tex @@ -0,0 +1,4 @@ +\documentclass[hidesidemenu]{webquiz} +\BreadCrumb{Wholemeal bread} +\BreadCrumbs{unitcode|quizindex|breadcrumb} +\begin{document}\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/onepage.png b/Master/texmf-dist/doc/latex/webquiz/examples/onepage.png Binary files differnew file mode 100644 index 00000000000..3609a37023d --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/onepage.png 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} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/pst2pdf.png b/Master/texmf-dist/doc/latex/webquiz/examples/pst2pdf.png Binary files differnew file mode 100644 index 00000000000..c678150ba18 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/pst2pdf.png diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/pst2pdf.tex b/Master/texmf-dist/doc/latex/webquiz/examples/pst2pdf.tex new file mode 100644 index 00000000000..a6755167b64 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/pst2pdf.tex @@ -0,0 +1,22 @@ +\documentclass[pst2pdf]{webquiz} +\usepackage{pst-all,pst-3dplot} +\title{A pst2pdf example} +\begin{document} + \begin{question} % a quiz question + Which of the equations below could describe the following surface? + + \begin{pspicture*}(-4,-4)(4,4) + \psplotThreeD[linecolor=blue, plotstyle=curve, drawStyle=yLines, + yPlotpoints=30, xPlotpoints=30, linewidth=1pt](-4,1)(-4,1){ + x dup mul y dup mul add 1.01 exp} + \pstThreeDCoor[linewidth=1pt, xMin=-4,xMax=4,yMin=-4,yMax=4,zMin=-2,zMax=6] + \end{pspicture*} + + \begin{choice} + \incorrect \( z=\log(x^2+y^2) \) + \correct \( z=e^{x^2+y^2} \) + \incorrect \( z=1-e^{x^2+y^2} \) + \incorrect \( z=\dfrac1{x^2+y^2}\) + \end{choice} + \end{question} +\end{document} diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/pstricks-ex.png b/Master/texmf-dist/doc/latex/webquiz/examples/pstricks-ex.png Binary files differnew file mode 100644 index 00000000000..5f2709dc3be --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/pstricks-ex.png diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/pstricks-ex.tex b/Master/texmf-dist/doc/latex/webquiz/examples/pstricks-ex.tex new file mode 100644 index 00000000000..ff6b961d45e --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/pstricks-ex.tex @@ -0,0 +1,27 @@ +\documentclass[svgnames]{webquiz} +\usepackage{pst-all} +\newcommand\C{\mathbb{C}} +\title{A pstricks example} +\begin{document} + \begin{question} + The shaded region in the graph + \begin{center} + \begin{pspicture}[unit=0.6cm](-3,-1.5)(3,4) + \pscircle[linewidth=1pt,linestyle=dashed, + fillcolor=SkyBlue,fillstyle=solid](1,1){2} + \psaxes[linecolor=red,linewidth=1pt,labels=none] + {->}(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 Binary files differnew file mode 100644 index 00000000000..3bba2b8e6d6 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/quiz-page.png 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<x<5$. + +\incorrect $[1,5]$ +\feedback Neither $1$ nor $5$ belong to $B$, but both $1$ and $5$ belong to $[1,5]$. + +\incorrect $[2,3)$ +\feedback For example, $4$ belongs to $B$ but is not in $[2,3)$. + +\end{choice} +\end{question} + + +%%%%%%%%%% 3 +\begin{question} +If $A=\{7,8,9,10\}$ and $B=\{5,6,7,8\}$ then $(A\backslash +B)\cup(B\backslash A)$ is +\begin{choice}[columns=2] +\incorrect $\{5,6,7,8,9,10\}$ + +\correct $\{5,6,9,10\}$ + +\feedback $A\backslash B=\{9,10\}$ and $B\backslash A=\{5,6\}$ so +$(A\backslash B)\cup(B\backslash A)=\{5,6,9,10\}$. + +\incorrect $\emptyset$, the empty set. + +\incorrect $\{7,8\}$ + +\incorrect None of the above. + +\end{choice} +\end{question} + +%%%%%%%%%%%%%% 4 +\begin{question} +The set \(\{0,1,\pm\sqrt{-1},\pi,12\}\) is a subset of +\begin{choice}[columns=2] +\incorrect $\mathbb N$ +\feedback The number \(\pi\) is not a natural number. + +\incorrect $\mathbb Z$ +\feedback The number \(\pi\) is not an integer. + +\incorrect $\mathbb Q$ +\feedback The number \(\pi\) is not a rational number. + +\incorrect $\mathbb R$ +\feedback \(\sqrt{-1}\) is not real. + +\correct $\mathbb C$ +\feedback Since \(\pm\sqrt{-1}\) denotes the two imaginary numbers $i$ and $-i$, the given set cannot be +in any of the sets $\mathbb{N,Z,Q}\ \rm{or}\ \mathbb{R}$. \\ +Hence the +right answer must be ${\mathbb C}$ which contains all imaginary +numbers. + +\end{choice} +\end{question} + +%%%%%%%%%% 5 +\begin{question} +Which of the following alternatives is the best feedback to `Solve +$x^{2}-3x+4=0$ over $\mathbb{C}$'. +\begin{choice}[columns=2] +\incorrect There are no real solutions. +\feedback As the question asks us to solve the equation over $\mathbb C$ (that is, to find all solutions belonging to the set of complex numbers), this is not the best feedback. + +\incorrect $x=1,4$ + +\incorrect \(x=\dfrac{3\pm\sqrt{7}}{2}\) + +\correct \(x=\dfrac{3\pm i\sqrt{7}}{2}\) + +\feedback Using the quadratic formula, +\(x =\dfrac{3\pm\sqrt{9-16}}{2} = \dfrac{3\pm\sqrt{-7}}{2}\). + + +\incorrect None of the above is correct. +\end{choice} +\end{question} + +%%%%%%% 6 +\begin{question} +If $z=9+3i$ and $w=2-i$ then $z+w$ equals +\begin{choice}[columns=2] +\incorrect $9-i$ + +\correct $11+2i$ +\feedback $z+w=(9+3i)+(2-i)=(9+2)+(3-1)i=11+2i$. + +\incorrect $6+3i$ + +\incorrect $8$ + +\incorrect None of the above + +\end{choice} +\end{question} + +%%%%%%% 7 + +\begin{question} +If $w=2-i$ then $\overline{w}$ equals +\begin{choice}[columns=2] +\incorrect $2-i$ + +\incorrect $2$ + +\correct $2+i$ + +\feedback +$\overline{w}=\overline{2-i}=2+i$. + +\incorrect $-2+i$ + +\incorrect None of the above +\end{choice} +\end{question} + +%%%%%%%%% 8 +\begin{question} +If $p=9+3i$ and $q=2-i$ then $p\overline{q}$ equals +\begin{choice}[columns=2] + +\correct $15+15i$ + +\feedback +$p\overline{q}=(9+3i)\overline{(2-i)}$ \\ +$=(9+3i)(2+i)= (18-3)+(6+9)i$\\ +$=15+15i$. + +\incorrect $21+15i$ + +\incorrect $18+3i$ + +\incorrect $1-i$ + +\incorrect None of the above + +\end{choice} +\end{question} + + +%%%%%%%%% 9 +\begin{question} +If $z=9+3i$ and $w=2-i$ then $\dfrac{z}{w}$ equals +\begin{choice}[columns=2] +\incorrect $15+15i$ + +\incorrect $6+3i$ + +\incorrect $12+15i$ + +\incorrect $3-3i$ + +\correct None of the above + +\feedback +\(\dfrac{z}{w}=\dfrac{9+3i}{2-i} + =\dfrac{9+3i}{2-i}\times \dfrac{2+i}{2+i} + =\dfrac{15+15i}{5}=3+3i\). +\end{choice} +\end{question} + +%%%%%%%%%% 10 +\begin{question} +The shaded region in the graph +\begin{center}\begin{pspicture}(-3,-1.5)(3,4) +\pscircle[linewidth=2pt,linestyle=dashed,fillcolor=blue,fillstyle=solid](1,1){2} +\psaxes[linecolor=red,linewidth=1pt,labels=none]{->}(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 Binary files differnew file mode 100644 index 00000000000..7fbfa8e699a --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/quizindex-dropdown.png diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/random.png b/Master/texmf-dist/doc/latex/webquiz/examples/random.png Binary files differnew file mode 100644 index 00000000000..ca8157db498 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/random.png 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 Binary files differnew file mode 100644 index 00000000000..3d11b132175 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/simple-html.png diff --git a/Master/texmf-dist/doc/latex/webquiz/examples/simple-pdf.png b/Master/texmf-dist/doc/latex/webquiz/examples/simple-pdf.png Binary files differnew file mode 100644 index 00000000000..f875e93c578 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/simple-pdf.png 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 Binary files differnew file mode 100644 index 00000000000..deeff1ba3d2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/theme-blue.png 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 Binary files differnew file mode 100644 index 00000000000..681cfb99e31 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/theme-darkblue.png 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 Binary files differnew file mode 100644 index 00000000000..76ea13e5184 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/theme-darkred.png 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 Binary files differnew file mode 100644 index 00000000000..7807ba8a18a --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/theme-default.png 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 Binary files differnew file mode 100644 index 00000000000..94607d0cdf8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/theme-earthy.png 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 Binary files differnew file mode 100644 index 00000000000..2c4d7d81b01 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/theme-fresh.png 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 Binary files differnew file mode 100644 index 00000000000..46cc7aa3e2f --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/theme-light.png 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 Binary files differnew file mode 100644 index 00000000000..278f3eca4b1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/theme-lively.png 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 Binary files differnew file mode 100644 index 00000000000..88beac86865 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/theme-muted.png 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 Binary files differnew file mode 100644 index 00000000000..89a4226edfc --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/theme-sleek.png 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 Binary files differnew file mode 100644 index 00000000000..57cc0aa6352 --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/theme-spring.png 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 Binary files differnew file mode 100644 index 00000000000..7ccc8888dbf --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/theme-vibrant.png 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 Binary files differnew file mode 100644 index 00000000000..87bc1c0a8ab --- /dev/null +++ b/Master/texmf-dist/doc/latex/webquiz/examples/tikz-ex.png 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} |