Personalizes and Randomizes Exams Written in 'LaTeX'

Randomizing exams with 'LaTeX'. If you can compile your main document with 'LaTeX', the program should be able to compile the randomized versions without much extra effort when creating the document.

Build Status R package, randomizing 'LaTeX' exams and grading them.

Randomizes 'LaTeX' exams with a flexible set of options that can be provided directly in the document, using JSON-format.

Look at the vignettes of the package to see all the options provided in the package.

Look as well inside the inst/extdata folder to see examples of different formats that the software understands


To install,


Using the package with TexShop (In MAC OS)

The package already comes with the intention of being used directly on a tipical TeX typewriter, such as TexShop.

You will find inside the exec/ folder a couple of .engine files. By placing those files in your "engines" folder in your TexShop distribution, and by placing the corresponding executable scripts found on that same folder somewhere that can be found on your path, you will be able to use this package to create random exams without even having to move out of your TeX environment once it is set up.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.2.3 by Alejandro Gonzalez Recuenco, 4 years ago

Report a bug at

Browse source code at

Authors: Alejandro Gonzalez Recuenco

Documentation:   PDF Manual  

Task views: Teaching Statistics

MIT + file LICENSE license

Imports Rcpp, assertthat, stringr, jsonlite, stats, utils

Suggests optparse, knitr, rmarkdown

Linking to Rcpp

System requirements: C++11, A modern compiler (>=gcc-4.9), And latexmk is necessary to compile all output documents with the functions provided by this package

See at CRAN