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.def46
1 files changed, 23 insertions, 23 deletions
diff --git a/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def b/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def
index 7c320340b2c..637cde2cfd0 100644
--- a/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def
+++ b/Master/texmf-dist/tex/latex/exsheets/exsheets_headings.def
@@ -207,28 +207,6 @@
\AssignTemplateKeys
\bool_if:NT \l__exsheets_heading_inline_bool
{ \cs_set_eq:NN \exsheets_par: \scan_stop: }
- \bool_if:nT
- { \l__exsheets_questions_totoc_bool && \l__exsheets_inside_question_bool }
- {
- \phantomsection
- \addcontentsline { toc } { \l__exsheets_questions_toclevel_tl }
- {
- \bool_if:NTF \l__exsheets_heading_toc_reversed_bool
- { #2 \ #1 }
- { #1 \ #2 }
- }
- }
- \bool_if:nT
- { \l__exsheets_solutions_totoc_bool && !\l__exsheets_inside_question_bool }
- {
- \phantomsection
- \addcontentsline { toc } { \l__exsheets_solutions_toclevel_tl }
- {
- \bool_if:NTF \l__exsheets_heading_toc_reversed_bool
- { #2 \ #1 }
- { #1 \ #2 }
- }
- }
\seq_set_split:NnV \l__exsheets_heading_joined_coffins_seq { ; }
\l__exsheets_heading_joined_coffins_tl
\seq_set_split:NnV \l__exsheets_heading_attached_coffins_seq { ; }
@@ -382,6 +360,28 @@
\noindent
}
\skip_set:Nn \parfillskip { 0pt plus 1fil }
+ \bool_if:nT
+ { \l__exsheets_questions_totoc_bool && \l__exsheets_inside_question_bool }
+ {
+ \phantomsection
+ \addcontentsline { toc } { \l__exsheets_questions_toclevel_tl }
+ {
+ \bool_if:NTF \l__exsheets_heading_toc_reversed_bool
+ { #2 \ #1 }
+ { #1 \ #2 }
+ }
+ }
+ \bool_if:nT
+ { \l__exsheets_solutions_totoc_bool && !\l__exsheets_inside_question_bool }
+ {
+ \phantomsection
+ \addcontentsline { toc } { \l__exsheets_solutions_toclevel_tl }
+ {
+ \bool_if:NTF \l__exsheets_heading_toc_reversed_bool
+ { #2 \ #1 }
+ { #1 \ #2 }
+ }
+ }
\coffin_typeset:Nnnnn \l__exsheets_heading_main_coffin
{ H } { l } { 0pt }{ 0pt }
\bool_if:nT
@@ -422,4 +422,4 @@
}
}
-\tex_endinput:D \ No newline at end of file
+\tex_endinput:D