在LaTeX中创建一个多项选择题

Mic*_*ael 3 latex multiple-choice

我试图在LaTeX中提出一个多项选择题.我是否有点困惑

\begin{question}{MultipleChoice}

是默认情况下LaTeX可以处理的东西,还是我需要额外的包,描述等...(我是LaTex的新手).

话虽如此,如果我运行以下代码,我不会得到一个多选题,而是一个错误,说'lonely\item - 可能缺少一个列表环境.

提前感谢您的时间和耐心!

  %%%% ENVIRONMENT FOR LIST FOR QUESTIONS LIST %%%%
    \newenvironment{questions}{ %   %%%% Begin preliminary environment code
        \begin{list}{ %     %%%% Begin list item label code
            \bfseries\upshape\arabic{qcounter}:
        }{ %    %%%% Begin list item body code
            \usecounter{qcounter}
            \setlength{\labelwidth}{1in}
            \setlength{\leftmargin}{0.25in}
            \setlength{\labelsep}{0.5ex}
            \setlength{\itemsep}{2em}
        } %%%%% End list item body code
    }{        %%%%% Begin wrapup environment code
        \end{list}
    } %%%%% End wrapup environment code

    %%%% ENVIRONMENT FOR A SINGLE QUESTION %%%%
    \newenvironment{question}{\item{}}{}



    \begin{question}{MultipleChoice}
    \qutext{$3\log x-2\log y=$}
    \choice*{$\log\left(\displaystyle\frac{x^3}{y^2}\right)$}
    \choice{$\log(x^3y^2)$}
    \choice{$\log(3x-2y)$}
    \choice{$\log(x^3-y^2)$}
    \end{question}
Run Code Online (Sandbox Code Playgroud)

Eel*_*vex 5

更好地使用考试课程