我对使用换行符有问题\blank
我在使用xsim 包中的
如下图所示,虽然两个问题都有足够的空间来完成它,但还是出现了换行符(我的文档中还有更多问题,但都有同样的问题,所以我通过输入\\
每只手来解决问题并不是我的首选解决方案)。
另外我想知道它是否不应该能够\blank
打破单词之间的界限(而不是单词中的某个地方),因为可以教它在那些点处划下划线吗?(例如参见此处xsim 中是否有一个命令可以将 \blank 中的每个单词分隔为几行?) 这样,单个单词的空格根本不会中断,而多个单词的空格会在单词之间中断。
梅威瑟:
\documentclass[11pt,fleqn]{book}
\usepackage[clear-aux]{xsim}
\DeclareExerciseEnvironmentTemplate{item}
{\item[\GetExerciseProperty{counter}]}
{}
\xsimsetup{
exercise/the-counter = \arabic{exercise}. ,
blank/scale = {2},
exercise/template=item,
solution/template=item,
path = {exercises}
}
\newenvironment{frag}
{\description}
{\enddescription}
\begin{document}
\begin{frag}
\begin{exercise}
The blind master acts as a \blank{happy bunny} to the whole team and kindergarden, advocating a holistic and longword approach to replacement.
\end{exercise}
\begin{exercise}
The blind scholar \blank{provides}, \blank{provides}, \blank{teaches}, and \blank{provides}.
\end{exercise}
\end{frag}
\end{document}
答案1
此问题已在 v0.10 (2017/09/19) 中修复xsim
(但日志文件有些混乱):
\documentclass[11pt]{book}
\usepackage{xsim}
\xsimsetup{
blank/scale = 2
}
\begin{document}
\begin{description}
\item[1.] The blind master acts as a \blank{happy bunny} to the whole team and
kindergarden, advocating a holistic and longword approach to replacement.
\item[2.] The blind scholar \blank{provides}, \blank{provides}, \blank{teaches}, and
\blank{provides}.
\end{description}
The blind master acts as a \blank{happy bunny} to the whole team and
kindergarden, advocating a holistic and longword approach to replacement.
The blind scholar \blank{provides}, \blank{provides}, \blank{teaches}, and
\blank{provides}.
\end{document}