summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/xelatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-09-18 19:45:17 +0000
committerKarl Berry <karl@freefriends.org>2022-09-18 19:45:17 +0000
commit4edfb6788d8ab59568e86c853149d6eacd7f2ef2 (patch)
tree9d68970dfb64735db20b50aca06928e116c2193e /Master/texmf-dist/doc/xelatex
parent8c1f78ad1a590e86ae1e357a03ecfe9c8a00ad64 (diff)
exam-zh (18sep22)
git-svn-id: svn://tug.org/texlive/trunk@64434 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/xelatex')
-rw-r--r--Master/texmf-dist/doc/xelatex/exam-zh/CHANGELOG.md23
-rw-r--r--Master/texmf-dist/doc/xelatex/exam-zh/doc/body/usage.tex67
-rw-r--r--Master/texmf-dist/doc/xelatex/exam-zh/doc/exam-zh-doc-setup.tex2
-rw-r--r--Master/texmf-dist/doc/xelatex/exam-zh/doc/exam-zh-doc.pdfbin1148091 -> 1149933 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/exam-zh/doc/exam-zh-doc.tex3
-rw-r--r--Master/texmf-dist/doc/xelatex/exam-zh/examples/example-multiple.pdfbin174288 -> 169880 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/exam-zh/examples/example-multiple.tex4
-rw-r--r--Master/texmf-dist/doc/xelatex/exam-zh/examples/example-single.pdfbin149087 -> 144619 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/exam-zh/examples/example-single.tex3
9 files changed, 87 insertions, 15 deletions
diff --git a/Master/texmf-dist/doc/xelatex/exam-zh/CHANGELOG.md b/Master/texmf-dist/doc/xelatex/exam-zh/CHANGELOG.md
index b4197df61e3..1fb88d27ec9 100644
--- a/Master/texmf-dist/doc/xelatex/exam-zh/CHANGELOG.md
+++ b/Master/texmf-dist/doc/xelatex/exam-zh/CHANGELOG.md
@@ -5,6 +5,29 @@
格式参照 [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
并且此项目遵守 [Semantic Versioning](https://semver.org/spec/v2.0.0.html)。
+## [0.1.20] - 2022-09-18
+
+### Added
+
+- 增加了 `textfigure/parindent` 键值
+- 增加 `exam-zh-textfigure` 模块对 `wrapstuff` 的检测
+
+### Changed
+
+- 将 `question` 和 `problem` 的键值分开
+
+### Removed
+
+- 去掉 `\goodluck` 命令
+
+
+## [0.1.20] - 2022-09-12
+
+### Added
+
+- 增加页眉接口
+
+
## [0.1.19] - 2022-08-27
### Added
diff --git a/Master/texmf-dist/doc/xelatex/exam-zh/doc/body/usage.tex b/Master/texmf-dist/doc/xelatex/exam-zh/doc/body/usage.tex
index 71e57ad21f1..f7968219366 100644
--- a/Master/texmf-dist/doc/xelatex/exam-zh/doc/body/usage.tex
+++ b/Master/texmf-dist/doc/xelatex/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
diff --git a/Master/texmf-dist/doc/xelatex/exam-zh/doc/exam-zh-doc-setup.tex b/Master/texmf-dist/doc/xelatex/exam-zh/doc/exam-zh-doc-setup.tex
index e0a12cc4027..d44f20d8a66 100644
--- a/Master/texmf-dist/doc/xelatex/exam-zh/doc/exam-zh-doc-setup.tex
+++ b/Master/texmf-dist/doc/xelatex/exam-zh/doc/exam-zh-doc-setup.tex
@@ -33,7 +33,7 @@
\title{\textcolor{MaterialIndigo800}{%
\textbf{exam-zh: 高考试卷 \LaTeX \xpinyin[font=\sffamily,format=\color{MaterialIndigo800}]{模}{mu2}板}}}
\author{李泽平,夏康玮,郭李军}
-\date{2022/08/28\quad v0.1.19%
+\date{\DocDate\quad \DocVersion%
\thanks{%
\url{https://gitee.com/xkwxdyy/exam-zh}
}
diff --git a/Master/texmf-dist/doc/xelatex/exam-zh/doc/exam-zh-doc.pdf b/Master/texmf-dist/doc/xelatex/exam-zh/doc/exam-zh-doc.pdf
index b3732b8ebc8..9eea3d04811 100644
--- a/Master/texmf-dist/doc/xelatex/exam-zh/doc/exam-zh-doc.pdf
+++ b/Master/texmf-dist/doc/xelatex/exam-zh/doc/exam-zh-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/exam-zh/doc/exam-zh-doc.tex b/Master/texmf-dist/doc/xelatex/exam-zh/doc/exam-zh-doc.tex
index 956a94c3df8..e9362101e30 100644
--- a/Master/texmf-dist/doc/xelatex/exam-zh/doc/exam-zh-doc.tex
+++ b/Master/texmf-dist/doc/xelatex/exam-zh/doc/exam-zh-doc.tex
@@ -1,4 +1,7 @@
\documentclass{xdyydoc}
+
+\newcommand{\DocDate}{2022-9-18}
+\newcommand{\DocVersion}{v0.1.20}
\input{exam-zh-doc-setup.tex}
\usepackage{amssymb}
diff --git a/Master/texmf-dist/doc/xelatex/exam-zh/examples/example-multiple.pdf b/Master/texmf-dist/doc/xelatex/exam-zh/examples/example-multiple.pdf
index 917fbee4302..36f483c7446 100644
--- a/Master/texmf-dist/doc/xelatex/exam-zh/examples/example-multiple.pdf
+++ b/Master/texmf-dist/doc/xelatex/exam-zh/examples/example-multiple.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/exam-zh/examples/example-multiple.tex b/Master/texmf-dist/doc/xelatex/exam-zh/examples/example-multiple.tex
index 94c5471205e..b0b75c7f0ee 100644
--- a/Master/texmf-dist/doc/xelatex/exam-zh/examples/example-multiple.tex
+++ b/Master/texmf-dist/doc/xelatex/exam-zh/examples/example-multiple.tex
@@ -62,7 +62,7 @@
本试卷共 4 页,22 题。全卷满分 150 分。考试用时 120 分钟。
-\goodluck
+
\begin{notice}
\item 答题前,先将自己的姓名、准考证号、考场号、座位号填写在试卷和答题卡上,
@@ -379,7 +379,7 @@
本试卷共 4 页,22 题。全卷满分 150 分。考试用时 120 分钟。
-\goodluck
+
\begin{notice}
\item 答题前,先将自己的姓名、准考证号、考场号、座位号填写在试卷和答题卡上,
diff --git a/Master/texmf-dist/doc/xelatex/exam-zh/examples/example-single.pdf b/Master/texmf-dist/doc/xelatex/exam-zh/examples/example-single.pdf
index 358ed541966..a49160b31e0 100644
--- a/Master/texmf-dist/doc/xelatex/exam-zh/examples/example-single.pdf
+++ b/Master/texmf-dist/doc/xelatex/exam-zh/examples/example-single.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xelatex/exam-zh/examples/example-single.tex b/Master/texmf-dist/doc/xelatex/exam-zh/examples/example-single.tex
index d70cb9ae92d..f57cd8d3462 100644
--- a/Master/texmf-dist/doc/xelatex/exam-zh/examples/example-single.tex
+++ b/Master/texmf-dist/doc/xelatex/exam-zh/examples/example-single.tex
@@ -6,7 +6,7 @@
paren/show-paren=true,
paren/show-answer=false,
fillin/show-answer=false,
- solution/show-solution=false,
+ solution/show-solution=false
}
\ExamPrintAnswerSet{
@@ -40,7 +40,6 @@
本试卷共 4 页,22 题。全卷满分 150 分。考试用时 120 分钟。
-\goodluck
\begin{notice}
\item 答题前,先将自己的姓名、准考证号、考场号、座位号填写在试卷和答题卡上,