summaryrefslogtreecommitdiff
path: root/macros/xetex/latex/exam-zh/tex/exam-zh-chinese-english.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/xetex/latex/exam-zh/tex/exam-zh-chinese-english.sty')
-rw-r--r--macros/xetex/latex/exam-zh/tex/exam-zh-chinese-english.sty31
1 files changed, 18 insertions, 13 deletions
diff --git a/macros/xetex/latex/exam-zh/tex/exam-zh-chinese-english.sty b/macros/xetex/latex/exam-zh/tex/exam-zh-chinese-english.sty
index b27dfab271..b0ccffa0fb 100644
--- a/macros/xetex/latex/exam-zh/tex/exam-zh-chinese-english.sty
+++ b/macros/xetex/latex/exam-zh/tex/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}
+ }
}
}