I want to bundle together multiple exam question papers in the form of a bound book to be handed out as practice problems. The exam question papers are mainly objective MCQs. Each chapter will have initial description (text, figures, and diagrams) followed by a series of multiple choice questions.
I use the exam class
to generate MCQ exams as shown in the code below.
How to combine this with book templates or or other class to accomplish what I wish to do?
%\documentclass{article}
\documentclass{exam}
\usepackage{graphicx}
\usepackage[export]{adjustbox}
\begin{document}
\begin{questions}
\question
[A]
question 1 \\
\begin{oneparchoices}
\choice option 1
\choice option 2
\choice option 3
\choice option 4
\end{oneparchoices}
\question
[B]
question 2 \\
\begin{oneparchoices}
\choice option 1
\choice option 2
\choice option 3
\choice option 4
\end{oneparchoices}
\question
[A]
question 3 \\
\begin{oneparchoices}
\choice option 1
\choice option 2
\choice option 3
\choice option 4
\end{oneparchoices}
\question
[D]
question 4 \\
\begin{oneparchoices}
\choice option 1
\choice option 2
\choice option 3
\choice option 4
\end{oneparchoices}
\end{questions}
\end{document}
Best Answer
I assume that OP only wants to include some multiple choice questions typed like in
exam
class, i.e., aquestions
environment similar toenumerate
but with\question[points]
command instead of\item
; and a multiple choice environment (oneparchoices
) which is similar to an inline enumerate with\choice
instead of\item
.Both environments can be build with
enumitem
package. It provides configurable lists and also configurable inline lists. Therefore with some help fromenumitem
documentation, and from \newlist vs. \newenvironment for defining an individual list style and Creating a list style with enumitem, next can be done