From c109dff9e28ca1d53092373150be9a653ff4870a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 11 Aug 2022 20:45:58 +0000 Subject: exam-zh (11aug22) git-svn-id: svn://tug.org/texlive/trunk@64098 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/exam-zh/exam-zh-chinese-english.sty | 2 +- Master/texmf-dist/tex/latex/exam-zh/exam-zh-choices.sty | 2 +- Master/texmf-dist/tex/latex/exam-zh/exam-zh-font.sty | 2 +- Master/texmf-dist/tex/latex/exam-zh/exam-zh-question.sty | 8 +++++--- Master/texmf-dist/tex/latex/exam-zh/exam-zh-symbols.sty | 2 +- Master/texmf-dist/tex/latex/exam-zh/exam-zh.cls | 2 +- 6 files changed, 10 insertions(+), 8 deletions(-) (limited to 'Master/texmf-dist/tex') 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 b0ccffa0fbd..b6ff7988462 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} {2022-08-09} {v0.1.15} +\ProvidesExplPackage {exam-zh-chinese-english} {2022-08-11} {v0.1.16} {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 1f43e892908..09b434e5e11 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} {2022-08-09} {v0.1.15} +\ProvidesExplPackage {exam-zh-choices} {2022-08-11} {v0.1.16} {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 3ba6cbcbd88..0a8348b0941 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} {2022-08-09} {v0.1.15} +\ProvidesExplPackage {exam-zh-font} {2022-08-11} {v0.1.16} {exam-zh font module} \RequirePackage { unicode-math } 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 6651de73834..6e612c19aaa 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} {2022-08-09} {v0.1.15} +\ProvidesExplPackage {exam-zh-question} {2022-08-11} {v0.1.16} {exam-zh question module} @@ -1155,11 +1155,13 @@ % #1: CJKunderline / use:n % #2: \allowbreak { + \dim_set_eq:NN \l_tmpb_dim \linegoal % 比较 \l__examzh_fillin_F_width_dim 和 linegoal \dim_compare:nNnTF { \l__examzh_fillin_F_width_dim } > { \linegoal } { % 超过 linegoal 就排一段 linegoal,然后 \l__examzh_fillin_F_width_dim 减去 linegoal 长度 - \dim_set:NV \l_tmpa_dim \linegoal + % \dim_set:NV \l_tmpa_dim \linegoal + \dim_set:NV \l_tmpa_dim \l_tmpb_dim % 是否处于 list 环境中 \bool_if:NTF \l__if_list_bool { @@ -1172,7 +1174,7 @@ } { % 正文中 - #1 { \hspace { \linegoal } } + #1 { \hspace { \l_tmpb_dim } } } \dim_sub:NV \l__examzh_fillin_F_width_dim \l_tmpa_dim \dim_while_do:nNnn { \l__examzh_fillin_F_width_dim } > { \linewidth } 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 246335ef0a3..0940b545db2 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} {2022-08-09} {v0.1.15} +\ProvidesExplPackage {exam-zh-symbols} {2022-08-11} {v0.1.16} {exam-zh symbols module} \RequirePackage { tikz } 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 d9fc8090014..90d70c8095b 100644 --- a/Master/texmf-dist/tex/latex/exam-zh/exam-zh.cls +++ b/Master/texmf-dist/tex/latex/exam-zh/exam-zh.cls @@ -6,7 +6,7 @@ \NeedsTeXFormat{LaTeX2e}[2017/04/15] \RequirePackage{expl3} -\ProvidesExplClass {exam-zh} {2022-08-09} {v0.1.15} {LaTeX template for Chinese exam} +\ProvidesExplClass {exam-zh} {2022-08-11} {v0.1.16} {LaTeX template for Chinese exam} % 检查 LaTeX2e kernel 版本 \msg_new:nnn { exam-zh } { latex-too-old } -- cgit v1.2.3