diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/moodle/test/test_description.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/moodle/test/test_description.tex | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/moodle/test/test_description.tex b/Master/texmf-dist/doc/latex/moodle/test/test_description.tex new file mode 100644 index 00000000000..c96ea81ce68 --- /dev/null +++ b/Master/texmf-dist/doc/latex/moodle/test/test_description.tex @@ -0,0 +1,30 @@ +% !TeX encoding = UTF-8 +% !TeX spellcheck = en_US +% !TEX TS-program = lualatex +\documentclass{article} +\usepackage[nostamp]{moodle} +\ifPDFTeX % FOR LATEX and PDFLATEX + \usepackage[utf8]{inputenc} % necessary + \usepackage[T1]{fontenc} % necessary +\else % assuming XELATEX or LUALATEX + \usepackage{fontspec} +\fi +\begin{document} + +\section*{Introduction} + +This document is intended to check the support of the description +question type. + +\begin{quiz}{Example Quiz} +\begin{description}[tags={descr},feedback={here is a feedback}]{Requirements} +This is a description. Not really a question. We can include environments and +math. +\begin{itemize} +\item This +\item That +\end{itemize} +\[\mathrm{e}^{2\mathrm{i}\pi}+1=0.\] +\end{description} +\end{quiz} +\end{document} |