The following code gives a way to produce Multiple Choices Questions. This solution comes from here.
I would like to have the possibility to display the choices in 2 or 3 columns by giving one optional argument. Is there a way to do that ?
\documentclass[a4,12pt]{article}
\usepackage[utf8x]{inputenc}
\usepackage{amsmath}
\newcounter{choice}
\renewcommand\thechoice{\Alph{choice}}
\newcommand\choicelabel{\thechoice)}
\newenvironment{choice}{%
\list{\choicelabel}{%
\usecounter{choice}\def\makelabel##1{\hss\llap{##1}}%
\settowidth{\leftmargin}{W.\hskip\labelsep\hskip 2.5em}%
\def\choice{%
\item
} % choice
\labelwidth\leftmargin\advance\labelwidth-\labelsep
\topsep=0pt
\partopsep=0pt
}%
}{\endlist}
\begin{document}
Which fractions are reduced ?
\begin{choice}
\choice $\dfrac{4}{7}$
\choice $\dfrac{8}{24}$
\choice $\dfrac{44}{121}$
\choice $\dfrac{9}{11}$
\end{choice}
\end{document}

choicesenvironment, so if you rename this answer'schoicesenvironment andchoicecommand to something else, it appears to work fine. – Mike Renfro Jul 30 '21 at 00:20