texlive[72588] Master: bhcexam (18oct24)
commits+karl at tug.org
commits+karl at tug.org
Fri Oct 18 23:21:08 CEST 2024
Revision: 72588
https://tug.org/svn/texlive?view=revision&revision=72588
Author: karl
Date: 2024-10-18 23:21:07 +0200 (Fri, 18 Oct 2024)
Log Message:
-----------
bhcexam (18oct24)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/xelatex/bhcexam/README-zh.md
trunk/Master/texmf-dist/doc/xelatex/bhcexam/README.md
trunk/Master/texmf-dist/doc/xelatex/bhcexam/examples/example_student_paper.pdf
trunk/Master/texmf-dist/doc/xelatex/bhcexam/examples/example_student_paper.tex
trunk/Master/texmf-dist/doc/xelatex/bhcexam/examples/example_teacher_paper.pdf
trunk/Master/texmf-dist/doc/xelatex/bhcexam/examples/example_teacher_paper.tex
trunk/Master/texmf-dist/tex/xelatex/bhcexam/BHCexam.cls
trunk/Master/tlpkg/libexec/ctan2tds
Removed Paths:
-------------
trunk/Master/texmf-dist/doc/xelatex/bhcexam/examples/naive.pdf
trunk/Master/texmf-dist/doc/xelatex/bhcexam/examples/naive.tex
trunk/Master/texmf-dist/doc/xelatex/bhcexam/examples/qrcode.png
Modified: trunk/Master/texmf-dist/doc/xelatex/bhcexam/README-zh.md
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/bhcexam/README-zh.md 2024-10-18 21:20:09 UTC (rev 72587)
+++ trunk/Master/texmf-dist/doc/xelatex/bhcexam/README-zh.md 2024-10-18 21:21:07 UTC (rev 72588)
@@ -2,20 +2,41 @@
[English](./README.md)
-BHCexam 是一款为中国数学老师设计的试卷排版文档类,目前已被 [橘子数学开源题库社区](https://www.mathcrowd.cn) 选用为默认文档类导出试卷pdf文件.
+BHCexam.cls 提供了一个用于排版试卷LaTeX文档类.
+[橘子数学题库](https://database.mathcrowd.cn) 正在使用此文档来导出试卷PDF文件. 该文档类可以实现:
-你可以使用该文档类实现:
+- 支持设置是否显示解答
-* 将内容与样式分离
-* 使用一个参数生成教师版和学生版试卷;
-* 排版3-6个选项的选择题,可根据选项的长度自适应对齐;
-* 排版填空题,可根据答案的长度自适应设置横线长度;
-* 排版简答题,并以列表形式展示小问,并控制是否展示小问、缩进;
-* 对试题分组,对组内试题以列表呈现,并控制是否展示分值、留空、是否重新开始编号;
-* 更多 (见 [BHCexam 文档](http://docs.mathcrowd.cn/advances/bhcexam.html) )
+- 支持设置是否是否分栏
+- 支持设置对齐方式
+
+- 支持选项长度自动对齐到网格
+
+- 支持根据填空题答案长度预留横线宽度
+
+- 支持设置踢题组是否显示分值
+
+- 支持设置预留答题空间
+
+- 支持设置题组是否重新开始编号
+
+- 支持简答题中的小问及小问的小问
+
+[官方网站](https://lab.mathcrowd.cn/bhcexam)
+
+[文档](https://lab.mathcrowd.cn/bhcexam/docs)
+
+[提交建议/报告问题](https://github.com/mathedu4all/bhcexam/issues)
+
+
## 版本历史
+* **version 1.8** (2024.10)
+ * 将 `fontset` 和 `zihao` 选项直接传递给 `ctex`
+ * 支持 `\subquestion` 添加分值
+ * 重新整理了文档及宏包的注释
+ * 针对国标对部分命令(`\parallel`, `\Re`, `\Im`)进行了重新定义.
* **version 1.7** (2022.8)
* 针对TeXLive 2022, 修正`ctex`的字号、字体设置.
* **version 1.6** (2021.8)
Modified: trunk/Master/texmf-dist/doc/xelatex/bhcexam/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/bhcexam/README.md 2024-10-18 21:20:09 UTC (rev 72587)
+++ trunk/Master/texmf-dist/doc/xelatex/bhcexam/README.md 2024-10-18 21:21:07 UTC (rev 72588)
@@ -1,28 +1,62 @@
# BHCexam
-[中文版](./README-zh.md)
+[中文文档](./README-zh.md)
-BHCexam is an exam class designed for mathematics teacher in China.
+The `BHCexam.cls` is a LaTeX document class designed for typesetting exams. It is currently used by the [Mathcrowd Problem Database](https://database.mathcrowd.cn) to generate exam PDF files. The class supports the following features:
-Now it is used by [mathcrowd.cn](www.mathcrowd.cn) ( an opensource math exam database) as the default class to export exam papers in pdf.
+- Support for configuring whether to display answers.
+- Ability to set whether the document is formatted in multiple columns.
+- Alignment customization options.
+- Automatic alignment of option lengths to a grid.
+- Ability to adjust the width of blank lines based on the length of fill-in-the-blank answers.
+- Option to display or hide scores for question groups.
+- Customizable answer space for each question.
+- Ability to restart numbering in question groups.
+- Support for sub-questions and nested sub-questions in short-answer questions.
-Using bhcexam you can
+[Official Site (Chinese)](https://lab.mathcrowd.cn/bhcexam)
-* separate the format and the content very well;
-* export both teacher paper and student paper;
-* typeset multiple choice questions with 3-6 options keeping adaptively neat alignment;
-* typeset cloze questions with an adaptively underline;
-* typeset questions with subquestions in list;
-* group questions in list to control whether to show score, leave spacing, initialize question number;
-* and more (see [BHCexam Documentation](http://docs.mathcrowd.cn/advances/bhcexam.html)).
+[Documentation(Chinese)](https://lab.mathcrowd.cn/bhcexam/docs)
-## Authors and Contributors
+[Issues](https://github.com/mathedu4all/bhcexam/issues)
-* Bao Hongchang <charles at mathcrowd.cn>
-* CamuseCao <camusecao at gmail.com>
+## Version History
+
+* **version 1.8** (October 2024)
+ * Added `fontset` and `zihao` options to directly pass to `ctex`.
+ * Support for adding scores to `\subquestion`.
+ * Reorganized document and package comments.
+ * Redefined some commands (`\parallel`, `\Re`, `\Im`) to align with national standards.
+* **version 1.7** (August 2022)
+ * Adjusted `ctex` font and size settings for TeXLive 2022.
+* **version 1.6** (August 2021)
+ * Discontinued use of the `stix` math fonts.
+ * Set `punct = kaiming` in `ctex`.
+* **version 1.5** (June 2020)
+ * Added the `r` option to the `questions` environment to reset numbering within question groups.
+ * Cleaned up historical versions in the `master` branch.
+ * Added the `fandol` package option to support the `fandol` font family.
+* **version 1.4** (May 2020)
+ * Support for nested `subquestion` environments.
+ * Redefined the `\parallel` command.
+* **version 1.3** (March 2020)
+ * Added `\sixchoices` and `\threechoices` commands to support 3 and 6-option multiple-choice questions with smart line-breaking and option alignment.
+* **version 1.2** (March 2020)
+ * Support for Apple fonts.
+ * Implemented `stix` math fonts.
+ * Added support for right-aligned parentheses in multiple-choice questions.
+* **version 1.1** (January 2020)
+ * Added support for A3 dual-column layout.
+ * Introduced list-style question formatting.
+* **version 1.0** (May 2019)
+ * Switched from using the `exam` class to the `article` class as the base class.
+
+## Contributors
+
+* Bao Hongchang - @mathedu4all, charles at mathcrowd.cn
+* CamuseCao - @CamuseCao, camusecao at gmail.com
+
------
-This work may be distributed and/or modified under the conditions of
-the LaTeX Project Public License, either version 1.3 of this license
-or (at your option) any later version.
+This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 of this license or (at your option) any later version.
Modified: trunk/Master/texmf-dist/doc/xelatex/bhcexam/examples/example_student_paper.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/xelatex/bhcexam/examples/example_student_paper.tex
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/bhcexam/examples/example_student_paper.tex 2024-10-18 21:20:09 UTC (rev 72587)
+++ trunk/Master/texmf-dist/doc/xelatex/bhcexam/examples/example_student_paper.tex 2024-10-18 21:21:07 UTC (rev 72588)
@@ -1,7 +1,6 @@
-\documentclass[list, windows]{BHCexam}
+\documentclass[list]{BHCexam}
\pagestyle{fancy}
\fancyfoot[C]{\kaishu \small 第 \thepage 页 共 \pageref{lastpage} 页}
-\fancyhead[L]{\includegraphics[width=2cm]{qrcode.png}}
\fancyhead[R]{\raisebox{0.5\height}{\includegraphics[height=1cm]{logo.png}}}
\begin{document}
\title{上海某高中 2017-2018 学年度第一学期}
Modified: trunk/Master/texmf-dist/doc/xelatex/bhcexam/examples/example_teacher_paper.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/xelatex/bhcexam/examples/example_teacher_paper.tex
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/bhcexam/examples/example_teacher_paper.tex 2024-10-18 21:20:09 UTC (rev 72587)
+++ trunk/Master/texmf-dist/doc/xelatex/bhcexam/examples/example_teacher_paper.tex 2024-10-18 21:21:07 UTC (rev 72588)
@@ -1,7 +1,6 @@
-\documentclass[list, windows, answers]{BHCexam}
+\documentclass[list, answers]{BHCexam}
\pagestyle{fancy}
\fancyfoot[C]{\kaishu \small 第 \thepage 页 共 \pageref{lastpage} 页}
-\fancyhead[L]{\includegraphics[width=2cm]{qrcode.png}}
\fancyhead[R]{\raisebox{0.5\height}{\includegraphics[height=1cm]{logo.png}}}
\begin{document}
\title{上海某高中 2017-2018 学年度第一学期}
Deleted: trunk/Master/texmf-dist/doc/xelatex/bhcexam/examples/naive.pdf
===================================================================
(Binary files differ)
Deleted: trunk/Master/texmf-dist/doc/xelatex/bhcexam/examples/naive.tex
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/bhcexam/examples/naive.tex 2024-10-18 21:20:09 UTC (rev 72587)
+++ trunk/Master/texmf-dist/doc/xelatex/bhcexam/examples/naive.tex 2024-10-18 21:21:07 UTC (rev 72588)
@@ -1,86 +0,0 @@
-% 使用 BHCexam 文档类,并传递选项
-\documentclass[answers]{BHCexam}
-\usepackage{hyperref}
-
-\begin{document}
-
-% 第一行主标题
-\title{BHCexam试卷排版宏包}
-
-% 第二行主标题
-\subtitle{样例}
-
-% 考试说明
-\notice{满分100分, 10分钟完成.}
-
-% 命题人信息
-\author{微信关注公众号:橘子数学}
-
-% 考试日期
-\date{2019.12.1}
-
-% 生成试卷头
-\maketitle
-
-\begin{groups}
-
-% 第一个题组,显示分值,不预留空间
-\group{填空}{本题组共1小题,共30.0分}
-\begin{questions}[s]
-
-% 填空题,两个空
-\question[30] 橘子数学的网址是\key{www.mathcrowd.cn}, 微信服务号\key{橘子数学}.
-\question[30] 橘子数学趣味挑战的网址是\key{qa.mathcrowd.cn},微信订阅号是\key{试题工坊}, \key{橘子数学题库}.
-
-\end{questions}
-
-% 第二个题组,显示分值,不预留空间
-\group{选择}{本题组共2小题,共40.0分}
-\begin{questions}[ps]
-
-% 选择题,四个选项
-\question[30] 以下哪一项不是橘子数学社区的宗旨\key{C}.
-\fourchoices{开放}{高效}{无视版权}{合作}
-
-% 解答,4cm 参数被忽略
-\begin{solution}{4cm}
-\method 橘子数学社区的宗旨是开放、高效、合作、变革.
-\method 见 \url{http://docs.mathcrowd.cn/zh_CN/latest/community/principles.html}
-\end{solution}
-
-% 选择题,五个选项
-\question[40] 以下数学公式显示有明显瑕疵的是\key{D}.
-\fivechoices{$\sin A$}{$2+3\mathrm{i}$}{$x^2$}{$\ln x$}{$\mathrm{e}^{\mathrm{i}\theta}$}
-
-\begin{solution}{4cm}
-\methodonly D 中正确的公式显示效果为$\ln{x}$.
-\end{solution}
-\end{questions}
-
-% 第三个题组,显示分值,预留空间
-\group{主观题}{本题组共1小题,共30.0分}
-\begin{questions}[st]
-% 简答题,两个小问
-\question[30] 请回答以下问题:
-\begin{subquestions}
- \subquestion 你觉得有必要创建这样一个试题社区吗? 为什么?
- \subquestion 你对社区的建设有什么建议.
-\end{subquestions}
-
-% 解答,学生版会预留8cm的答题空间.
-\begin{solution}{4cm}
- \methodonly 欢迎加入用户群组发言讨论.
-
-telegram 交流群组: https://t.me/mathcrowd
-
-QQ 群: 319701002
-
-Github项目页: \url{https://github.com/mathedu4all/bhcexam}
-
-\score{30}{30}
-
-\end{solution}
-\end{questions}
-
-\end{groups}
-\end{document}
Deleted: trunk/Master/texmf-dist/doc/xelatex/bhcexam/examples/qrcode.png
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/tex/xelatex/bhcexam/BHCexam.cls
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bhcexam/BHCexam.cls 2024-10-18 21:20:09 UTC (rev 72587)
+++ trunk/Master/texmf-dist/tex/xelatex/bhcexam/BHCexam.cls 2024-10-18 21:21:07 UTC (rev 72588)
@@ -1,69 +1,22 @@
% BHCexam.cls
-%
-% An exam class designed for mathematics teacher in China.
-% Since 2016, it was used by mathcrowd.cn ( an opensource math exam database) as the default class to export exam papers.
-%
+% Version: 1.8
+% Date: 2024/10/15
+% Author: BAO HONG CHANG
+% Description: An exam class orignally designed for mathematics teachers in China.
+% Used by Mathcrowd.cn since 2016 as the default class to export exam papers from database.
+% License: LaTeX Project Public License (LPPL), version 1.3 or later.
+% Documentation: https://lab.mathcrowd.cn/bhcexam/docs
+% Support: https://github.com/mathedu4all/bhcexam/issues
-%% BHCexam.cls
-%% Copyright (c) 2011-2022 BAO HONG CHANG
-%
-% This work may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% http://www.latex-project.org/lppl.txt
-% and version 1.3 or later is part of all distributions of LaTeX
-% version 2003/12/01 or later.
-%
-% This work has the LPPL maintenance status "author-maintained".
-%
-% This work consists of the files BHCexam.cls.
-% Documation on https://docs.mathcrowd.cn/advances/bhcexam.html
-% Support on https://github.com/mathedu4all/bhcexam/issues
-%
-%%% BAO HONG CHANG
-%%% Mathcrowd Inc.
-%%% Shanghai
-%%% charles at mathcrowd.cn
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{BHCexam}[2024/10/15 Version 1.8 by BAO HONG CHANG]
-% The newest version of this documentclass should always be available
-% from my web page: https://github.com/mathedu4all/bhcexam
-
-\def\fileversion{1.7}
-\def\filedate{2022/07/29}
-
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{BHCexam}[\filedate\space Version \fileversion\space by
- BAO HONG CHANG]
- % *****************
- % ** 宏包选项 **
- % *****************
-
-
- % 文档类支持以下宏包选项:
-
- % answers 显示解析
- % adobe 使用adobe字体
- % ubuntu 使用ubuntu字体
- % windows 使用windows字体
- % fandol 使用fandol字体,随texlive默认安装
- % mac 使用mac字体
- % list 以列表项目格式显示试题
- % twocolumn 使用A3纸张并分栏
-
-
+% Options
\newif\if at printanswers \@printanswersfalse
\DeclareOption{answers}{\@printanswerstrue}
-\newcommand\@fontset{windows}
-\DeclareOption{adobe}{\renewcommand\@fontset{adobe}}
-\DeclareOption{ubuntu}{\renewcommand\@fontset{ubuntu}}
-\DeclareOption{mac}{\renewcommand\@fontset{mac}}
-\DeclareOption{windows}{\renewcommand\@fontset{windows}}
-\DeclareOption{fandol}{\renewcommand\@fontset{fandol}}
-
\newif\if at twocolumn \@twocolumnfalse
\DeclareOption{twocolumn}{\@twocolumntrue}
@@ -70,78 +23,55 @@
\newif\if at list \@listfalse
\DeclareOption{list}{\@listtrue}
+% Fontset, zihao, linestretch options
+\def\@fontset{none}
+\def\@zihao{5}
+\def\@linestretch{4}
+\newif\if at fontsetspecified \@fontsetspecifiedfalse
+\DeclareOption{fontset}{\renewcommand{\@fontset}{#1}\@fontsetspecifiedtrue}
+\DeclareOption{zihao}{\renewcommand{\@zihao}{#1}}
+\DeclareOption{linestretch}{\renewcommand{\@linestretch}{#1}}
+
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
\ProcessOptions\relax
+
+% Load required packages
\LoadClass{article}
-\RequirePackage[fontset = \@fontset, punct=kaiming]{ctex}
-\ctexset{linestretch = 4, autoindent = 0pt}
+% Conditional loading of ctex with fontset option
+\if at fontsetspecified
+ \RequirePackage[fontset = \@fontset, punct=kaiming, zihao = \@zihao]{ctex}
+\else
+ \RequirePackage[punct=kaiming, zihao = \@zihao]{ctex}
+\fi
+\ctexset{linestretch = \@linestretch, autoindent = 0pt}
+\RequirePackage{tabularx, ifthen, xcolor, graphicx, caption}
+\RequirePackage{geometry, fancyhdr, etoolbox, amsmath, amssymb, unicode-math, pifont, bbding, romannum, enumitem}
-% *****************************
-% ** 加载其他宏包 **
-% *****************************
-
-\RequirePackage{tabularx, ifthen} % 排选项用
-\RequirePackage{xcolor,graphicx,caption} % 彩色、图片、图释
-\RequirePackage{geometry,fancyhdr} % 纸张、边距、页眉、页脚
-\RequirePackage{etoolbox}
-\RequirePackage{amsmath,amsmath,amssymb} % ams数学相关
-\RequirePackage{unicode-math}
-\RequirePackage{pifont} % 带圈数字\ding
-\RequirePackage{bbding} % 图案
-\RequirePackage{romannum} % 罗马数字
-\RequirePackage{enumitem}
-
-
-
-% *****************
-% ** 页面设置 **
-% *****************
-
-
+% Page setup
\AtBeginDocument{
- \pagenumbering{arabic} % 使用阿拉伯数字页码
- \renewcommand{\parallel}{\mathrel{\mathpalette\new at parallel\relax}} % 重定义平行符号
- \newcommand{\new at parallel}[2]{%
- \begingroup
- \sbox\z@{高度}% get the height of an uppercase letter
- \resizebox{!}{\ht\z@}{\raisebox{\depth}{$\m at th#1/\mkern-10mu/$}}%
- \endgroup
- }
+ \pagenumbering{arabic}
}
-
-%
-% 双栏显示
-%
+% Two-column layout
\if at twocolumn
-\geometry{a3paper,landscape, twocolumn,columnsep=40mm,left=50mm,right=30mm,top=35mm,bottom=25mm,headheight=20mm}
+ \geometry{a3paper,landscape, twocolumn,columnsep=40mm,left=50mm,right=30mm,top=35mm,bottom=25mm,headheight=20mm}
\else
-\geometry{a4paper,left=30mm,right=30mm,top=35mm,bottom=25mm, headheight=20mm}
+ \geometry{a4paper,left=30mm,right=30mm,top=35mm,bottom=25mm, headheight=20mm}
\fi
-%
-% 图释
-%
+% Figure caption setup
\captionsetup[figure]{font=small,belowskip=0pt}
-
-% *****************
-% ** 试卷头 **
-% *****************
-
-
-
+% Title page setup
\gdef\@subtitle{}
\gdef\@notice{}
\gdef\@author{}
\gdef\@date{}
-
-
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\title}[1]{\gdef\@title{#1}}
\newcommand{\subtitle}[1]{\gdef\@subtitle{#1}}
@@ -188,13 +118,11 @@
\songti \normalsize
\endgroup}
+% Set default array and baseline stretch
\renewcommand\arraystretch{1.5}
\renewcommand{\baselinestretch}{1.5}
-% ***************************
-% ** 试题、解答环境定义 **
-% ***************************
-
+% Define counters and flags
\newcounter{Group}
\newcounter{Question}
\newcounter{Example}
@@ -201,18 +129,26 @@
\newcounter{Exercise}
\newcounter{Method}[Question]
-\newif\if at showscore
-\@showscorefalse
-\newif\if at showskip
-\@showskipfalse
-\newif\if at showparen
-\@showparenfalse
-\newif\if at resetcounter
-\@resetcounterfalse
+\newif\if at showscore \@showscorefalse
+\newif\if at showskip \@showskipfalse
+\newif\if at showparen \@showparenfalse
+\newif\if at resetcounter \@resetcounterfalse
\newlength{\myvertspace}
+% Custom math commands
+\newcommand\abs[1]{\left|#1\right|}
+\newcommand{\gt}{>}
+\newcommand{\lt}{<}
+\renewcommand{\geq}{\geqslant}
+\renewcommand{\ge}{\geqslant}
+\renewcommand{\leq}{\leqslant}
+\renewcommand{\le}{\leqslant}
+\renewenvironment{split}{\begin{aligned}}{\end{aligned}}
+\renewcommand\parallel{\mathrel{/\mskip-2.5mu/}}
+\renewcommand{\Re}{\operatorname{Re}}
+\renewcommand{\Im}{\operatorname{Im}}
-% 定义题组环境
+% Define environments (groups, questions, solution)
\newenvironment{groups}{
\if at list
\list{\heiti\chinese{Group}.}{\usecounter{Group}}
@@ -227,7 +163,7 @@
\fi
}
-% 定义新增题组命令
+% Define commands (group, question, example, exercise, subquestion)
\newcommand{\group}[2]{
\if at list
\item \heiti{#1} \quad \kaishu \small #2 \songti \normalsize \par
@@ -238,7 +174,6 @@
}
-% 定义试题环境
\newenvironment{questions}[1][]{
\@tfor \@opt :=#1\do
{\if\@opt s\global\@showscoretrue\fi
@@ -265,7 +200,6 @@
\global\@showparenfalse
}
-% 定义新增试题命令
\newcommand{\question}[1][0]{
\stepcounter{Question}
\if at list
@@ -278,7 +212,6 @@
\fi
}
-% 定义新增例题命令
\newcommand{\example}[1][0]{
\stepcounter{Example}
\if at list
@@ -291,7 +224,6 @@
\fi
}
-% 定义新增习题命令
\newcommand{\exercise}[1][0]{
\stepcounter{Exercise}
\if at list
@@ -304,14 +236,16 @@
\fi
}
-% 定义小问环境
\newlist{subquestions}{enumerate}{2}
\setlist[subquestions,1]{label=(\arabic*)}
\setlist[subquestions,2]{label=(\roman*)}
+\newcommand{\subquestion}[1][0]{
+ \item \if at showscore \kaishu ( #1 分) \songti \fi
+}
-% 定义新增小问命令
-\newcommand{\subquestion}{\item}
+% Define hint, method, and methodonly commands
+
\newenvironment{solution}[1]{
\setlength{\myvertspace}{#1}
\par \if at printanswers \par \color{red} \begingroup \else \if at showskip \vspace*{\myvertspace} \fi \setbox\z@\vbox\bgroup\fi \songti
@@ -337,6 +271,8 @@
\dotfill 本步骤 #1 分, 累计 #2 分
\par}
+% Define multiple-choice commands
+
\makeatletter
\newcommand{\build}[2]{\leavevmode
\count@=\z@ \toks@={}%
@@ -346,7 +282,6 @@
\repeat
\the\toks@}
\makeatletter
-
\newlength{\keylength}
\newcommand{\key}[1]{
\if at printanswers
@@ -363,7 +298,6 @@
\newlength{\choicelengthe}
\newlength{\maxlength}
-% 三个选项
\newcommand{\threechoices}[3]{
\if at showparen \dotfill (\qquad) \fi
\par
@@ -401,7 +335,6 @@
\unskip \unskip
}
-% 四个选项
\newcommand{\fourchoices}[4]{
\if at showparen \dotfill (\qquad) \fi
\par
@@ -441,7 +374,6 @@
\unskip \unskip
}
-% 五个选项
\newcommand{\fivechoices}[5]{
\if at showparen \hfill \dotfill (\quad) \fi
\par
@@ -485,7 +417,6 @@
\unskip \unskip
}
-% 六个选项
\newcommand{\sixchoices}[6]{
\if at showparen \hfill \dotfill (\quad) \fi
\par
@@ -532,19 +463,4 @@
}
-% ***************************
-% ** CUSTOMIZED COMMAND **
-% ***************************
-
-\newcommand\abs[1]{\left|#1\right|}
-\newcommand{\gt}{>}
-\newcommand{\lt}{<}
-\renewcommand{\geq}{\geqslant}
-\renewcommand{\ge}{\geqslant}
-\renewcommand{\leq}{\leqslant}
-\renewcommand{\le}{\leqslant}
-\renewenvironment{split}{\begin{aligned}}{\end{aligned}}
-
-
-
-\endinput
+\endinput
\ No newline at end of file
Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds 2024-10-18 21:20:09 UTC (rev 72587)
+++ trunk/Master/tlpkg/libexec/ctan2tds 2024-10-18 21:21:07 UTC (rev 72588)
@@ -1714,6 +1714,7 @@
'autosp' => '&POSTautosp',
'barracuda' => '&POSTbarracuda',
'beautybook' => '&POSTbeautybook',
+ 'bhcexam' => '&POST_rmsymlink',
'bib2gls' => '&POSTbib2gls',
'biber' => '&POSTbiber',
'biber-ms' => '&POSTbiber',
More information about the tex-live-commits
mailing list.