diff options
author | Karl Berry <karl@freefriends.org> | 2022-08-09 20:02:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-08-09 20:02:09 +0000 |
commit | 60c2c1bb526b0e542d81bc8fa05e7f364a2bb02a (patch) | |
tree | 94aa65a0f524f71d393c58ee4890add7aacbce6b /Master/texmf-dist/tex/latex/exam-zh/exam-zh-chinese-english.sty | |
parent | c933b55e9ab028dafd369d7bc0cf16ea24473f45 (diff) |
exam-zh (9aug22)
git-svn-id: svn://tug.org/texlive/trunk@64086 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/exam-zh/exam-zh-chinese-english.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/exam-zh/exam-zh-chinese-english.sty | 31 |
1 files changed, 18 insertions, 13 deletions
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 b27dfab271e..b0ccffa0fbd 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-07-28} {v0.1.13} +\ProvidesExplPackage {exam-zh-chinese-english} {2022-08-09} {v0.1.15} {exam-zh chinese and english module} \PassOptionsToPackage { tcolorbox } { most } @@ -403,7 +403,7 @@ format = \kaishu, title-author-sep = 2em, top-sep = 0pt, - bottom-sep = 0pt, + bottom-sep = 1em, title-poem-sep = 0.25\baselineskip, type = chinese, align = l, @@ -427,6 +427,8 @@ #2 \endtabular \group_end: + \par + \addvspace { 1em } } { \__examzh_poem_end: @@ -480,17 +482,20 @@ } { \endcenter - \vspace*{-0.7em} - \small - \begin{description}[leftmargin = 2em] - \item[{[注]}] - \seq_map_indexed_inline:Nn \g__examzh_poem_zhu_store_seq - % ##1: index - % ##2: content - { - \__examzh_chinese_circled_number:n {##1} ~ ##2 - } - \end{description} + \seq_if_empty:NF \g__examzh_poem_zhu_store_seq + { + \vspace*{-0.7em} + \small + \begin{description}[leftmargin = 2em] + \item[{[注]}] + \seq_map_indexed_inline:Nn \g__examzh_poem_zhu_store_seq + % ##1: index + % ##2: content + { + \__examzh_chinese_circled_number:n {##1} ~ ##2 + } + \end{description} + } } } |