Debian Codegraph @

texmf-dist/doc/latex/moodle/test/test_environments.tex

raw
1 % !TeX encoding = UTF-8
2 % !TeX spellcheck = en_US
3 % !TEX TS-program = lualatex
4 \documentclass{article}
5 \usepackage[nostamp]{moodle}
6 \ifPDFTeX % FOR LATEX and PDFLATEX
7 \usepackage[utf8]{inputenc} % necessary
8 \usepackage[T1]{fontenc} % necessary
9 \else % assuming XELATEX or LUALATEX
10 \usepackage{fontspec}
11 \fi
12
13 \renewcommand\theenumiii{\arabic{enumiii}}% third level
14 \begin{document}
15
16 \section*{Introduction}
17
18 This document is intended to check the support of some \LaTeX\ environments for
19 conversion to HTML.
20
21 \begin{quiz}[points=1]{LaTeX Environments}
22 \begin{multi}{LaTeX Environments}
23 \begin{center}
24 \textsc{This is a question}
25 \end{center}
26 \begin{quote}
27 and this is a quote
28 \end{quote}
29
30 Select the numbered list
31 \item[feedback={yes}]* \begin{enumerate}
32 \item C
33 \item D
34 \begin{itemize}
35 \item S
36 \item T
37 \item U
38 \end{itemize}
39 \end{enumerate}
40 \item[feedback={Example of numbered list:\\\begin{enumerate}
41 \item first item
42 \item second item
43 \end{enumerate}
44 }] \begin{itemize}
45 \item E
46 \begin{enumerate}
47 \item X
48 \item Y
49 \item Z
50 \end{enumerate}
51 \item F
52 \end{itemize}
53 \item \begin{quotation}
54 this is a quotation.
55 \end{quotation}
56 \end{multi}
57 \end{quiz}
58 \end{document}