Ejemplo de Banco de preguntas elaborado en LaTeX para exportarse automáticamente a Moodle
\documentclass[10pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[spanish]{babel}
\usepackage{aleph-comandos}
\usepackage{aleph-moodle}
% Se recomienda leer la documentación de estos
% paquetes en https://www.alephsub0.org/recursos/
% -- Paquetes adicionales
\usepackage{amssymb}
\usepackage{mathpazo}
% -- Datos
\title{Banco de preguntas para exportar a Moodle}
\author{Andrés Merino y Jonathan Ortiz}
\usepackage[margin=2cm]{geometry}
\begin{document}
\maketitle
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{quiz}{Cont}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{multi}{alni01}
Dada la transformaci\'on lineal
\[
\funcion{T}{\R^2}{\R^2}{x}{(2x_1,x_1+x_2).}
\]
Indique el vector que pertenece al n\'ucleo de $T$: $\arcsen(x)$
\item $(1,-1)$
\item $(2,-2)$
\item $(0,1)$
\item* $(0,0)$
\end{multi}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{multi}{alni02}
Dada la matriz
\[
A=
\begin{pmatrix}
1&3\cr
5&7
\end{pmatrix}.
\]
El determinante de $A$ es:
\item $5$
\item* $-8$
\item $3$
\item $0$
\end{multi}
\end{quiz}
\end{document}