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.

5
  • 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
    Commented Jun 18, 2017 at 2:49
  • 1
    Take a look on CTAN. There are lots of packages and documentclasses for exams: ctan.org/topic/exam Commented Jun 18, 2017 at 3: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. Commented Jun 18, 2017 at 3:02
  • @HenriMenke I don't think it is a 'broad' question. The question is how to align the choices across different MCQs.
    – Troy
    Commented Jun 18, 2017 at 3:18
  • See if this answer helps: tex.stackexchange.com/a/141147/117534
    – Troy
    Commented Jun 18, 2017 at 3:19

1 Answer 1

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

2
  • It says that ep3l.sty not found Commented Jun 18, 2017 at 8:36
  • @KenMirasol Update your TeX distribution (TeX Live or whatever). Commented Jun 18, 2017 at 8:37

You must log in to answer this question.

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