diff options
Diffstat (limited to 'macros/xetex/latex/exam-zh/doc/body/usage.tex')
-rw-r--r-- | macros/xetex/latex/exam-zh/doc/body/usage.tex | 44 |
1 files changed, 38 insertions, 6 deletions
diff --git a/macros/xetex/latex/exam-zh/doc/body/usage.tex b/macros/xetex/latex/exam-zh/doc/body/usage.tex index 264d618e53..8fa19b40f9 100644 --- a/macros/xetex/latex/exam-zh/doc/body/usage.tex +++ b/macros/xetex/latex/exam-zh/doc/body/usage.tex @@ -50,18 +50,22 @@ \subsubsection{正体的数学常数} -\begin{function}{\eu} +\begin{function}[updated = 2022-08-02]{\eu,\upe} 正体的自然对数的底“e”。 \end{function} -\begin{function}{\iu} +\begin{function}[updated = 2022-08-02]{\iu,\upi} 正体的虚数单位“i”。 \end{function} \tn{eu} 可以理解为 “e upright” 的缩写或者 “Euler's number” 的首字母,\tn{iu} 可以理解为 “i upright” 或 “imaginary unit” 的缩写,这样更方便记忆。 -\begin{latexexample}{\tn{eu} 和 \tn{iu} 的效果} - $\eu \quad \iu$ +\begin{function}[added = 2022-08-02]{\uppi} + 正体的圆周率“$\pi$”: “$\uppi$”。 +\end{function} + +\begin{latexexample}{\tn{eu}、\tn{iu} 和 \tn{uppi} 的效果} + $\eu \quad \iu \quad \uppi$ \end{latexexample} @@ -1953,11 +1957,31 @@ \begin{function}[added = 2022-07-06]{fillin/width} \begin{ccnusyntax}[emph={[1]width}] - width = (*<skip>*) + width = (*<dimension>*) \end{ccnusyntax} - 控制 \kvopt{fillin/type}{line/paren/blank} 下 \tn{fillin} 不显示答案时的长度,可以为弹性长度,默认为 |3em plus 1em minus 1em|。 + 控制 \kvopt{fillin/type}{line/paren/blank} 下 \tn{fillin} 不显示答案时的长度,默认为 |3em|。 \end{function} +\begin{function}[added = 2022-07-30]{fillin/width-type} + \begin{ccnusyntax}[emph={[1]width-type}] + width-type = (*<(fill)|normal>*) + \end{ccnusyntax} + \kvopt{show-answer}{false} 且 \kvopt{no-answer-type}{none} 时 \opt{fillin/width} 设置时若 \meta{width} 的长度超过了当前行的剩余长度,则多余部分在下一行的表现。\opt{fill} 表示多余部分只要不超过 \tn{linewidth} 就自动 fill 为 \tn{linewidth} 的长度(此时建议 \opt{width} 的值不是 \tn{linewidth} 的整数倍,而是(以最终一共两行为例)比如 |1.5\linewidth|);\opt{normal} 表示多余部分严格按照 \meta{width} 的值排版。由于使用了 \pkg{linegoal},需要编译至少两次才能获得正确的效果。 +\end{function} + +\begin{latexexample}{\opt{width-type} 示例} + \examsetup{fillin/no-answer-type=none} + 测试 测试测试,测试 \fillin[width = 3em][答案] + + 测试 测试测试,测试 \fillin[width = 0.5\linewidth][答案] + + 测试 + \fillin[width = 1.1\linewidth][答案] 测试 + + 测试 + \fillin[width-type = normal, width = 1.1\linewidth][答案] 测试 +\end{latexexample} + \begin{function}[added = 2022-07-15]{fillin/color} \begin{ccnusyntax}[emph={[1]color}] color = (*\meta{color}*) @@ -1974,6 +1998,14 @@ \end{function} +\begin{function}[added = 2022-07-30]{fillin/paren-type} + \begin{ccnusyntax}[emph={[1]paren-type}] + paren-type = (*<(banjiao)|quanjiao>*) + \end{ccnusyntax} + 设置 \tn{fillin} 中 \kvopt{type}{paren} 时的括号类型。\opt{banjiao} 表示半角括号;\opt{quanjiao} 表示全角括号。 +\end{function} + + \subsubsection{解答题} \label{subsubsec:参数-解答题} \begin{function}[added = 2022-07-01]{solution} |