summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/moodle/test/test_commands.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/moodle/test/test_commands.tex')
-rw-r--r--Master/texmf-dist/doc/latex/moodle/test/test_commands.tex37
1 files changed, 37 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/moodle/test/test_commands.tex b/Master/texmf-dist/doc/latex/moodle/test/test_commands.tex
new file mode 100644
index 00000000000..3ff827efa49
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/moodle/test/test_commands.tex
@@ -0,0 +1,37 @@
+% !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
+\usepackage{hyperref}
+
+\begin{document}
+
+\section*{Introduction}
+
+This document is intended to check the support of some \LaTeX\ commands for
+conversion to HTML.
+
+\begin{quiz}[points=1]{LaTeX Commands}
+\begin{multi}{LaTeX Commands}
+Find the answer with small capitals
+\item \emph{emphasis}
+\item \textbf{bold}
+\item \textit{italic}
+\item \texttt{typewriter}
+\item* \textsc{Small Capitals}
+\item \underline{underlined}
+\item M\textsuperscript{me}
+\item H\textsubscript{2}O
+\item \url{http://192.0.0.256}
+\item \href{mailto:name@server.com}{Contact me}
+\end{multi}
+
+\end{quiz}
+\end{document}