CTAN update: exam-zh
Datum: 13. Juli 2026 12:14:57 MESZ
Kangwei Xia submitted an update to the
exam-zh
package.
Version: 0.3.0 2026-07-12
License: lppl1.3c
Summary description: LaTeX template for Chinese exams
Announcement text:
### Added - 为 `textfigure` 增加可选的 `auto-text-width` 图片实宽测量,并提供 `min-text-width` 与 `column-gap` 控制,避免宽图把正文压成窄列(Gitee #I7QT33) - 为 `choices` 增加 `\item*` 正确选项标记以及 `show-answer`、`answer-color` 显示控制;默认隐藏标记,启用后同时着色正确选项标签和内容(Gitee #I5ROOL) - 为 `problem` 新增 `hang` 键,并为 `choices` 新增 `item-linesep`、`left-indent`、`right-indent` 与 `margin` 键(Gitee #I6HQ2S、#ID7HWH、#I67JXY) - 为 `paren/type` 新增 `dotfill` 点线填充模式(Gitee #I63X3T) - 为 `multifigures` 新增 `column-gap` 图片列间距键,并文档化底层 `tblr` 的 `colspec` 参数透传方式(Gitee #ID823C) - 为 `page` 新增 `custom` 纸张尺寸以及 `paper-width`、`paper-height`、`margin`、`headheight` 键,可配置任意单页纸张(含 16K)(Gitee #IDBLDN、#ID7G2T) ### Changed - `\fillin` 在显示长答案时会按自然宽度自动切换到可换行排版,`\fillin*` 继续作为强制换行兼容写法;多行答案会根据内容深度自动调整下划线,避免高公式压线(Gitee #ID6D6C) - 解答题内第二层小题默认改用小写罗马数字编号,第三层改用小写字母编号,以匹配 2026 年高考试卷层级样式(Gitee #IK0BLV) - 抽取 question、fillin、choices 与 calculations 共用的计数器注册层;新增 `\tikzcirclednumber`,并弃用有歧义的直接调用 `\circlednumber*{...}`(Gitee #IDPOT4) - 文档明确 `\varnothing` 固定使用 Asana Math 字形的范围,并澄清该单符号覆盖不等同于完整支持 `mtpro2`(Gitee #ID83OW) - `calculations/align=t|m|b` 现在同时控制同行项目的首行基线、居中和末行基线对齐 - 文档化通过 `\ExamPrintAnswerSet` 为教师版覆盖标题、科目并隐藏 `\warning`、`notice` 的稳定写法(Gitee #I670KF) ### Fixed - 完善 GitHub/Gitee 双平台发布流程:Gitee Release 支持幂等更新与附件替换,完整构建脚本同步更新 `build.lua`、类、宏包和手册版本元数据 - 修复题目列表参数被辅助分组提前还原,导致题目后出现额外行间距及缩进异常的问题(Gitee #IK0A55) - 修复多份试卷使用 `solution/show-solution=show-move` 时,章节题号重置导致前面试卷答案文件被覆盖的问题(Gitee #IJR78Q) - 修复 `question` 和 `problem` 捕获环境正文,导致其中不能使用 `verbatim`、`\verb` 等代码内容的问题(Gitee #I8QVL9) - 修复填空宽度恰好等于 `\linewidth` 时未进入可换行分支,仍可能超出版心的问题(Gitee #IAXE1N) - 修复 `question`/`problem` 中 `\textfigure` 的首行基线随行内内容高度漂移的问题(Gitee #ICEH9X) - 修复 `problem` 没有题干、直接以 `enumerate` 开头时首个小问额外缩进的问题(Gitee #ID9469) - 修复 `\vec{\beta}` 等单控制序列被按命令名称字符数判断,错误使用箭头样式的问题(Gitee #IDDOCK) - 为独立加载的 `exam-zh-choices` 注册 `tikzcirclednumber` 计数器,并抽取共享的 TikZ 带圈数字实现(Gitee #IDPPJR) - 修正文档中 `fillin/width-type` 的默认值标记,使其与源码的 `normal` 一致(Gitee #ID6INO) - 修复 `calculations` 同行项目公式高度不同时基线不一致的问题(Gitee #IHXNX9) - 修复 `calculations` 在 `question` 与 `problem` 首段中的位置受宿主 `itemindent` 影响而不一致的问题(Gitee #IHQMPM)
This package is located at https://mirrors.ctan.org/macros/xetex/latex/exam-zh More information is at https://ctan.org/pkg/exam-zh
Thanks for the upload. For the CTAN Team Manfred Lotz CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs .
### Added - 为 `textfigure` 增加可选的 `auto-text-width` 图片实宽测量,并提供 `min-text-width` 与 `column-gap` 控制,避免宽图把正文压成窄列(Gitee #I7QT33) - 为 `choices` 增加 `\item*` 正确选项标记以及 `show-answer`、`answer-color` 显示控制;默认隐藏标记,启用后同时着色正确选项标签和内容(Gitee #I5ROOL) - 为 `problem` 新增 `hang` 键,并为 `choices` 新增 `item-linesep`、`left-indent`、`right-indent` 与 `margin` 键(Gitee #I6HQ2S、#ID7HWH、#I67JXY) - 为 `paren/type` 新增 `dotfill` 点线填充模式(Gitee #I63X3T) - 为 `multifigures` 新增 `column-gap` 图片列间距键,并文档化底层 `tblr` 的 `colspec` 参数透传方式(Gitee #ID823C) - 为 `page` 新增 `custom` 纸张尺寸以及 `paper-width`、`paper-height`、`margin`、`headheight` 键,可配置任意单页纸张(含 16K)(Gitee #IDBLDN、#ID7G2T) ### Changed - `\fillin` 在显示长答案时会按自然宽度自动切换到可换行排版,`\fillin*` 继续作为强制换行兼容写法;多行答案会根据内容深度自动调整下划线,避免高公式压线(Gitee #ID6D6C) - 解答题内第二层小题默认改用小写罗马数字编号,第三层改用小写字母编号,以匹配 2026 年高考试卷层级样式(Gitee #IK0BLV) - 抽取 question、fillin、choices 与 calculations 共用的计数器注册层;新增 `\tikzcirclednumber`,并弃用有歧义的直接调用 `\circlednumber*{...}`(Gitee #IDPOT4) - 文档明确 `\varnothing` 固定使用 Asana Math 字形的范围,并澄清该单符号覆盖不等同于完整支持 `mtpro2`(Gitee #ID83OW) - `calculations/align=t|m|b` 现在同时控制同行项目的首行基线、居中和末行基线对齐 - 文档化通过 `\ExamPrintAnswerSet` 为教师版覆盖标题、科目并隐藏 `\warning`、`notice` 的稳定写法(Gitee #I670KF) ### Fixed - 完善 GitHub/Gitee 双平台发布流程:Gitee Release 支持幂等更新与附件替换,完整构建脚本同步更新 `build.lua`、类、宏包和手册版本元数据 - 修复题目列表参数被辅助分组提前还原,导致题目后出现额外行间距及缩进异常的问题(Gitee #IK0A55) - 修复多份试卷使用 `solution/show-solution=show-move` 时,章节题号重置导致前面试卷答案文件被覆盖的问题(Gitee #IJR78Q) - 修复 `question` 和 `problem` 捕获环境正文,导致其中不能使用 `verbatim`、`\verb` 等代码内容的问题(Gitee #I8QVL9) - 修复填空宽度恰好等于 `\linewidth` 时未进入可换行分支,仍可能超出版心的问题(Gitee #IAXE1N) - 修复 `question`/`problem` 中 `\textfigure` 的首行基线随行内内容高度漂移的问题(Gitee #ICEH9X) - 修复 `problem` 没有题干、直接以 `enumerate` 开头时首个小问额外缩进的问题(Gitee #ID9469) - 修复 `\vec{\beta}` 等单控制序列被按命令名称字符数判断,错误使用箭头样式的问题(Gitee #IDDOCK) - 为独立加载的 `exam-zh-choices` 注册 `tikzcirclednumber` 计数器,并抽取共享的 TikZ 带圈数字实现(Gitee #IDPPJR) - 修正文档中 `fillin/width-type` 的默认值标记,使其与源码的 `normal` 一致(Gitee #ID6INO) - 修复 `calculations` 同行项目公式高度不同时基线不一致的问题(Gitee #IHXNX9) - 修复 `calculations` 在 `question` 与 `problem` 首段中的位置受宿主 `itemindent` 影响而不一致的问题(Gitee #IHQMPM)
This package is located at https://mirrors.ctan.org/macros/xetex/latex/exam-zh More information is at https://ctan.org/pkg/exam-zh
Thanks for the upload. For the CTAN Team Manfred Lotz CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs .
exam-zh – LaTeX template for Chinese exams
Although there are already several excellent exam packages or classes like exam and bhcexam, these do not fit the Chinese style very well, or they cannot be customized easily for Chinese exams of all types, like exams in primary school, junior high school, senior high school and even college. This is the main reason why this package was created.
This package provides a class exam-zh.cls and several module packages like exam-zh-question.sty and exam-zh-choices.sty, where these module packages can be used individually.
Using exam-zh you can
- separate the format and the content very well;
- use the choices environment to typeset choice items easily and automatically;
- design the seal line easily;
- and more (see manual).
| Paket | exam-zh |
| Version | 0.3.0 2026-07-12 |
| Betreuer | Lijun Guo Kangwei Xia |