| 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 |
\usepackage{hyperref} |
| 13 |
|
| 14 |
\begin{document} |
| 15 |
|
| 16 |
\section*{Introduction} |
| 17 |
|
| 18 |
This document is intended to check the support of some \LaTeX\ commands for |
| 19 |
conversion to HTML. |
| 20 |
|
| 21 |
\begin{quiz}[points=1]{LaTeX Commands} |
| 22 |
\begin{multi}{LaTeX Commands} |
| 23 |
Find the answer with small capitals |
| 24 |
\item \TeX{} and\\\relax \LaTeX% no-ops {} and \relax are tested here |
| 25 |
\item word with \emph{emphasis} catches the eye |
| 26 |
\item \textbf{bold} |
| 27 |
\item \textit{italic} |
| 28 |
\item \texttt{typewriter} |
| 29 |
\item* \textsc{Small Capitals} |
| 30 |
\item \underline{underlined} in text |
| 31 |
\item $\underline{underlined}$ in math |
| 32 |
\item M\textsuperscript{me} |
| 33 |
\item H\textsubscript{2}O |
| 34 |
\item \url{http://192.0.0.256} |
| 35 |
\item \href{mailto:[email protected]}{Contact me} |
| 36 |
\end{multi} |
| 37 |
|
| 38 |
\end{quiz} |
| 39 |
\end{document} |