Pablo Angulo - Juan Viu Sos - Otros compañeros de la UPM
Charla ENSEMAT II
Cuadrante de features deseables, y cuáles de las soluciones anteriores satisface cada una:
latex | lenguaje (¿CAS?) | pdf form | pdf scan | moodle | question database | |
---|---|---|---|---|---|---|
moodle | ![]() |
simple | ![]() |
![]() |
![]() |
![]() |
numbas | ![]() |
javascript | ![]() |
![]() |
![]() |
![]() |
auto multiple choice | ![]() |
simple | ![]() |
![]() |
![]() |
![]() |
R exams | ![]() |
R | ![]() |
![]() |
![]() |
![]() |
sagetex pang | ![]() |
Sage ![]() |
![]() |
![]() |
![]() |
![]() |
sagetex jupyter jviu | ![]() |
Sage ![]() |
![]() |
![]() |
![]() |
![]() |
Combinar varios paquetes con esas capacidades parece una buena forma de conseguir todas las features de la wishlist, ¿verdad?
verbatim
de formas incompatibles, y cualquier fallo se multiplica: muy incómodosagetex
+ \usepackage{moodle}
+ ??? -> No funciona
moodle
ya avisa que no es compatible con muchos paquetes LaTeXmoodle
no expande \newcommand{}{}
!pyexams
pyexams
\name
por el nombre del estudiante\sif{condition}{tex1}{tex2}
, \schoose{tex1}{tex2}
, ssample
, …moodle
de ctan-latex para generar los ejercicios (-> funciona ¡pero no expande comandos!)amc2moodle
, que sí expande comandospdflatex
por pyexams
en tu editor de LaTeX y trabaja con un sólo documentopyexams
\usepackage[sagemath]{pyexams}
\newcommand{\R}{\mathbb{R}}
%...
\begin{minipage}{.85\linewidth}
Student: {\bf \name \; \surname}, \quad ID: {\bf \id}
\end{minipage}
%...
\begin{question}{derivative-sin}
\qvariant{1} \qtags{derivative}
\begin{runsilent}
set_random_seed(\seed)
a = randint(2,10)
f = sin(a*x)
fd = f.derivative(x)
\end{runsilent}
What is the first derivative of $\eval{f}$?
\begin{choices}
\correctchoice{$\eval{fd}$}
\wrongchoice{$\eval{fd*a}$}
\wrongchoice{$\eval{fd + a}$}
\end{choices}
\end{question}
pyexams
pyexams
Coming soon
pip install texsurgery
, pip install pyexams
TexSurgery
con jupyter kernels
\usepackage{automultiplechoice}
pyexams
the future?pillow
, scikit-image
, opencv
,…pyexams
?numbas
?sage
son usables (¡y las hemos usado!)¡Eso es todo!