QaDiL - Quick and Dirty interactive LaTeX
Niels Lauritzen
A LaTeX like system using KaTeX and SageMathCell for fast production of (mathematics) html-notes with interactive elements. Use requires (installation of) python and make and knowledge of editing LaTeX with a (plain) text editor. Preview of html can be done in any browser. Publishing your notes is as easy as unzipping a file (for example in your GitHub webpage repo).
\chapterno{1}
\chapter{A quiz on a famous integral}
\begin{quiz}
\question What is
\begin{equation*}[emph]
\int_{-\infty}^{\infty} e^{-x^2} d x?
\end{equation*}
Click on the right answer below.
\answer{F} $$2 \sqrt{\pi}$$
\answer{T} $$\sqrt{\pi}$$
\answer{F} $$\pi$$
\end{quiz}
The proof is hidden in the button below:
\begin{proof}[showhide]
See the \url{Gaussian integral}{https://en.wikipedia.org/wiki/Gaussian_integral} article.
\end{proof}
You may want to seek help from \url{Sage}{https://en.wikipedia.org/wiki/SageMath}:
\begin{sage}
integrate(exp(-x**2), x, -infinity, infinity)
\end{sage}
1A quiz on a famous integral
What is
Click on the right answer below.
See the Gaussian integral article.
You may want to seek help from Sage: