MCQ在乳胶中没有考试的问题

问题描述 投票:0回答:1

我想在我的电子书中添加一个MCQ问题,最后用答案键(带说明)。我不想使用考试包,因为我正在使用书包。输出是这样的:

example

请有人建议我或发给我模板。

谢谢你,拉姆

latex
1个回答
0
投票

您可以使用tasks package

enter image description here

\documentclass{article}

\usepackage[margin=1in]{geometry}% Just for this example

\usepackage{tasks}

\settasks{
  counter-format = {(tsk[a])},
  label-width = 1.5em,
  item-indent = 0pt,
  column-sep = \tabcolsep
}

\begin{document}

\begin{enumerate}
  \item
  If $a = 3 + i$ and $z = 2 - 3i$ then the points on the Argand diagram representing $az$, $3az$ and $-az$ are
  \begin{tasks}(2)
    \task Vertices of a right-angled triangle
    \task Vertices of an equilateral triangle
    \task Vertices of an isosceles triangle
    \task Collinear
  \end{tasks}

  \item
  The sum of the numbers $436.32$, $227.2$ and $0.301$ in appropriate significant figures is
  \begin{tasks}(4)
    \task $663.821$
    \task $664$
    \task $663.8$
    \task $663.82$
  \end{tasks}
\end{enumerate}

\end{document}
© www.soinside.com 2019 - 2024. All rights reserved.