lastlegume

The site of all of the projects made by lastlegume.

LaTeX Answer Sheet Generator

A tool to convert a (presumably class set) test or set of stations with only questions into an answer sheet to write on. The tool works by taking in the LaTeX of the test and using it to create LaTeX for an answer sheet. Any multiple choice questions are automatically recognized as such and processed into the appropriate format of your choice. For any free response question, the line after the line with \question should start with % (or your chosen character sequence) and have the answer in it. The output goes entirely within the questions environment (i.e. after \begin{questions} and before \end{questions}). Any line that isn’t a question or its answer (images, lists, section headers) is removed automatically to remove anything that is needed only on the test. See the bottom of the page. For a basic test writing tutorial in LaTeX, see my tutorial, which includes a template for use with this tool.

Test/Stations Code




Answer Sheet Code

Settings

Example

\question[1] Darling-58 is the name of a transgenic variant of what tree species on the 2024 National Tree List? Answer with the common name. 
%American Chestnut
\question[1] Bark is defined as all tissue outside of which structure?\\
\begin{oneparchoices}
    \choice Sapwood
    \correctchoice Vascular cambium
    \choice Secondary Phloem
    \choice Phelloderm
    \choice Cork cambium
\end{oneparchoices}

To use this tool, simply write multiple choice questions normally and add the answer to free response questions to the line after in comments like seen above. It is VERY important that no lines are skipped between the questions and the answer choices or the commented answer because the program will not recognize the answer if lines are skipped in between. Questions are from CWRU Invitational 2024 Forestry C.