4

Using an exam class, Is there a way to keep questions on one page. Particularly with multiple choice questions, is there a way to keep a page break from occurring in the middle of the question?

0

1 Answer 1

2

Put questions in individual figures. There are many other choices such as table or minipage. The advantage of the first two is that you would have a list of questions. Just simply \def\figurename{Question}\listoffigures.

\documentclass{article}
    \usepackage{lipsum}
\begin{document}
    \begin{figure}
        \lipsum[1] \par (A) \par (B) \par (C) \par (D)
    \end{figure}
    \begin{figure}
        \lipsum[2] \par (A) \par (B) \par (C) \par (D)
    \end{figure}
    \begin{figure}
        \lipsum[3] \par (A) \par (B) \par (C) \par (D)
    \end{figure}
    \begin{figure}
        \lipsum[4] \par (A) \par (B) \par (C) \par (D)
    \end{figure}
    \begin{figure}
        \lipsum[5] \par (A) \par (B) \par (C) \par (D)
    \end{figure}
    \begin{figure}
        \lipsum[6] \par (A) \par (B) \par (C) \par (D)
    \end{figure}
    \begin{figure}
        \lipsum[7] \par (A) \par (B) \par (C) \par (D)
    \end{figure}
    \begin{figure}
        \lipsum[8] \par (A) \par (B) \par (C) \par (D)
    \end{figure}
    \begin{figure}
        \lipsum[9] \par (A) \par (B) \par (C) \par (D)
    \end{figure}
\end{document}

Not the answer you're looking for? Browse other questions tagged .