# LaTeX / Beamer presentation example

### Macro facility

You can use the following macro to generate QuizZoodle tags easily:

\usepackage[absolute,overlay]{textpos}
\newif\ifQDLE
\QDLEtrue % set to false to desactivate quizz

\ifQDLE\newcommand\QdleTag[3]{%
\begin{textblock*}{30mm}[0,0](3mm,\textheight)
\#QDLE\##1\##2\##3\#
\end{textblock*}}
\else\newcommand\QdleTag[3]{}
\fi


Some examples showing how to use the macro:

• \QdleTag{Q}{A*B}{} the slide contains a question with two answers (A and B) and A is the correct answer. The timeout will be the quiz default timeout.
• \QdleTag{S}{ABC}{} the slide contains a survey with three possible answers (A, B and C). The timeout will be the quiz default timeout.
• \QdleTag{Q}{ABC*D}{20} the slide contains a question with four possible answers (A, B, C and D), C is the right answer. The timeout will be 20 seconds.

Here is a basic example: presentation.zip (LaTeX sources with assets) and presentation.pdf

You can test the rendering of presentation in QuizZoodle here

back