我正在尝试创建一个由两部分组成的多项选择题。我想对每一部分给出反馈。但显而易见的做法不起作用。见下文。我正在使用cloze
中的函数moodle
。
\begin{cloze}[feedback={This is a general feedback. This prints fine.}]{Problem}
\begin{multi}[vertical,feedback={Feedback for Part I can't print}]
Part I
\item* Choice 1
\item Choice 2
\end{multi}
\begin{multi}[vertical,feedback={Feedback for Part II can't print}]
Part II
\item* Choice 1
\item Choice 2
\end{multi}
\end{cloze}
如上所述,我只能打印一般反馈,但不能打印每个部分的反馈。
任何帮助都将受到赞赏。
答案1
答案2
这是我使用最新版(两天前)的moodle.sty
\documentclass[12pt]{article}
\usepackage[]{moodle}
\usepackage{graphicx}
\usepackage{xpatch}
\begin{document}
\begin{quiz}{Quiz 1}
\begin{multi}[shuffle=true, points=1,feedback={First feedback}]{Quiz1/Test1}
test one
\item[feedback={wow!}]* 1
\item[feedback={ach!}] 2
\item 3
\end{multi}
\begin{cloze}[feedback={cloze feedback}]{Quiz1/Test3}
This is a cloze question
\begin{multi}[vertical]
One sub
\item[feedback={this no}] $\frac{1}{4} x^4+C$
\item[feedback={this yes}]* $3x^2$
\end{multi}
\begin{multi}[vertical]
Two sub
\item* A
\item B
\end{multi}
\end{cloze}
\end{quiz}
\end{document}
我得到了:(页面上的标记显然是我做的,不是来自包裹):
我也收到这个警告,我正在探索
Package moodle Warning: Cloze Multi Shuffling only supported by Moodle 3.0+ on input line 31.
Package moodle Warning: Cloze Multi Shuffling only supported by Moodle 3.0+ on input line 31.
Overfull \hbox (6.79999pt too wide) in paragraph at lines 31--32
[][]
Underfull \hbox (badness 10000) in paragraph at lines 31--32