Dear all,
I am creating a template whose outline requires some customization. One of them is related to the part of the document. Currently, the function for creating part has the following structure:
#let part(title) = {
// Definition of the style in the document
...
// Definition of the elements for the outline
show heading: none
heading(numbering: none)[...]
}
This approach has several drawbacks in my opinion:
- The customization of
outline.entryfor level-1 headings affects also thepartfunction - A possible way to provide a customization is to use e.g.
headings(level: 10, numebering :none)to define a unique customization. In this case, however, I can’t use#set outline(depth: 3)(because the heading for part won’t be display anymore). - I had a look at this thread, but I would prefer a less hacky solution if exists.
Do you have any idea or indication for including styling part just as the LaTeX \addcontentsline{}.
Thank you