4

Good day. Im new to latex and I want ti create a simple multiple choice test as shown below:

  1. What is the sum of the sides of a polygon called?

    A. Leg B. Perimeter C. Area D. Volume
    
  2. Wat is the product of -2 and 3?

    A. -6 B. 6 C. 5 D. -5

*I want the A, B, C, D to be be aligned with the choices in the other numbers.

  • 2
    Thanks for telling us about your plans. However, the site is designed for questions and answers rather than personal announcements. Perhaps Facebook would be a better place for this? – cfr Jun 18 '17 at 02:49
  • 1
    Take a look on CTAN. There are lots of packages and documentclasses for exams: https://ctan.org/topic/exam – Henri Menke Jun 18 '17 at 03:02
  • 1
    If you have an actual question rather than looking for general guidance, please add a minimal working example (MWE) to your question. For now I'm voting to close as "too broad". Please ping me once you updated the question so I can retract the close vote or vote to reopen. – Henri Menke Jun 18 '17 at 03:02
  • @HenriMenke I don't think it is a 'broad' question. The question is how to align the choices across different MCQs. – Troy Jun 18 '17 at 03:18
  • See if this answer helps: https://tex.stackexchange.com/a/141147/117534 – Troy Jun 18 '17 at 03:19

1 Answers1

8

You can use, for example, the package tasks.

MWE:

\documentclass{article}
\usepackage{tasks}

\NewTasks[style=enumerate,counter-format=tsk[A].,label-width=3ex]{choice}[\item](4)

\begin{document}

\begin{enumerate}
  \item What is the sum of the sides of a polygon called?
  \begin{choice}
    \item Leg
    \item Perimeter
    \item Area
    \item Volume
  \end{choice}
  \item What is the product of $-2$ and $3$?
  \begin{choice}
    \item $-6$
    \item $6$
    \item $5$
    \item $-5$
  \end{choice}
\end{enumerate}
\end{document} 

Output:

enter image description here

karlkoeller
  • 124,410