summaryrefslogtreecommitdiff
path: root/macros/xetex/latex/exam-zh/doc/body/usage.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/xetex/latex/exam-zh/doc/body/usage.tex')
-rw-r--r--macros/xetex/latex/exam-zh/doc/body/usage.tex67
1 files changed, 57 insertions, 10 deletions
diff --git a/macros/xetex/latex/exam-zh/doc/body/usage.tex b/macros/xetex/latex/exam-zh/doc/body/usage.tex
index 71e57ad21f..f796821936 100644
--- a/macros/xetex/latex/exam-zh/doc/body/usage.tex
+++ b/macros/xetex/latex/exam-zh/doc/body/usage.tex
@@ -1,5 +1,4 @@
% !TeX root = ../exam-zh-doc.tex
-
\section{使用说明}
\subsection{基本用法}
@@ -239,12 +238,12 @@
“绝密 $\bigstar$ 启用前”。格式命令默认为 |\bfseries|。
\end{function}
-\begin{function}[updated = 2022-07-03]{\goodluck}
- \begin{ccnusyntax}[emph={[1]goodluck}]
- \goodluck(*\oarg{祝福语}*)
- \end{ccnusyntax}
- 祝福语命令。祝福语默认为 |祝考试顺利|。
-\end{function}
+% \begin{function}[updated = 2022-07-03]{\goodluck}
+% \begin{ccnusyntax}[emph={[1]goodluck}]
+% \goodluck(*\oarg{祝福语}*)
+% \end{ccnusyntax}
+% 祝福语命令。祝福语默认为 |祝考试顺利|。
+% \end{function}
\begin{function}[updated = 2022-07-26]{notice 环境}
\begin{ccnusyntax}[emph={[2]notice}]
@@ -989,7 +988,7 @@
\begin{function}{wrapstuff 环境}
- \file{exam-zh-textfigure.sty} 模块默认加载 \pkg{wrapstuff} 宏包。具体 \env{wrapstuff} 环境使用请阅读手册。
+ \file{exam-zh-textfigure.sty} 模块默认加载 \pkg{wrapstuff} 宏包,此宏包可以方便地实现图文绕排功能。此宏包是 \href{https://github.com/qinglee}{李清} 于 2022 年开发,如果使用的 \TeXLive 不是 2022 年版本的,则需要去项目主页手动 \href{https://github.com/qinglee/wrapstuff/releases}{下载发行版} 并安装。具体 \env{wrapstuff} 环境使用请阅读手册。
\end{function}
@@ -1148,6 +1147,27 @@
试卷尺寸。\opt{a4paper} 表示一页为 A4 纸大小;\opt{a3paper} 表示一页为 A3 纸大小,内容为连续两页 A4 拼接。此设置只能放在导言区。
\end{function}
+
+\begin{function}[added = 2022-09-12]{page/show-head}
+ \begin{ccnusyntax}[emph={[1]show-head}]
+ show-head = (*\TFF*)
+ \end{ccnusyntax}
+ 是否显示页眉。
+\end{function}
+
+\begin{function}[added = 2022-09-12]{page/head-content}
+ \begin{ccnusyntax}[emph={[1]foot-content}]
+ foot-content = (*\meta{页眉格式}*)
+ \end{ccnusyntax}
+ 页眉内容设置。内容为 \pkg{fancyhdr} 宏包的页眉命令,比如
+\begin{latexcode}
+ head-content = {
+ \fancyhead[ER, OL]{测试文本}
+ \fancyhead[C]{\includegraphics[height=1cm]{example-image.png}}
+ }
+\end{latexcode}
+\end{function}
+
\begin{function}[updated = 2022-07-24]{page/foot-type}
\begin{ccnusyntax}[emph={[1]foot-type}]
foot-type = (*<common|(separate)>*)
@@ -1644,7 +1664,19 @@
question = (*\marg{键值列表}*)
question/(*\meta{key}*) = (*\meta{value}*)
\end{ccnusyntax}
- 该选项包含许多子项目,用于设置题干。具体内容见下。
+ 该选项包含许多子项目,用于设置 \env{question} 环境。具体内容见下。
+\end{function}
+
+\begin{function}[added = 2022-09-18]{problem}
+ \begin{ccnusyntax}[emph={[1]problem}]
+ problem = (*\marg{键值列表}*)
+ problem/(*\meta{key}*) = (*\meta{value}*)
+ \end{ccnusyntax}
+ 该选项包含许多子项目,用于设置 \env{problem} 环境。具体内容和下面所述的 \opt{question/} 类的键值基本相同,除了有以下区别:\env{problem} 环境
+ \begin{enumerate}
+ \item 没有 \opt{combine-fillin} 和 \opt{combine-fillin-args} 键
+ \item 没有 \opt{hang} 键
+ \end{enumerate}
\end{function}
@@ -1750,7 +1782,7 @@
\begin{function}[added = 2022-08-12]{question/hang}
\begin{ccnusyntax}[emph={[1]hang}]
- combine-fillin = (*\TTF*)
+ hang = (*\TTF*)
\end{ccnusyntax}
\env{question} 环境是否是“悬挂效果”。
\end{function}
@@ -1770,6 +1802,14 @@
}
+\begin{function}[added = 2022-09-18]{question/points-prelabel,question/points-postlabel}
+ \begin{ccnusyntax}[emph={[1]points-prelabel,points-postlabel}]
+ points-prelabel = (*\meta{points 前面的内容}*)
+ points-postlabel = (*\meta{points 后面的内容}*)
+ \end{ccnusyntax}
+ \env{question} 环境的 \opt{points} 键值的显示前后内容设置,\opt{points-prelabel} 默认为 |(|,\opt{points-postlabel} 默认为 |分)|,即默认为 |(2分)| 效果。
+\end{function}
+
\subsubsection{选择题} \label{subsubsec:参数-选择题}
\begin{function}{choices}
@@ -2922,4 +2962,11 @@
top = (*\meta{integer}*)
\end{ccnusyntax}
\kvopt{fig-pos}{left-top} 时,图片顶部从文本的第几行开始排,效果和 \pkg{wrapstuff} 宏包的 \opt{top} 键值效果类似。
+\end{function}
+
+\begin{function}[added = 2022-09-18]{textfigure/parindent}
+ \begin{ccnusyntax}[emph={[1]parindent}]
+ parindent = (*\meta{dimension}*)
+ \end{ccnusyntax}
+ 文本部分的缩进长度,默认为 |2em|。
\end{function} \ No newline at end of file