summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def')
-rw-r--r--Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def9
1 files changed, 6 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def b/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def
index 7c79be05be9..a40d2187e8e 100644
--- a/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def
+++ b/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def
@@ -336,9 +336,12 @@
\group_begin:
\tl_use:N \l__exsheets_heading_title_format_tl \strut
\group_end:
- \tl_use:N \l__exsheets_heading_points_pre_code_tl
- { \exsheets_print_points:n { #3 } }
- \tl_use:N \l__exsheets_heading_points_post_code_tl
+ \fp_compare:nF { #3 = 0 }
+ {
+ \tl_use:N \l__exsheets_heading_points_pre_code_tl
+ { \exsheets_print_points:n { #3 } }
+ \tl_use:N \l__exsheets_heading_points_post_code_tl
+ }
}
}
% this allows users to provide their own point system while also using