How to Include the Table of Contents in the Outline (Table of Contents)?

Hey y´all, first post here.

I am currently creating my first Thesis and my institute requires that the Table of Content is shown in the Table of Content itself.

I used the outline command without title and added a Heading, which works, BUT it has got a numbering on the document now. Can anyone help?

Welcome to the forum,

In order for us to help, would you be able to post what you are expecting as a result, maybe a screenshot of the expectation, with the code snippet you are using? Perhaps your institute has a template you could share?

Is this code snippet like the one you are using?

= Table of Contents
#outline(title: none)
#pagebreak()
= First Chapter

What is missing? Or what are you expecting? And what is that numbering you are referring to? A page number?

Edit:

Maybe you have numbered headings and want to avoid numbering the Table of Contents?

#set heading(numbering: "1.1.")


#heading(numbering: none)[Table of Contents]
#outline(title: none)
= First Chapter
1 Like

Thank you, the second one wsa what I was looking for.

This is a way to do it - we modify the default style with a show-set with the right scope:

#show outline: set heading(outlined: true)
#outline()

render

3 Likes

Yep! And to keep the content flexible, a set rule can be used to change the outline title:

#show outline: set heading(outlined: true)
#set outline(title: "Table of Contents")

#outline()

= Heading