Michel Krebs
Michel Krebs

Reputation: 21

How can I print one question per page in exams2pdf?

I am writing an exam using exams2pdf. Is there a way to get each question on a new page?

I did not find an option in the manual so far.

Upvotes: 1

Views: 152

Answers (1)

Michel Krebs
Michel Krebs

Reputation: 21

This is explained in this thread in the R-Forge forum: https://R-Forge.R-project.org/forum/message.php?msg_id=48478&group_id=1337

Just redefine the {question} environment in the LaTeX template file:

\renewenvironment{question}{\item}{\newpage}

This adds a \newpage at the end of the question so that the next one starts on a new page. See vignette("exams", package = "exams") for more details about how to set up a LaTeX template file.

Upvotes: 1

Related Questions