summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/exam-zh/exam-zh-choices.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-06-22 20:41:40 +0000
committerKarl Berry <karl@freefriends.org>2023-06-22 20:41:40 +0000
commit683dbfc9cc1d301185053c57ffd3864a88d9f67a (patch)
tree1e6157d6ad583d9491fad57e739b8cace1bfece1 /Master/texmf-dist/tex/latex/exam-zh/exam-zh-choices.sty
parentb4263935aa5005ab82857beeb32996301bdf1266 (diff)
exam-zh (22jun23)
git-svn-id: svn://tug.org/texlive/trunk@67443 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/exam-zh/exam-zh-choices.sty')
-rw-r--r--Master/texmf-dist/tex/latex/exam-zh/exam-zh-choices.sty6
1 files changed, 4 insertions, 2 deletions
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 f564fdff66c..57e8dd4ef21 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} {2023-06-01} {v0.1.25}
+\ProvidesExplPackage {exam-zh-choices} {2023-06-22} {v0.1.26}
{exam-zh choices module}
\dim_new:N \l__examzh_choices_column_sep_dim
@@ -124,12 +124,14 @@
% 用户没有输入的话就采用自动计算列数
\int_compare:nNnT { \l__examzh_choices_columns_int } < {1}
{ \__examzh_choices_calc_columns: }
+ % 解决 columns 无效的问题
+ \keys_set:nn { exam-zh / choices } {#1}
% 计算每个选项内容的宽度 \l__examzh_choices_item_width_dim
\__examzh_choices_calc_item_width:
% 输出选项
\__examzh_print_choices:N \l__examzh_choices_seq
% 输出正确选项
- \__examzh_print_correctchoice:
+ % \__examzh_print_correctchoice:
\vspace* { \l__examzh_choices_bottom_sep_skip }
}