summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2025-02-19 20:39:42 +0000
committerKarl Berry <karl@freefriends.org>2025-02-19 20:39:42 +0000
commitc22671d788836739ac48bbb0f9b2e693ca1a016f (patch)
tree4301763be3ff7678c66d79e5984d0a3dd6d177ad /Master
parenta93fcd2fe9479c0da3bf6a1036caa8db13e15cd3 (diff)
exam-zh (19feb25)
git-svn-id: svn://tug.org/texlive/trunk@74141 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/xelatex/exam-zh/CHANGELOG.md33
-rw-r--r--Master/texmf-dist/doc/xelatex/exam-zh/README.md9
-rw-r--r--Master/texmf-dist/doc/xelatex/exam-zh/doc/back/ask-questions.tex186
-rw-r--r--Master/texmf-dist/doc/xelatex/exam-zh/doc/body/introduction.tex4
-rw-r--r--Master/texmf-dist/doc/xelatex/exam-zh/doc/body/usage.tex32
-rw-r--r--Master/texmf-dist/doc/xelatex/exam-zh/doc/exam-zh-doc.pdfbin1605910 -> 1689650 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/exam-zh/doc/exam-zh-doc.tex9
-rw-r--r--Master/texmf-dist/doc/xelatex/exam-zh/examples/example-multiple.pdfbin160281 -> 158587 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/exam-zh/examples/example-multiple.tex160
-rw-r--r--Master/texmf-dist/doc/xelatex/exam-zh/examples/example-single.pdfbin148112 -> 137487 bytes
-rw-r--r--Master/texmf-dist/doc/xelatex/exam-zh/examples/example-single.tex51
-rw-r--r--Master/texmf-dist/tex/latex/exam-zh/exam-zh-chinese-english.sty2
-rw-r--r--Master/texmf-dist/tex/latex/exam-zh/exam-zh-choices.sty2
-rw-r--r--Master/texmf-dist/tex/latex/exam-zh/exam-zh-font.sty7
-rw-r--r--Master/texmf-dist/tex/latex/exam-zh/exam-zh-math.sty2
-rw-r--r--Master/texmf-dist/tex/latex/exam-zh/exam-zh-question.sty16
-rw-r--r--Master/texmf-dist/tex/latex/exam-zh/exam-zh-symbols.sty10
-rw-r--r--Master/texmf-dist/tex/latex/exam-zh/exam-zh-textfigure.sty59
-rw-r--r--Master/texmf-dist/tex/latex/exam-zh/exam-zh.cls5
19 files changed, 437 insertions, 150 deletions
diff --git a/Master/texmf-dist/doc/xelatex/exam-zh/CHANGELOG.md b/Master/texmf-dist/doc/xelatex/exam-zh/CHANGELOG.md
index 9bc3a3c0d6b..9dcda13e1ac 100644
--- a/Master/texmf-dist/doc/xelatex/exam-zh/CHANGELOG.md
+++ b/Master/texmf-dist/doc/xelatex/exam-zh/CHANGELOG.md
@@ -6,6 +6,39 @@
并且此项目遵守 [Semantic Versioning](https://semver.org/spec/v2.0.0.html)。
+## [0.2.5] - 2024-04-28
+
+### Changed
+
+- 修改 `\frac` 的定义
+
+
+
+## [0.2.4] - 2024-03-31
+
+### Changed
+
+- 修改 `example-single.tex` 和 `example-multiple.tex` 的细节(感谢 @gannaiju )
+
+
+
+
+## [0.2.3] - 2024-03-23
+
+### Added
+
+- 增加 `solution` 的 `label-indentation` 键值
+- 增加手册的 “如何提问” 节
+
+
+
+## [0.2.2] - 2024-02-22
+
+### Added
+
+- 增加 `solution` 的键值 `pre-analysis`
+
+
## [0.2.1] - 2024-02-15
### Fixed
diff --git a/Master/texmf-dist/doc/xelatex/exam-zh/README.md b/Master/texmf-dist/doc/xelatex/exam-zh/README.md
index 9fdc5f820cc..20c81b6dc94 100644
--- a/Master/texmf-dist/doc/xelatex/exam-zh/README.md
+++ b/Master/texmf-dist/doc/xelatex/exam-zh/README.md
@@ -1,3 +1,12 @@
+> [!WARNING]
+> `exam-zh` 作为开源项目开发至今,基础功能算是完善了,且没有严重的 bug,而开发者精力有限,决定于 2024 年 04 月 26 日 开始无限期停止维护 `exam-zh`。未来可能会继续维护,但不保证时间,但也可能不再维护了。
+>
+> Gitee 的项目仓库不会关闭,也欢迎有能力的开发者继续维护。
+> Gitee:https://gitee.com/xkwxdyy/exam-zh
+>
+> 感谢使用过此模板的用户的支持。
+
+
# exam-zh: LaTeX template for Chinese exam
Provides a class exam-zh.cls and its several module packages like exam-zh-question.sty and exam-zh-choices.sty, where these module packages can be used individually.
diff --git a/Master/texmf-dist/doc/xelatex/exam-zh/doc/back/ask-questions.tex b/Master/texmf-dist/doc/xelatex/exam-zh/doc/back/ask-questions.tex
new file mode 100644
index 00000000000..5c526ed2767
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/exam-zh/doc/back/ask-questions.tex
@@ -0,0 +1,186 @@
+% !TeX root = ../exam-zh-doc.tex
+
+\section{提问的智慧}
+
+在使用 \LaTeX{} 的过程中,难免会遇到各种各样的问题,那么如何解决这些问题?很关键的一点是学会提问。以下内容选自 \href{https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md}{《提问的智慧》(简体中文版)}(也非常推荐用户阅读全文,此文不仅仅只对 \LaTeX{} 的使用有帮助,“提问的智慧”可用于方方面面)并结合 \LaTeX{} 做了相应的调整。
+
+
+\subsection{为什么要学会提问}
+
+在黑客的世界里,当您拋出一个技术问题时,最终是否能得到有用的回答,往往取决于您所提问和追问的方式。
+
+现在开源(Open Source)软件已经相当盛行,您通常可以从其他更有经验的用户那里获得与黑客一样好的答案,这是件好事;和黑客相比,用户们往往对那些新手常遇到的问题更宽容一些。尽管如此,以我们在此推荐的方式对待这些有经验的用户通常也是从他们那里获得有用答案的最有效方式。
+
+首先您应该明白,黑客们喜爱有挑战性的问题,或者能激发他们思维的好问题。如果我们并非如此,那我们也不会成为您想询问的对象。如果您给了我们一个值得反复咀嚼玩味的好问题,我们自会对您感激不尽。好问题是激励,是厚礼。好问题可以提高我们的理解力,而且通常会暴露我们以前从没意识到或者思考过的问题。对黑客而言,“好问题!” 是诚挚的大力称赞。
+
+尽管如此,黑客们有着蔑视或傲慢面对简单问题的坏名声,这有时让我们看起来对新手、无知者似乎较有敌意,但其实不是那样的。
+
+我们不讳言我们对那些不愿思考、或者在发问前不做他们该做的事的人的蔑视。那些人是时间杀手 —— 他们只想索取,从不付出,消耗我们可用在更有趣的问题或更值得回答的人身上的时间。我们称这样的人为 失败者(撸瑟) (由于历史原因,我们有时把它拼作 lusers)。
+
+我们意识到许多人只是想使用我们写的软件,他们对学习技术细节没有兴趣。对大多数人而言,电脑只是种工具,是种达到目的的手段而已。他们有自己的生活并且有更要紧的事要做。我们了解这点,也从不指望每个人都对这些让我们着迷的技术问题感兴趣。尽管如此,我们回答问题的风格是指向那些真正对此有兴趣并愿意主动参与解决问题的人,这一点不会变,也不该变。如果连这都变了,我们就是在降低做自己最擅长的事情上的效率。
+
+我们(在很大程度上)是自愿的,从繁忙的生活中抽出时间来解答疑惑,而且时常被提问淹没。所以我们无情地滤掉一些话题,特别是拋弃那些看起来像失败者的家伙,以便更高效地利用时间来回答赢家(winner)的问题。
+
+如果您厌恶我们的态度,高高在上,或过于傲慢,不妨也设身处地想想。我们并没有要求您向我们屈服 —— 事实上,我们大多数人非常乐意与您平等地交流,只要您付出小小努力来满足基本要求,我们就会欢迎您加入我们的文化。但让我们帮助那些不愿意帮助自己的人是没有效率的。无知没有关系,但装白痴就是不行。
+
+所以,您不必在技术上很在行才能吸引我们的注意,但您必须表现出能引导您变得在行的特质 —— 机敏、有想法、善于观察、乐于主动参与解决问题。如果您做不到这些使您与众不同的事情,我们建议您花点钱找家商业公司签个技术支持服务合同,而不是要求黑客个人无偿地帮助您。
+
+如果您决定向我们求助,当然您也不希望被视为失败者,更不愿成为失败者中的一员。能立刻得到快速并有效答案的最好方法,就是像赢家那样提问 —— 聪明、自信、有解决问题的思路,只是偶尔在特定的问题上需要获得一点帮助。
+
+总结来说,为了节约双方的时间,并能够高效地解决您的问题,您需要\emph{学会提问}。
+
+
+\subsection{在提问之前}
+
+在您提问之前,请先做到以下的事情:
+\begin{enumerate}
+ \item 仔细完整地阅读过 \file{exam-zh-doc.pdf} (即现在的这个文档)
+ \item 完整读过 \href{https://ctan.math.illinois.edu/info/lshort/chinese/lshort-zh-cn.pdf}{lshort-zh-cn},并且在其中进行过相关的查询
+ \item 尝试在 \cls{exam-zh} 项目主页的 Wiki (\href{https://gitee.com/xkwxdyy/exam-zh/wikis/Home}{gitee Wiki} 或 \href{https://github.com/xkwxdyy/exam-zh/wikis/Home}{github Wiki} )中找到答案
+ \item 尝试在 \cls{exam-zh} 项目主页的 issues (\href{https://gitee.com/xkwxdyy/exam-zh/issues}{gitee issues} 或 \href{https://github.com/xkwxdyy/exam-zh/issues}{github issues} )中找到答案(可以点击“已完成”来查看以往的问题和回答)
+ \item 如果是某个命令或环境出问题了,自己检查是否按照规范正确使用该命令或环境,是否少写或多写了括号等等;如果是某宏包的命令或环境,是否通过 \cmd{texdoc} \meta{宏包名} 查看宏包手册来查询命令或环境的具体使用方式
+ \item 是否去搜索引擎搜索过相应的问题。推荐 \LaTeX{} 的 Stack Exchange 社区网站 \href{https://tex.stackexchange.com/}{LaTeX Stack Exchange}。
+\end{enumerate}
+
+
+\subsection{在哪里提问以及如何提问}
+
+如果上述问题自查并没有解决您的问题,那么您可以进行相应的提问了。
+
+首先推荐在 \cls{exam-zh} 项目的 issues (\href{https://gitee.com/xkwxdyy/exam-zh/issues}{gitee issues} 或 \href{https://github.com/xkwxdyy/exam-zh/issues}{github issues} )中新建 issue 进行提问:
+ \begin{enumerate}
+ \item 使用有意义且描述明确的标题。标题简明扼要地概括出问题。一个好标题范例是\emph{目标 —— 差异}式的描述,许多技术支持组织就是这样做的。在\emph{目标}部分指出是哪一个或哪一组东西有问题,在\emph{差异}部分则描述与期望的行为不一致的地方。比如
+ \begin{latexcode}[gobble = 8]
+ 在v0.2.3版本的 exam-zh 模板的正文使用了 $f(x) > 1, 当且仅当 x > 0$ 但是却没有显示中文
+ \end{latexcode}
+ 要比“我公式里怎么没有显示中文啊”的标题要好得多。
+
+ 编写\emph{目标 —— 差异} 式描述的过程有助于您组织对问题的细致思考。是什么被影响了,只有这个中文还是还有其它部分不能显示?只有版本 0.2.3 无法显示还是以前显示正常但是更新了新版本的模板后显示出问题?是只有我这边出问题了还是我的朋友同学都有这个问题?
+ \item 精确地描述问题并言之有物。
+ \begin{itemize}
+ \item 仔细、清楚地描述您的问题或 bug 的症状。
+ \item 描述问题发生的环境。操作系统,模板的版本,以及在问题出现前是进行了什么操作?比如
+ \begin{latexcode}[gobble = 12]
+ 在输入某代码前还是正常的,但是输入某代码后就编译出错
+ \end{latexcode}
+ \item 描述在提问前您是怎样去研究和理解这个问题的。您觉得问题出在哪里?您做了什么措施去解决这个问题?
+ \item 描述最近做过什么可能相关的硬件或软件变更。有没有换了电脑或更换了编译器
+ \item 尽可能地提供一个可以重现这个问题的方法。比如自己检查出某行代码就是问题所在,那么至少提供此行代码让别人能够复现这个问题,从而更好地帮助解决。
+ \end{itemize}
+ \end{enumerate}
+
+其次就是在模板的 QQ 群里提问(本文档封面脚注提供了群号)。但也确保您先进行了自查。具体的细节也和上面在 issue 里提问类似。下面提供几个提问示例:
+
+\begin{latexcode}
+ % 编译出错类型问题
+ 安装的 LaTeX 发行版:TeXLive2024
+ 电脑型号:macOS
+ 模板版本:v0.2.3
+ 问题描述:
+ 我打算输入一个数学公式,我输入下面这行代码前一些编译都是正常的:
+ 那么我们就得到了 x = \frac{1}{2}
+ 报错信息是:
+ Missing $ inserted.
+ <inserted text>
+ 可以复现问题的代码:
+ \documentclass{exam-zh}
+
+ \begin{document}
+
+ 那么我们就得到了 x = \frac{1}{2}
+
+ \end{document}
+ 目的:希望能显示二分之一这个分数
+ 想法:我已通过手册中所说的方式进行了自查,但仍然没能解决问题,报错说少了一个 $ ,我觉得可能我没有正确地输入这个数学公式。
+\end{latexcode}
+
+\begin{latexcode}
+ % 不知道如何实现某效果
+ 安装的 LaTeX 发行版:TeXLive2024
+ 电脑型号:macOS
+ 模板版本:v0.2.3
+ 问题描述:
+ - 我打算输入一个数学公式,并且在其中输入中文
+ - 我输入下面这行代码
+ $f(x) > 1, 当且仅当 x > 1$
+ 但是里面并没有显示出“当且仅当”四个字
+ 可以复现问题的代码:
+ \documentclass{exam-zh}
+
+ \begin{document}
+
+ $f(x) > 1, 当且仅当 x > 1$
+
+ \end{document}
+ 目的:我希望能够显示出“当且仅当”四个字
+ 想法:我已通过手册中所说的方式进行了自查,但仍然没能解决问题,我觉得缺少某个命令来输出这个公式中的中文,但我不知道是什么
+\end{latexcode}
+
+\begin{latexcode}
+ % 格式更改需求
+ 安装的 LaTeX 发行版:TeXLive2024
+ 电脑型号:macOS
+ 模板版本:v0.2.3
+ 格式现状描述:
+ solution 环境的“解答”有缩进
+ 格式需求:
+ 希望可以增加键值控制这个缩进的有无。
+ 可以复现问题的代码:
+ \documentclass{exam-zh}
+
+ \examsetup{
+ solution/show-solution = show-stay
+ }
+ \begin{document}
+
+ \begin{question}
+ 测试
+ \end{question}
+
+ \begin{solution}
+ 测试
+ \end{solution}
+
+ \end{document}
+ 想法:我已通过手册中所说的方式进行了自查,但仍然不知道如何调整这个距离,希望能够编写一个键值来控制这段距离
+\end{latexcode}
+
+将三个例子概括出模板:
+
+\begin{latexcode}
+ % 编译出错类型问题
+ 安装的 LaTeX 发行版:
+ 电脑型号:
+ 模板版本:v
+ 问题描述:
+ 报错信息是:
+ 可以复现问题的代码:
+ 目的:
+ 自己的想法:
+\end{latexcode}
+
+\begin{latexcode}
+ % 不知道如何实现某效果
+ 安装的 LaTeX 发行版:
+ 电脑型号:
+ 模板版本:v
+ 问题描述:
+ 可以复现问题的代码:
+ 目的:
+ 想法:
+\end{latexcode}
+
+\begin{latexcode}
+ % 格式更改需求
+ 安装的 LaTeX 发行版:
+ 电脑型号:
+ 模板版本:v
+ 格式现状描述:
+ 格式需求:
+ 可以复现问题的代码:
+ 想法:
+\end{latexcode}
+
+对于“不知道如何实现某效果”和“格式更改需求”,如果用户无法通过文字准确描述的话,请用纸笔将想要的效果画出来并提供越详细越好的说明。
+
+无论是哪种情况,也可以顺便提供电脑的相应报错\emph{截图},但\textcolor{red}{\emph{请不要用手机对电脑拍照}}。 \ No newline at end of file
diff --git a/Master/texmf-dist/doc/xelatex/exam-zh/doc/body/introduction.tex b/Master/texmf-dist/doc/xelatex/exam-zh/doc/body/introduction.tex
index c843772466d..ec9f2e69ab9 100644
--- a/Master/texmf-dist/doc/xelatex/exam-zh/doc/body/introduction.tex
+++ b/Master/texmf-dist/doc/xelatex/exam-zh/doc/body/introduction.tex
@@ -24,4 +24,6 @@
\begin{center}
\includegraphics[width = 0.7\textwidth]{xdyy-qrcode.png}
-\end{center} \ No newline at end of file
+\end{center}
+
+\emph{如果您希望在 \cls{exam-zh} 的基础上有自己的一些定制需求,也欢迎加 QQ 群:652500180 联系维护者进行付费定制。} \ No newline at end of file
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 ce7bc7f8bad..466f806ded4 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
@@ -429,12 +429,12 @@
\begin{latexexample}{\tn{AddChoicesCounter} 使用示例}
\ExplSyntaxOn
- \cs_new:Npn \test_counter:n #1
+ \cs_new:Npn \examzhtest_counter:n #1
{
\int_set:Nn \l_tmpa_int { \int_eval:n { #1 + 1 } }
\int_use:N \l_tmpa_int
}
- \AddChoicesCounter \test \test_counter:n
+ \AddChoicesCounter \test \examzhtest_counter:n
\ExplSyntaxOff
\begin{choices}[label = \test*]
\item 1
@@ -2269,7 +2269,15 @@
\begin{ccnusyntax}[emph={[1]show-solution}]
show-solution = (*<(hide)|show-stay|show-move>*)
\end{ccnusyntax}
- 是否显示或移动解答环境 \env{solution} 的内容。\opt{hide} 表示隐藏,\opt{show-stay} 表示显示在原处,\opt{show-move} 表示显示在章节最后。
+ 是否显示或移动解答环境 \env{solution} 的内容。\opt{hide} 表示隐藏,\opt{show-stay} 表示显示在原处,\opt{show-move} 表示显示在最后。
+\end{function}
+
+
+\begin{function}[added = 2024-02-22]{solution/pre-analysis}
+ \begin{ccnusyntax}[emph={[1]pre-analysis}]
+ pre-analysis = (*\meta{content}*)
+ \end{ccnusyntax}
+ 移动解答环境 \env{solution} 的内容到最后时,解答环境前的内容。默认为 |【解析】|。
\end{function}
\begin{function}[added = 2022-07-20]{solution/parbreak}
@@ -2312,8 +2320,24 @@
label-content = (*\meta{content}*)
\end{ccnusyntax}
\env{solution} 环境开头的标签内容。默认为 |解答|。若用于 \tn{examsetup} 则作用于之后的所有 \env{solution} 环境。
+
+ 如果想将标签内容改为证明,并且想使用 |proof| 而不是 |solution|,可以重新定义 \env{proof} 环境:
+ \begin{latexcode}
+ \RenewDocumentEnvironment{proof}{O{}}{%
+ \begin{solution}[label-content = 证明, pre-analysis = 【证明】, #1]
+ }{\end{solution}}
+ \end{latexcode}
+ 其余使用和 \env{solution} 环境一样。
\end{function}
+\begin{function}[added = 2024-03-23]{solution/label-indentation}
+ \begin{ccnusyntax}[emph={[1]label-indentation}]
+ label-indentation = (*\TTF*)
+ \end{ccnusyntax}
+ \env{solution} 环境开头的标签内容是否缩进。默认为缩进。
+\end{function}
+
+
\begin{function}[added = 2022-07-01,updated = 2022-07-02]{solution/label-punct}
\begin{ccnusyntax}[emph={[1]label-punct}]
label-punct = (*\meta{punct}*)
@@ -2926,7 +2950,7 @@
\begin{ccnusyntax}[emph={[1]fig-pos}]
fig-pos = (*\meta{postion}*)
\end{ccnusyntax}
- 图片相对于文本的方位。方位可选参数见下列表,默认为 \opt{right}
+ 图片相对于文本的方位。方位可选参数见下列表,默认为 \opt{bottom-right}。
\end{function}
\begin{itemize}
\item \opt{top}:图片在文本上方
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 447e58ab3cf..3db73129a59 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 83c6d8352d6..e6ea2dabc05 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,7 +1,7 @@
\documentclass{xdyydoc}
-\newcommand{\DocDate}{2024-02-15}
-\newcommand{\DocVersion}{v0.2.1}
+\newcommand{\DocDate}{2025-02-19}
+\newcommand{\DocVersion}{v0.2.5}
\input{exam-zh-doc-setup.tex}
\usepackage{amssymb}
@@ -52,6 +52,10 @@
\input{./back/development.tex}
+% 关于提问
+\input{./back/ask-questions.tex}
+
+
% 关于作者
\input{./back/about-author.tex}
@@ -96,6 +100,7 @@
% \item \env{poem} 环境的引用字体不是斜体
% \item 用 meta 优化键值,比如统一的 show-answer
% \item 设置 \tn{vec} 命令的定制开关。
+% \item 学习 randexam 的做法,用 exam-zh 文类来写手册
% \end{itemize}
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 3d92145547f..0d63cf87706 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 b0b75c7f0ee..624e38df483 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
@@ -50,11 +50,10 @@
\chapter{2021 年普通高等学校招生全国统一考试}
-% \information{
-% 姓名\underline{\hspace{6em}},
-% 座位号\underline{\hspace{15em}}
-% }
-% \warning{(在此卷上答题无效)}
+
+\title{2021 年普通高等学校招生全国统一考试}
+
+\subject{数学(理科)}
\secret
@@ -63,15 +62,12 @@
本试卷共 4 页,22 题。全卷满分 150 分。考试用时 120 分钟。
-
\begin{notice}
- \item 答题前,先将自己的姓名、准考证号、考场号、座位号填写在试卷和答题卡上,
- 并将准考证号条形码粘贴在答题卡上的指定位置。
- \item 选择题的作答:每小题选出答案后,用 2B 铅笔把答题卡上对应题目的答案标号涂黑。
- 写在试卷、草稿纸和答题卡上的非答题区域均无效。
- \item 填空题和解答题的作答:用黑色签字笔直接答在答题卡上对应的答题区域内。
+ \item 答卷前,考生务必将自己的姓名、考生号、考场号和座位号填写答题卡上,用2B铅笔将试卷类型(B)填涂在答题卡相应位置上,将条形码横贴在答题卡右上角“条形码粘贴处”。
+ \item 作答选择题时,选出每小题答案后,用2B铅笔在答题卡上对应题目选项的答案信息点涂黑;如需改动,用橡皮擦干净后,再选涂其他答案。答案不能答在试卷上。
写在试卷、草稿纸和答题卡上的非答题区域均无效。
- \item 考试结束后,请将本试卷和答题卡一并上交。
+ \item 非选择题必须用黑色字迹的钢笔或签字笔作答,答案必须写在答题卡各题目指定区域内相应位置上;如需改动,先划掉原来的答案,然后再写上新答案;不准使用铅笔和涂改液。不按以上要求作答无效。
+ \item 考生必须保持答题卡的整洁。考试结束后,将试卷和答题卡一并交回。
\end{notice}
@@ -83,7 +79,7 @@
% 1.
\begin{question}[points = 2]
- 设集合 $A = \{x \mid -1 < x < 4\}$,$B = \{2, 3, 4, 5\}$,则 $A \cap B = $ \paren[B]
+ 设集合 $A = \{x \mid -2 < x < 4\}$,$B = \{2, 3, 4, 5\}$,则 $A \cap B = $ \paren[]
\begin{choices}
\item $\{2\}$
@@ -98,7 +94,7 @@
已知 $z = 2 - \iu$,则 $z (\bar{z} + \iu) = $ \paren
\begin{choices}
\item $6 - 2\iu$
- \item $2 - 2\iu$
+ \item $4 - 2\iu$
\item $6 + 2\iu$
\item $4 + 2\iu$
\end{choices}
@@ -117,7 +113,7 @@
% 4.
\begin{question}
- 下列区间中,函数 $f(x) = 7 \sin \left( x - \frac{\uppi}{6} \right)$ 的单调递增区间是 \paren
+ 下列区间中,函数 $f(x) = 7 \sin \left( x - \frac{\uppi}{6} \right)$ 单调递增的区间是 \paren
\begin{choices}
\item $\left( 0 , \frac{\uppi}{2} \right)$
\item $\left( \frac{\uppi}{2} , \uppi \right)$
@@ -151,7 +147,7 @@
% 7.
\begin{question}
- 若过点 $(a, b)$ 可作曲线 $y = \eu^x$ 的两条切线,则 \paren
+ 若过点 $(a, b)$ 可以作曲线 $y = \eu^x$ 的两条切线,则 \paren
\begin{choices}
\item $\eu^b < a$
\item $\eu^a < b$
@@ -163,7 +159,7 @@
% 8.
\begin{question}
有 $6$ 个相同的球,分别标有数字 $1$,$2$,$3$,$4$,$5$,$6$,从中有放回地随机取两次,每次取 $1$ 个球,
- 甲表示事件“第一次去出的球的数字是 $1$”,
+ 甲表示事件“第一次取出的球的数字是 $1$”,
乙表示事件“第二次取出的球的数字是 $2$”,
丙表示事件“两次取出的球的数字之和是 $8$”,
丁表示事件“两次取出的球的数字之和是 $7$”,则 \paren
@@ -179,14 +175,14 @@
\section{%
选择题:本题共 4 小题,每小题 5 分,共 20 分。
- 在每小题给出的选项中,有多项符合题目要求的。
- 全部选对的得 5 分,部分选择的得 2 分,有选错的得 0 分。
+ 在每小题给出的选项中,有多项符合题目要求。
+ 全部选对的得 5 分,部分选对的得 2 分,有选错的得 0 分。
}
% 9.
\begin{question}
- 有一组样本数据 $x_1, x_2, \dots, x_n$,由 这组数据的到新样本数据 $y_1, y_2, \dots, y_n$,
- 其中 $y_i = x_i + c$($i = 1, 2, \dots, n$) 为非零常数,则 \paren
+ 有一组样本数据 $x_1, x_2, \dots, x_n$,由这组数据得到新样本数据 $y_1, y_2, \dots, y_n$,
+ 其中 $y_i = x_i + c$($i = 1, 2, \dots, n$),$c$ 为非零常数,则 \paren
\begin{choices}
\item 两组样本数据的样本平均数相同
\item 两组样本数据的样本中位数相同
@@ -199,9 +195,9 @@
\begin{question}
已知 $O$ 为坐标原点,点
$P_1(\cos\alpha, \sin\alpha)$,
- $P_2(\cos\beta , -\sin\alpha)$,
+ $P_2(\cos\beta , -\sin\beta)$,
$P_3(\cos(\alpha + \beta), \sin(\alpha + \beta))$,
- $A(1, 0)$ \paren
+ $A(1, 0)$,则 \paren
\begin{choices}
\item $|\overrightarrow{OP_1}| = |\overrightarrow{OP_2}|$
\item $|\overrightarrow{AP_1}| = |\overrightarrow{AP_2}|$
@@ -218,8 +214,8 @@
\begin{choices}
\item 点 $P$ 到直线 $AB$ 的距离小于 $10$
\item 点 $P$ 到直线 $AB$ 的距离大于 $2$
- \item 点 $\angle PBA$ 最小时,$|PB| = 3 \sqrt{2}$
- \item 点 $\angle PBA$ 最大时,$|PB| = 3 \sqrt{2}$
+ \item 当 $\angle PBA$ 最小时,$|PB| = 3 \sqrt{2}$
+ \item 当 $\angle PBA$ 最大时,$|PB| = 3 \sqrt{2}$
\end{choices}
\end{question}
@@ -245,6 +241,10 @@
已知函数 $f(x) = x^3 (a \cdot 2^x - 2^{-x})$ 是偶函数,则 $a = $ \fillin[$1$] 。
\end{question}
+\begin{solution}
+ 由 $f(x) = f(-x)$,得 $a = 1$。
+\end{solution}
+
% 14.
\begin{question}
已知 $O$ 为坐标原点,抛物线 $C \colon y^2 = 2px$($p > 0$)的焦点为 $F$,
@@ -264,14 +264,14 @@
\qtyproduct{10 x 12}{dm}, \qtyproduct{20 x 6}{dm} 两种规格的图形,
它们的面积之和 $S_1 = \qty{240}{dm^2}$,
对折 $2$ 次共可以得到 \qtyproduct{5 x 12}{dm},\qtyproduct{10 x 6}{dm},
- \qtyproduct{20 x 3}{dm} 三种规格的图形,它们的面积之和 $S_2 = \qty{240}{dm^2}$,
+ \qtyproduct{20 x 3}{dm} 三种规格的图形,它们的面积之和 $S_2 = \qty{180}{dm^2}$,
以此类推。则对折 $4$ 次共可以得到不同规格图形的种数为 \fillin ;
如果对折 $n$ 次,那么 $\sum_{k=1}^n S_k = $ \fillin \unit{dm^2}。
\end{question}
-\section{解答题:本题共 6 小题,共 70 分。解答应写出文字说明、证明过程或者演算步骤。}
+\section{解答题:本题共 6 小题,共 70 分。解答应写出文字说明、证明过程或演算步骤。}
% 17.
\begin{problem}[points = 10]
@@ -289,11 +289,11 @@
% 18.
\begin{problem}[points = 12]
某学校组织“一带一路”知识竞赛,有 A,B 两类问题。
- 每位参加比赛的同学现在两类问题中选择一类并从中随机抽取一个问题回答,
+ 每位参加比赛的同学先在两类问题中选择一类并从中随机抽取一个问题回答,
若回答错误则该同学比赛结束;
若回答正确则从另一类问题中再随机抽取一个问题回答,无论回答正确与否,该同学比赛结束。
- A 类问题中的每个问题回答正确的 $20$ 分,否则得 $0$ 分;
- B 类问题中的每个问题回答正确的 $80$ 分,否则得 $0$ 分。
+ A 类问题中的每个问题回答正确得 $20$ 分,否则得 $0$ 分;
+ B 类问题中的每个问题回答正确得 $80$ 分,否则得 $0$ 分。
已知小明能正确回答 A 类问题的概率为 $0.8$,能正确回答 B 类问题的概率为 $0.6$,
且能正确回答问题的概率与回答次序无关。
@@ -316,9 +316,9 @@
% 20.
\begin{problem}[points = 12]
- \textfigure[text-width=\columnwidth, fig-pos=bottom-flushright]{
+ \textfigure{
如图,在三棱锥 $A$-$BCD$ 中,$\text{平面} ABD \perp \text{平面} BCD$,
- $AB = AD$,$O$ 为 $BD$ 的重点。
+ $AB = AD$,$O$ 为 $BD$ 的中点。
\begin{enumerate}
\item 证明:$OA \perp CD$;
\item 若 $\triangle OCD$ 是变长为 $1$ 的等边三角形,点 $E$ 在棱 $AD$ 上,
@@ -326,7 +326,7 @@
求三棱锥 $A$-$BCD$ 的体积。
\end{enumerate}
}{
- \includegraphics[width=5cm]{example-image.png}
+ \includegraphics[width=3cm]{example-image.png}
}
\end{problem}
@@ -361,34 +361,26 @@
-\chapter{2023 年普通高等学校招生全国统一考试}
-% \information{
-% 姓名\underline{\hspace{6em}},
-% 座位号\underline{\hspace{15em}}
-% }
-% \warning{(在此卷上答题无效)}
-
-\secret
+\chapter{2021 年普通高等学校招生全国统一考试}
-\title{2023 年普通高等学校招生全国统一考试}
+\title{2021 年普通高等学校招生全国统一考试}
\subject{数学(理科)}
+\secret
+
\maketitle
本试卷共 4 页,22 题。全卷满分 150 分。考试用时 120 分钟。
-
\begin{notice}
- \item 答题前,先将自己的姓名、准考证号、考场号、座位号填写在试卷和答题卡上,
- 并将准考证号条形码粘贴在答题卡上的指定位置。
- \item 选择题的作答:每小题选出答案后,用 2B 铅笔把答题卡上对应题目的答案标号涂黑。
+ \item 答卷前,考生务必将自己的姓名、考生号、考场号和座位号填写答题卡上,用2B铅笔将试卷类型(B)填涂在答题卡相应位置上,将条形码横贴在答题卡右上角“条形码粘贴处”。
+ \item 作答选择题时,选出每小题答案后,用2B铅笔在答题卡上对应题目选项的答案信息点涂黑;如需改动,用橡皮擦干净后,再选涂其他答案。答案不能答在试卷上。
写在试卷、草稿纸和答题卡上的非答题区域均无效。
- \item 填空题和解答题的作答:用黑色签字笔直接答在答题卡上对应的答题区域内。
- 写在试卷、草稿纸和答题卡上的非答题区域均无效。
- \item 考试结束后,请将本试卷和答题卡一并上交。
+ \item 非选择题必须用黑色字迹的钢笔或签字笔作答,答案必须写在答题卡各题目指定区域内相应位置上;如需改动,先划掉原来的答案,然后再写上新答案;不准使用铅笔和涂改液。不按以上要求作答无效。
+ \item 考生必须保持答题卡的整洁。考试结束后,将试卷和答题卡一并交回。
\end{notice}
@@ -400,7 +392,7 @@
% 1.
\begin{question}[points = 2]
- 设集合 $A = \{x \mid -1 < x < 4\}$,$B = \{2, 3, 4, 5\}$,则 $A \cap B = $ \paren[B]
+ 设集合 $A = \{x \mid -2 < x < 4\}$,$B = \{2, 3, 4, 5\}$,则 $A \cap B = $ \paren[]
\begin{choices}
\item $\{2\}$
@@ -415,7 +407,7 @@
已知 $z = 2 - \iu$,则 $z (\bar{z} + \iu) = $ \paren
\begin{choices}
\item $6 - 2\iu$
- \item $2 - 2\iu$
+ \item $4 - 2\iu$
\item $6 + 2\iu$
\item $4 + 2\iu$
\end{choices}
@@ -434,7 +426,7 @@
% 4.
\begin{question}
- 下列区间中,函数 $f(x) = 7 \sin \left( x - \frac{\uppi}{6} \right)$ 的单调递增区间是 \paren
+ 下列区间中,函数 $f(x) = 7 \sin \left( x - \frac{\uppi}{6} \right)$ 单调递增的区间是 \paren
\begin{choices}
\item $\left( 0 , \frac{\uppi}{2} \right)$
\item $\left( \frac{\uppi}{2} , \uppi \right)$
@@ -468,7 +460,7 @@
% 7.
\begin{question}
- 若过点 $(a, b)$ 可作曲线 $y = \eu^x$ 的两条切线,则 \paren
+ 若过点 $(a, b)$ 可以作曲线 $y = \eu^x$ 的两条切线,则 \paren
\begin{choices}
\item $\eu^b < a$
\item $\eu^a < b$
@@ -480,7 +472,7 @@
% 8.
\begin{question}
有 $6$ 个相同的球,分别标有数字 $1$,$2$,$3$,$4$,$5$,$6$,从中有放回地随机取两次,每次取 $1$ 个球,
- 甲表示事件“第一次去出的球的数字是 $1$”,
+ 甲表示事件“第一次取出的球的数字是 $1$”,
乙表示事件“第二次取出的球的数字是 $2$”,
丙表示事件“两次取出的球的数字之和是 $8$”,
丁表示事件“两次取出的球的数字之和是 $7$”,则 \paren
@@ -496,14 +488,14 @@
\section{%
选择题:本题共 4 小题,每小题 5 分,共 20 分。
- 在每小题给出的选项中,有多项符合题目要求的。
- 全部选对的得 5 分,部分选择的得 2 分,有选错的得 0 分。
+ 在每小题给出的选项中,有多项符合题目要求。
+ 全部选对的得 5 分,部分选对的得 2 分,有选错的得 0 分。
}
% 9.
\begin{question}
- 有一组样本数据 $x_1, x_2, \dots, x_n$,由 这组数据的到新样本数据 $y_1, y_2, \dots, y_n$,
- 其中 $y_i = x_i + c$($i = 1, 2, \dots, n$) 为非零常数,则 \paren
+ 有一组样本数据 $x_1, x_2, \dots, x_n$,由这组数据得到新样本数据 $y_1, y_2, \dots, y_n$,
+ 其中 $y_i = x_i + c$($i = 1, 2, \dots, n$),$c$ 为非零常数,则 \paren
\begin{choices}
\item 两组样本数据的样本平均数相同
\item 两组样本数据的样本中位数相同
@@ -516,9 +508,9 @@
\begin{question}
已知 $O$ 为坐标原点,点
$P_1(\cos\alpha, \sin\alpha)$,
- $P_2(\cos\beta , -\sin\alpha)$,
+ $P_2(\cos\beta , -\sin\beta)$,
$P_3(\cos(\alpha + \beta), \sin(\alpha + \beta))$,
- $A(1, 0)$ \paren
+ $A(1, 0)$,则 \paren
\begin{choices}
\item $|\overrightarrow{OP_1}| = |\overrightarrow{OP_2}|$
\item $|\overrightarrow{AP_1}| = |\overrightarrow{AP_2}|$
@@ -535,8 +527,8 @@
\begin{choices}
\item 点 $P$ 到直线 $AB$ 的距离小于 $10$
\item 点 $P$ 到直线 $AB$ 的距离大于 $2$
- \item 点 $\angle PBA$ 最小时,$|PB| = 3 \sqrt{2}$
- \item 点 $\angle PBA$ 最大时,$|PB| = 3 \sqrt{2}$
+ \item 当 $\angle PBA$ 最小时,$|PB| = 3 \sqrt{2}$
+ \item 当 $\angle PBA$ 最大时,$|PB| = 3 \sqrt{2}$
\end{choices}
\end{question}
@@ -562,6 +554,10 @@
已知函数 $f(x) = x^3 (a \cdot 2^x - 2^{-x})$ 是偶函数,则 $a = $ \fillin[$1$] 。
\end{question}
+\begin{solution}
+ 由 $f(x) = f(-x)$,得 $a = 1$。
+\end{solution}
+
% 14.
\begin{question}
已知 $O$ 为坐标原点,抛物线 $C \colon y^2 = 2px$($p > 0$)的焦点为 $F$,
@@ -581,14 +577,14 @@
\qtyproduct{10 x 12}{dm}, \qtyproduct{20 x 6}{dm} 两种规格的图形,
它们的面积之和 $S_1 = \qty{240}{dm^2}$,
对折 $2$ 次共可以得到 \qtyproduct{5 x 12}{dm},\qtyproduct{10 x 6}{dm},
- \qtyproduct{20 x 3}{dm} 三种规格的图形,它们的面积之和 $S_2 = \qty{240}{dm^2}$,
+ \qtyproduct{20 x 3}{dm} 三种规格的图形,它们的面积之和 $S_2 = \qty{180}{dm^2}$,
以此类推。则对折 $4$ 次共可以得到不同规格图形的种数为 \fillin ;
如果对折 $n$ 次,那么 $\sum_{k=1}^n S_k = $ \fillin \unit{dm^2}。
\end{question}
-\section{解答题:本题共 6 小题,共 70 分。解答应写出文字说明、证明过程或者演算步骤。}
+\section{解答题:本题共 6 小题,共 70 分。解答应写出文字说明、证明过程或演算步骤。}
% 17.
\begin{problem}[points = 10]
@@ -606,11 +602,11 @@
% 18.
\begin{problem}[points = 12]
某学校组织“一带一路”知识竞赛,有 A,B 两类问题。
- 每位参加比赛的同学现在两类问题中选择一类并从中随机抽取一个问题回答,
+ 每位参加比赛的同学先在两类问题中选择一类并从中随机抽取一个问题回答,
若回答错误则该同学比赛结束;
若回答正确则从另一类问题中再随机抽取一个问题回答,无论回答正确与否,该同学比赛结束。
- A 类问题中的每个问题回答正确的 $20$ 分,否则得 $0$ 分;
- B 类问题中的每个问题回答正确的 $80$ 分,否则得 $0$ 分。
+ A 类问题中的每个问题回答正确得 $20$ 分,否则得 $0$ 分;
+ B 类问题中的每个问题回答正确得 $80$ 分,否则得 $0$ 分。
已知小明能正确回答 A 类问题的概率为 $0.8$,能正确回答 B 类问题的概率为 $0.6$,
且能正确回答问题的概率与回答次序无关。
@@ -633,14 +629,18 @@
% 20.
\begin{problem}[points = 12]
- 如图,在三棱锥 $A$-$BCD$ 中,$\text{平面} ABD \perp \text{平面} BCD$,
- $AB = AD$,$O$ 为 $BD$ 的重点。
- \begin{enumerate}
- \item 证明:$OA \perp CD$;
- \item 若 $\triangle OCD$ 是变长为 $1$ 的等边三角形,点 $E$ 在棱 $AD$ 上,
- $DE = 2 EA$,且二面角 $E$-$BC$-$D$ 的大小为 \ang{45},
- 求三棱锥 $A$-$BCD$ 的体积。
- \end{enumerate}
+ \textfigure{
+ 如图,在三棱锥 $A$-$BCD$ 中,$\text{平面} ABD \perp \text{平面} BCD$,
+ $AB = AD$,$O$ 为 $BD$ 的中点。
+ \begin{enumerate}
+ \item 证明:$OA \perp CD$;
+ \item 若 $\triangle OCD$ 是变长为 $1$ 的等边三角形,点 $E$ 在棱 $AD$ 上,
+ $DE = 2 EA$,且二面角 $E$-$BC$-$D$ 的大小为 \ang{45},
+ 求三棱锥 $A$-$BCD$ 的体积。
+ \end{enumerate}
+ }{
+ \includegraphics[width=3cm]{example-image.png}
+ }
\end{problem}
% 21.
@@ -671,4 +671,14 @@
当 $x \in(0, 1)$ 时, $f^{\prime}(x) > 0$, 当 $x \in(1, +\infty)$ 时, $f^{\prime}(x) < 0$,
故 $f(x)$ 的递增区间为 $(0,1)$, 递减区间为 $(1, +\infty)$.
\end{solution}
+
+
+\begin{solution}
+ 函数的定义域为 $(0, +\infty)$,
+ 又 \[f^{\prime}(x) = 1 - \ln x-1 = -\ln x, \score{2}\]
+ 当 $x \in(0, 1)$ 时, $f^{\prime}(x) > 0$, 当 $x \in(1, +\infty)$ 时, $f^{\prime}(x) < 0$,
+ 故 $f(x)$ 的递增区间为 $(0,1)$, 递减区间为 $(1, +\infty)$.
+\end{solution}
+
+
\end{document}
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 1a5cba4d3d2..0f7489472de 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 d2f1506c264..ab1257054b3 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,8 @@
paren/show-paren=true,
paren/show-answer=true,
fillin/show-answer=false,
- solution/show-solution=show-move
+ solution/show-solution=show-stay,
+ solution/label-indentation=false
}
@@ -34,13 +35,11 @@
\begin{notice}
- \item 答题前,先将自己的姓名、准考证号、考场号、座位号填写在试卷和答题卡上,
- 并将准考证号条形码粘贴在答题卡上的指定位置。
- \item 选择题的作答:每小题选出答案后,用 2B 铅笔把答题卡上对应题目的答案标号涂黑。
+ \item 答卷前,考生务必将自己的姓名、考生号、考场号和座位号填写答题卡上,用2B铅笔将试卷类型(B)填涂在答题卡相应位置上,将条形码横贴在答题卡右上角“条形码粘贴处”。
+ \item 作答选择题时,选出每小题答案后,用2B铅笔在答题卡上对应题目选项的答案信息点涂黑;如需改动,用橡皮擦干净后,再选涂其他答案。答案不能答在试卷上。
写在试卷、草稿纸和答题卡上的非答题区域均无效。
- \item 填空题和解答题的作答:用黑色签字笔直接答在答题卡上对应的答题区域内。
- 写在试卷、草稿纸和答题卡上的非答题区域均无效。
- \item 考试结束后,请将本试卷和答题卡一并上交。
+ \item 非选择题必须用黑色字迹的钢笔或签字笔作答,答案必须写在答题卡各题目指定区域内相应位置上;如需改动,先划掉原来的答案,然后再写上新答案;不准使用铅笔和涂改液。不按以上要求作答无效。
+ \item 考生必须保持答题卡的整洁。考试结束后,将试卷和答题卡一并交回。
\end{notice}
@@ -52,7 +51,7 @@
% 1.
\begin{question}[points = 2]
- 设集合 $A = \{x \mid -1 < x < 4\}$,$B = \{2, 3, 4, 5\}$,则 $A \cap B = $ \paren[A]
+ 设集合 $A = \{x \mid -2 < x < 4\}$,$B = \{2, 3, 4, 5\}$,则 $A \cap B = $ \paren[]
\begin{choices}
\item $\{2\}$
@@ -67,7 +66,7 @@
已知 $z = 2 - \iu$,则 $z (\bar{z} + \iu) = $ \paren
\begin{choices}
\item $6 - 2\iu$
- \item $2 - 2\iu$
+ \item $4 - 2\iu$
\item $6 + 2\iu$
\item $4 + 2\iu$
\end{choices}
@@ -86,7 +85,7 @@
% 4.
\begin{question}
- 下列区间中,函数 $f(x) = 7 \sin \left( x - \frac{\uppi}{6} \right)$ 的单调递增区间是 \paren
+ 下列区间中,函数 $f(x) = 7 \sin \left( x - \frac{\uppi}{6} \right)$ 单调递增的区间是 \paren
\begin{choices}
\item $\left( 0 , \frac{\uppi}{2} \right)$
\item $\left( \frac{\uppi}{2} , \uppi \right)$
@@ -120,7 +119,7 @@
% 7.
\begin{question}
- 若过点 $(a, b)$ 可作曲线 $y = \eu^x$ 的两条切线,则 \paren
+ 若过点 $(a, b)$ 可以作曲线 $y = \eu^x$ 的两条切线,则 \paren
\begin{choices}
\item $\eu^b < a$
\item $\eu^a < b$
@@ -132,7 +131,7 @@
% 8.
\begin{question}
有 $6$ 个相同的球,分别标有数字 $1$,$2$,$3$,$4$,$5$,$6$,从中有放回地随机取两次,每次取 $1$ 个球,
- 甲表示事件“第一次去出的球的数字是 $1$”,
+ 甲表示事件“第一次取出的球的数字是 $1$”,
乙表示事件“第二次取出的球的数字是 $2$”,
丙表示事件“两次取出的球的数字之和是 $8$”,
丁表示事件“两次取出的球的数字之和是 $7$”,则 \paren
@@ -148,14 +147,14 @@
\section{%
选择题:本题共 4 小题,每小题 5 分,共 20 分。
- 在每小题给出的选项中,有多项符合题目要求的。
- 全部选对的得 5 分,部分选择的得 2 分,有选错的得 0 分。
+ 在每小题给出的选项中,有多项符合题目要求。
+ 全部选对的得 5 分,部分选对的得 2 分,有选错的得 0 分。
}
% 9.
\begin{question}
- 有一组样本数据 $x_1, x_2, \dots, x_n$,由 这组数据的到新样本数据 $y_1, y_2, \dots, y_n$,
- 其中 $y_i = x_i + c$($i = 1, 2, \dots, n$) 为非零常数,则 \paren
+ 有一组样本数据 $x_1, x_2, \dots, x_n$,由这组数据得到新样本数据 $y_1, y_2, \dots, y_n$,
+ 其中 $y_i = x_i + c$($i = 1, 2, \dots, n$),$c$ 为非零常数,则 \paren
\begin{choices}
\item 两组样本数据的样本平均数相同
\item 两组样本数据的样本中位数相同
@@ -168,9 +167,9 @@
\begin{question}
已知 $O$ 为坐标原点,点
$P_1(\cos\alpha, \sin\alpha)$,
- $P_2(\cos\beta , -\sin\alpha)$,
+ $P_2(\cos\beta , -\sin\beta)$,
$P_3(\cos(\alpha + \beta), \sin(\alpha + \beta))$,
- $A(1, 0)$ \paren
+ $A(1, 0)$,则 \paren
\begin{choices}
\item $|\overrightarrow{OP_1}| = |\overrightarrow{OP_2}|$
\item $|\overrightarrow{AP_1}| = |\overrightarrow{AP_2}|$
@@ -187,8 +186,8 @@
\begin{choices}
\item 点 $P$ 到直线 $AB$ 的距离小于 $10$
\item 点 $P$ 到直线 $AB$ 的距离大于 $2$
- \item 点 $\angle PBA$ 最小时,$|PB| = 3 \sqrt{2}$
- \item 点 $\angle PBA$ 最大时,$|PB| = 3 \sqrt{2}$
+ \item 当 $\angle PBA$ 最小时,$|PB| = 3 \sqrt{2}$
+ \item 当 $\angle PBA$ 最大时,$|PB| = 3 \sqrt{2}$
\end{choices}
\end{question}
@@ -237,14 +236,14 @@
\qtyproduct{10 x 12}{dm}, \qtyproduct{20 x 6}{dm} 两种规格的图形,
它们的面积之和 $S_1 = \qty{240}{dm^2}$,
对折 $2$ 次共可以得到 \qtyproduct{5 x 12}{dm},\qtyproduct{10 x 6}{dm},
- \qtyproduct{20 x 3}{dm} 三种规格的图形,它们的面积之和 $S_2 = \qty{240}{dm^2}$,
+ \qtyproduct{20 x 3}{dm} 三种规格的图形,它们的面积之和 $S_2 = \qty{180}{dm^2}$,
以此类推。则对折 $4$ 次共可以得到不同规格图形的种数为 \fillin ;
如果对折 $n$ 次,那么 $\sum_{k=1}^n S_k = $ \fillin \unit{dm^2}。
\end{question}
-\section{解答题:本题共 6 小题,共 70 分。解答应写出文字说明、证明过程或者演算步骤。}
+\section{解答题:本题共 6 小题,共 70 分。解答应写出文字说明、证明过程或演算步骤。}
% 17.
\begin{problem}[points = 10]
@@ -262,11 +261,11 @@
% 18.
\begin{problem}[points = 12]
某学校组织“一带一路”知识竞赛,有 A,B 两类问题。
- 每位参加比赛的同学现在两类问题中选择一类并从中随机抽取一个问题回答,
+ 每位参加比赛的同学先在两类问题中选择一类并从中随机抽取一个问题回答,
若回答错误则该同学比赛结束;
若回答正确则从另一类问题中再随机抽取一个问题回答,无论回答正确与否,该同学比赛结束。
- A 类问题中的每个问题回答正确的 $20$ 分,否则得 $0$ 分;
- B 类问题中的每个问题回答正确的 $80$ 分,否则得 $0$ 分。
+ A 类问题中的每个问题回答正确得 $20$ 分,否则得 $0$ 分;
+ B 类问题中的每个问题回答正确得 $80$ 分,否则得 $0$ 分。
已知小明能正确回答 A 类问题的概率为 $0.8$,能正确回答 B 类问题的概率为 $0.6$,
且能正确回答问题的概率与回答次序无关。
@@ -291,7 +290,7 @@
\begin{problem}[points = 12]
\textfigure{
如图,在三棱锥 $A$-$BCD$ 中,$\text{平面} ABD \perp \text{平面} BCD$,
- $AB = AD$,$O$ 为 $BD$ 的重点。
+ $AB = AD$,$O$ 为 $BD$ 的中点。
\begin{enumerate}
\item 证明:$OA \perp CD$;
\item 若 $\triangle OCD$ 是变长为 $1$ 的等边三角形,点 $E$ 在棱 $AD$ 上,
diff --git a/Master/texmf-dist/tex/latex/exam-zh/exam-zh-chinese-english.sty b/Master/texmf-dist/tex/latex/exam-zh/exam-zh-chinese-english.sty
index 373f9a5e109..4b0b05c6f3b 100644
--- a/Master/texmf-dist/tex/latex/exam-zh/exam-zh-chinese-english.sty
+++ b/Master/texmf-dist/tex/latex/exam-zh/exam-zh-chinese-english.sty
@@ -8,7 +8,7 @@
\RequirePackage{expl3}
-\ProvidesExplPackage {exam-zh-chinese-english} {2024-02-15} {v0.2.1}
+\ProvidesExplPackage {exam-zh-chinese-english} {2025-02-19} {v0.2.5}
{exam-zh chinese and english module}
\PassOptionsToPackage { tcolorbox } { most }
diff --git a/Master/texmf-dist/tex/latex/exam-zh/exam-zh-choices.sty b/Master/texmf-dist/tex/latex/exam-zh/exam-zh-choices.sty
index 3b1eea9cb5b..e2b1f15a0b3 100644
--- a/Master/texmf-dist/tex/latex/exam-zh/exam-zh-choices.sty
+++ b/Master/texmf-dist/tex/latex/exam-zh/exam-zh-choices.sty
@@ -9,7 +9,7 @@
\RequirePackage{expl3}
\RequirePackage{xparse}
-\ProvidesExplPackage {exam-zh-choices} {2024-02-15} {v0.2.1}
+\ProvidesExplPackage {exam-zh-choices} {2025-02-19} {v0.2.5}
{exam-zh choices module}
\dim_new:N \l__examzh_choices_column_sep_dim
diff --git a/Master/texmf-dist/tex/latex/exam-zh/exam-zh-font.sty b/Master/texmf-dist/tex/latex/exam-zh/exam-zh-font.sty
index cec5e24428a..0818ef947c7 100644
--- a/Master/texmf-dist/tex/latex/exam-zh/exam-zh-font.sty
+++ b/Master/texmf-dist/tex/latex/exam-zh/exam-zh-font.sty
@@ -9,7 +9,7 @@
\RequirePackage{expl3}
\RequirePackage{xparse}
-\ProvidesExplPackage {exam-zh-font} {2024-02-15} {v0.2.1}
+\ProvidesExplPackage {exam-zh-font} {2025-02-19} {v0.2.5}
{exam-zh font module}
\RequirePackage { unicode-math }
@@ -58,6 +58,11 @@
} ,
}
+% 修改 \varnothing 的默认样式
+\AtBeginDocument
+ {
+ \setmathfont [ range = \varnothing ] { Asana-Math.otf }
+ }
% New Computer Modern
\cs_new:Npn \examzh_font_set_font_newcm:
diff --git a/Master/texmf-dist/tex/latex/exam-zh/exam-zh-math.sty b/Master/texmf-dist/tex/latex/exam-zh/exam-zh-math.sty
index 6ced1e6bcda..3f491e0eaff 100644
--- a/Master/texmf-dist/tex/latex/exam-zh/exam-zh-math.sty
+++ b/Master/texmf-dist/tex/latex/exam-zh/exam-zh-math.sty
@@ -8,7 +8,7 @@
\RequirePackage{expl3}
-\ProvidesExplPackage {exam-zh-math} {2024-02-15} {v0.2.1}
+\ProvidesExplPackage {exam-zh-math} {2025-02-19} {v0.2.5}
{exam-zh math module}
\RequirePackage { tabularray }
diff --git a/Master/texmf-dist/tex/latex/exam-zh/exam-zh-question.sty b/Master/texmf-dist/tex/latex/exam-zh/exam-zh-question.sty
index f7830978ff6..ffb5131ac50 100644
--- a/Master/texmf-dist/tex/latex/exam-zh/exam-zh-question.sty
+++ b/Master/texmf-dist/tex/latex/exam-zh/exam-zh-question.sty
@@ -9,7 +9,7 @@
\RequirePackage{expl3}
\RequirePackage{xparse}
-\ProvidesExplPackage {exam-zh-question} {2024-02-15} {v0.2.1}
+\ProvidesExplPackage {exam-zh-question} {2025-02-19} {v0.2.5}
{exam-zh question module}
@@ -205,7 +205,7 @@
index = 1,
points = 0 ,
show-points = auto ,
- points-separate-par = false ,
+ points-separate-par = true ,
show-answer = false ,
top-sep = .25em plus .25em minus .1em ,
bottom-sep = .25em plus .25em minus .1em ,
@@ -1692,9 +1692,11 @@
\bool_gset_true:N \g__examzh_solution_show_move_bool
},
% show-answer .bool_set:N = \g__examzh_solution_show_bool,
+ pre-analysis .tl_set:N = \l__examzh_solution_pre_analysis_tl,
show-qed .bool_set:N = \l__examzh_solution_show_qed_bool,
qedsymbol .tl_set:N = \l__examzh_solution_qedsymbol_tl,
label-content .tl_set:N = \l__examzh_solution_label_content_tl,
+ label-indentation .bool_set:N = \l__examzh_solution_label_indentation_bool,
label-punct .tl_set:N = \l__examzh_solution_label_punct_tl,
score-showleader .bool_set:N = \l__examzh_score_show_leader_bool,
score-pre-content .tl_set:N = \l__examzh_score_pre_content_tl,
@@ -1717,6 +1719,7 @@
show-qed = true,
qedsymbol = $\square$,
label-content = {解答},
+ label-indentation = true,
label-punct = {},
score-showleader = true,
score-pre-content = {},
@@ -1727,7 +1730,8 @@
blank-vsep = 12ex plus 1ex minus 1ex,
top-sep = .25em plus .25em minus .1em,
bottom-sep = 0pt,
- parbreak = false
+ parbreak = false,
+ pre-analysis = {【解析】},
}
\keys_define:nn { exam-zh }
{ solution .meta:nn = { exam-zh / solution } {#1} }
@@ -1751,7 +1755,7 @@
\iow_now:Nx \g__write_soltion_to_auxfile
{
\par \noindent
- \int_eval:n { \g__examzh_question_index_int - 1 }. 【解析】
+ \int_eval:n { \g__examzh_question_index_int - 1 }. \l__examzh_solution_pre_analysis_tl
\exp_not:n {#2}
\par \exp_not:n { \vspace*{1ex} }
}
@@ -1835,6 +1839,10 @@
% \item \relax
\group_begin:
% \hspace* { 2\ccwd }
+ \bool_if:NF \l__examzh_solution_label_indentation_bool
+ {
+ \noindent
+ }
\bfseries \l__examzh_solution_label_content_tl
\@addpunct { \l__examzh_solution_label_punct_tl }
\group_end:
diff --git a/Master/texmf-dist/tex/latex/exam-zh/exam-zh-symbols.sty b/Master/texmf-dist/tex/latex/exam-zh/exam-zh-symbols.sty
index 9a3a7825e67..edf319c9863 100644
--- a/Master/texmf-dist/tex/latex/exam-zh/exam-zh-symbols.sty
+++ b/Master/texmf-dist/tex/latex/exam-zh/exam-zh-symbols.sty
@@ -8,7 +8,7 @@
\RequirePackage{expl3}
-\ProvidesExplPackage {exam-zh-symbols} {2024-02-15} {v0.2.1}
+\ProvidesExplPackage {exam-zh-symbols} {2025-02-19} {v0.2.5}
{exam-zh symbols module}
\RequirePackage { tikz }
@@ -86,7 +86,13 @@
\l__examzh_symbols_dfrac_add_distance_muskip
{#1}{#2}
}
- { \examzhdfrac {#1} {#2} }
+ % { \examzhdfrac {#1} {#2} }
+ {
+ \mathchoice { \examzhdfrac{#1}{#2} }
+ { \examzhdfrac{#1}{#2} }
+ { \examzhfrac{#1}{#2} }
+ { \examzhfrac{#1}{#2} }
+ }
\group_end:
}
\cs_new:Npn \__examzh_symbols_frac_calc_str_num:nn #1#2
diff --git a/Master/texmf-dist/tex/latex/exam-zh/exam-zh-textfigure.sty b/Master/texmf-dist/tex/latex/exam-zh/exam-zh-textfigure.sty
index 9aec00838d2..6040ee5c093 100644
--- a/Master/texmf-dist/tex/latex/exam-zh/exam-zh-textfigure.sty
+++ b/Master/texmf-dist/tex/latex/exam-zh/exam-zh-textfigure.sty
@@ -7,7 +7,7 @@
\RequirePackage{expl3}
-\ProvidesExplPackage {exam-zh-textfigure} {2024-02-15} {v0.2.1}
+\ProvidesExplPackage {exam-zh-textfigure} {2025-02-19} {v0.2.5}
{exam-zh text with figure module}
@@ -416,52 +416,53 @@
\par
\vspace*{ \l__examzh_textfigure_top_sep_skip }
\noindent
- \__examzh_textfigure_output:nn {#2} {#3}
+ \__examzh_textfigure_output:nnn {#1} {#2} {#3}
\vspace*{ \l__examzh_textfigure_bottom_sep_skip }
\group_end:
}
% 最终的拼接命令
-\cs_new:Npn \__examzh_textfigure_output:nn #1#2
+\cs_new:Npn \__examzh_textfigure_output:nnn #1#2#3
{
- \__examzh_textfigure_text_width_dim_set:
+ \__examzh_textfigure_text_width_dim_set:n {#1}
% issue:https://gitee.com/xkwxdyy/text-figure/issues/I4RVQX
% 关键点在于要离开垂直模式
% https://ask.latexstudio.net/ask/question/7238.html
\mode_leave_vertical:
% 将内容存到 coffin 中
- \__examzh_textfigure_coffin_store:nn {#1}{#2}
+ \__examzh_textfigure_coffin_store:nn {#2}{#3}
% coffin 的拼接
\__examzh_textfigure_coffin_join:
% coffin 的 typeset
\__examzh_textfigure_coffin_typeset:
}
-\cs_new:Npn \__examzh_textfigure_text_width_dim_set:
+\cs_new:Npn \__examzh_textfigure_text_width_dim_set:n #1
{
- % \str_case:VnT \l__examzh_textfigure_current_figure_position_str
- % {
- % {bottom-flushright} {}
- % {bottom-left} {}
- % {bottom-right} {}
- % {bottom-center} {}
- % }
- % { \fp_set:Nn \l__examzh_textfigure_text_ratio_fp {1} }
- % \fp_compare:nNnF { \l__examzh_textfigure_text_ratio_fp } = { 1 }
- % {
- % \str_case:VnT \l__examzh_textfigure_current_figure_position_str
- % {
- % {left} {}
- % {right} {}
- % {left-center} {}
- % {right-center} {}
- % {right-top} {}
- % {right-bottom} {}
- % {left-top} {}
- % {left-bottom} {}
- % }
- % { \fp_set:Nn \l__examzh_textfigure_text_ratio_fp {0.7} }
- % }
+ \str_case:VnT \l__examzh_textfigure_current_figure_position_str
+ {
+ {bottom-flushright} {}
+ {bottom-left} {}
+ {bottom-right} {}
+ {bottom-center} {}
+ }
+ { \fp_set:Nn \l__examzh_textfigure_text_ratio_fp {1} }
+ \fp_compare:nNnF { \l__examzh_textfigure_text_ratio_fp } = { 1 }
+ {
+ \str_case:VnT \l__examzh_textfigure_current_figure_position_str
+ {
+ {left} {}
+ {right} {}
+ {left-center} {}
+ {right-center} {}
+ {right-top} {}
+ {right-bottom} {}
+ {left-top} {}
+ {left-bottom} {}
+ }
+ { \fp_set:Nn \l__examzh_textfigure_text_ratio_fp {0.7} }
+ }
+ \keys_set:nn { exam-zh / textfigure } {#1}
\dim_set_eq:NN \l__examzh_textfigure_tmpa_dim \l__examzh_textfigure_text_width_dim
\dim_set:Nn \l__examzh_textfigure_text_width_dim
{
diff --git a/Master/texmf-dist/tex/latex/exam-zh/exam-zh.cls b/Master/texmf-dist/tex/latex/exam-zh/exam-zh.cls
index 2af3a8fc936..415c75ad300 100644
--- a/Master/texmf-dist/tex/latex/exam-zh/exam-zh.cls
+++ b/Master/texmf-dist/tex/latex/exam-zh/exam-zh.cls
@@ -1,12 +1,12 @@
%
-% Copyright (c) 2024 Zeping Lee
+% Copyright (c) 2024 Xia Kangwei and Zeping Lee
% Released under the LaTeX Project Public License v1.3c License.
% Repository: https://gitee.com/xkwxdyy/exam-zh
%
\NeedsTeXFormat{LaTeX2e}[2017/04/15]
\RequirePackage{expl3}
-\ProvidesExplClass {exam-zh} {2024-02-15} {v0.2.1} {LaTeX template for Chinese exam}
+\ProvidesExplClass {exam-zh} {2025-02-19} {v0.2.5} {LaTeX template for Chinese exam}
% 检查 LaTeX2e kernel 版本
\msg_new:nnn { exam-zh } { latex-too-old }
@@ -45,7 +45,6 @@
\defaultCJKfontfeatures
{
Script = CJK,
- % Mapping = fullwidth-stop ,
}
}