Text Formattingexam | Custom Formatting for multiple Choice Questions

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
petey
Posts: 10
Joined: Sat Feb 27, 2010 9:23 pm

exam | Custom Formatting for multiple Choice Questions

Post by petey »

Hi,

I'm using the exam class to create a multiple choice test.

For every question there are four choices and I would like the choices to be listed in rows of two. Right now I can only get latex to print the choices in one row (if the choices fills up more than one line it does not look nice) or in four rows (which often is waste of paper).

So what I would like is this:
What is 2+2?

A. 4 B. 5
C. 6 D. 3
Thanks in advance.


Kind regards
Petey

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

coachbennett1981
Posts: 274
Joined: Fri Feb 05, 2010 10:15 pm

exam | Custom Formatting for multiple Choice Questions

Post by coachbennett1981 »

Do you want space between the choices? You could you multicolor

Code: Select all


\begin{questions}
\question $2+2$?
\begin{multicols}{2}
     \begin{choices}
          \choice 1
           \choice 2
           \choice 3
           \choice 4
   \end{choices}
\end{multicols}

Post Reply