texmf-dist/doc/latex/webquiz/examples/ctanLion.tex
raw| 1 | \documentclass{webquiz} |
| 2 | \usepackage[dvipdfmx]{graphicx} |
| 3 | \DeclareGraphicsExtensions{.jpg} |
| 4 | \title{I am not Lion to you} |
| 5 | \begin{document} |
| 6 | \begin{question} |
| 7 | Do you recognise this Lion? |
| 8 | \begin{center} |
| 9 | \includegraphics[height=30mm]{ctanLion.jpg} |
| 10 | \end{center} |
| 11 | \begin{choice} |
| 12 | \correct Yes! \feedback This is the \TeX{} lion! |
| 13 | \incorrect No! \feedback You are legally required to admire this lion! |
| 14 | \end{choice} |
| 15 | \end{question} |
| 16 | \end{document} |