in-dexter seems to use the defined headings for headings within the index (for each letter of the alphabet?). I have show rules for the level 2 and 3 which change the appearance of the number and add space. How can iI override this for in-dexter or change the header level it uses internally?
The only way as kar as I know would be to scope these show rules for the “main” section,
#[
// main document
#show heading.where(level: 2): ...
== Styled Heading
...
]
== Unstyled Heading
in-dexter accepts a function for the section-title parameter, so you can set it to e.g. level 4, or even customise it further if you wish:
#make-index(
section-title: (letter, counter) => heading(
level: 4,
numbering: none,
outlined: false,
letter
)
)
the function worked perfectly, even allowed multiple column which had caused issues before. Thanks a lot!