diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def b/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def index 66dbffcb590..c9f80403371 100644 --- a/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def +++ b/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def @@ -72,6 +72,7 @@ \tl_new:N \l__exsheets_heading_points_format_tl \tl_new:N \l__exsheets_heading_points_pre_code_tl \tl_new:N \l__exsheets_heading_points_post_code_tl +\tl_new:N \l__exsheets_heading_points_post_hook_tl \tl_new:N \l__exsheets_heading_joined_coffins_tl \tl_new:N \l__exsheets_heading_attached_coffins_tl @@ -281,6 +282,9 @@ { \tl_use:N \l__exsheets_heading_title_user_format_tl #2 } \tl_use:N \l__exsheets_heading_number_post_code_tl } + % TODO: if questions are included via \includequestions + % \g__exsheets_questions_current_id_tl doesn't hold the current ID any + % more when the questions are typeset \hcoffin_set:Nn \l__exsheets_heading_meta_coffin { \prop_get:NoNT \g__exsheets_questions_meta_prop @@ -336,6 +340,9 @@ \tl_use:N \l__exsheets_heading_points_post_code_tl } } + % this allows users to provide their own point system while also using + % exsheets' positioning mechanism: + \tl_use:N \l__exsheets_heading_points_post_hook_tl \bool_if:nT { !\l__exsheets_heading_runin_bool && !\l__exsheets_heading_inline_bool } { |