summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/moodle/test/test_matching.tex
blob: addeb50d006b98424445cf79e34f9d3e7d1db6b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
% !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
%\RLsetrandomseed{3}
\begin{document}

\section*{Introduction}

This document is intended to check the support of the matching question type.

\begin{quiz}{Matching}

\begin{matching}[dd]{Matching}
Question text
\item A \answer 1
\item B \answer 2
\item C \answer 3
\item   \answer 4
\end{matching}

\begin{matching}[shuffle=false]{Matching}
Question text
\item A \answer 1
\item B \answer 2
\item C \answer 3
\item   \answer 4
\end{matching}

\end{quiz}

\end{document}