Learn R Programming

exams.forge (version 1.0.10)

latexdef: Exam PDF with LaTeX

Description

If exams is called by exams2pdf,

  • latexdef adds a TeX macro by \def\name{body} and

  • answercol adds a \def\answercol{n} to modify the number of output columns for multiple-choice answers to the LaTeX file.

Usage

latexdef(name, body)

answercol(n)

add_answercol_def(n)

Value

Nothing

Arguments

name

character: macro name

body, n

character: macro body

Examples

Run this code
answercol(2)

Run the code above in your browser using DataLab