
▲ 21 r/LaTeX
Exam tools
Hopefully this bit of self-promotion does not break any rules.
I've been developing some tools this past semester that I've been using to generate exams. In particular, the main tools are
- randNums -- This function picks random numbers from a range, with options for non-zero numbers, number of decimal places, sorting, unique values, etc.
- printCoeff -- This function "pretty prints" numbers (e.g. like the ones generated using randNums). It has options to toggle printing the 1 when the number is \pm 1, toggle printing 0, toggle explicitly printing "+", and a number formatting option (from siunitx)
- printPoly -- This function uses the printCoeff function to typeset a list of coefficients and exponents for polynomials
- exam_tools -- This was my original project, but I moved the larger functions (e.g. printCoeff and printPoly in printFuncs and randNums) into their own files, and moved some class specific functions into their own files.
- statFunctions -- The main functions in this code compute the probabilities and quantiles for the normal distribution and the t-distribution.
Below is a Overleaf project that demonstrates some examples and the usage of these functions:
https://www.overleaf.com/read/bbzmxhzyvwft#e2df35
I'm open to any and all feedback (e.g. feature or interface suggestions, etc)!
u/2003z440 — 5 days ago