How to write table of contents in Document

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to write table of contents in Document

Jump to solution
1,343 Views
nxf48223
NXP Employee
NXP Employee

Hi, 
I was trying to write table of contents for a Document I want to post in the NFC Community. 
But selecting the table of contents items from the menu I got the following: 

pastedImage_1.png

And I was not able to change its size or write anything to the contents. 

What I want is to do is to insert hyperlinks to different headers in the Document. 


1 Solution
1,157 Views
Adrian
Community Manager

Hello nxf48223‌, 

The table of contents is automatically generated once your document/question/discussion is posted.

First, you need to include the table of contents, in your body, you need to use the heading options to generate it.

example: 

Table of contents.png

The result: 

Heading 1

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas mattis aliquam ex vel hendrerit. Donec gravida quis lectus sit amet commodo.

Heading 1

Etiam pharetra magna eget libero egestas, nec congue eros pretium. Nam consequat placerat nulla vel rutrum. Integer tincidunt libero eu metus venenatis mattis. Curabitur pellentesque mollis dui non condimentum.

Heading 2

Nam cursus ex id arcu blandit gravida in et ante. Aenean eleifend lorem ipsum, sed efficitur risus pretium in. Duis aliquet venenatis pharetra. Pellentesque elementum ultricies ligula, ac accumsan leo porta nec. Pellentesque id lorem mauris. Maecenas luctus accumsan turpis eget laoreet.

Heading 3

Duis tempus, risus eget blandit suscipit, neque erat pharetra purus, sit amet rhoncus magna est a metus. Nunc molestie pellentesque ipsum, eu aliquam lectus egestas eget. Sed viverra nulla nisl, sed pellentesque mi porta et.

Heading 2

Etiam egestas risus id lacus tempus suscipit. Phasellus et neque leo. Nam suscipit tincidunt ipsum, eget lobortis lectus vestibulum nec. Proin pellentesque elit tincidunt ante iaculis, sed convallis elit mollis. Cras interdum semper hendrerit.

View solution in original post

1 Reply
1,158 Views
Adrian
Community Manager

Hello nxf48223‌, 

The table of contents is automatically generated once your document/question/discussion is posted.

First, you need to include the table of contents, in your body, you need to use the heading options to generate it.

example: 

Table of contents.png

The result: 

Heading 1

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas mattis aliquam ex vel hendrerit. Donec gravida quis lectus sit amet commodo.

Heading 1

Etiam pharetra magna eget libero egestas, nec congue eros pretium. Nam consequat placerat nulla vel rutrum. Integer tincidunt libero eu metus venenatis mattis. Curabitur pellentesque mollis dui non condimentum.

Heading 2

Nam cursus ex id arcu blandit gravida in et ante. Aenean eleifend lorem ipsum, sed efficitur risus pretium in. Duis aliquet venenatis pharetra. Pellentesque elementum ultricies ligula, ac accumsan leo porta nec. Pellentesque id lorem mauris. Maecenas luctus accumsan turpis eget laoreet.

Heading 3

Duis tempus, risus eget blandit suscipit, neque erat pharetra purus, sit amet rhoncus magna est a metus. Nunc molestie pellentesque ipsum, eu aliquam lectus egestas eget. Sed viverra nulla nisl, sed pellentesque mi porta et.

Heading 2

Etiam egestas risus id lacus tempus suscipit. Phasellus et neque leo. Nam suscipit tincidunt ipsum, eget lobortis lectus vestibulum nec. Proin pellentesque elit tincidunt ante iaculis, sed convallis elit mollis. Cras interdum semper hendrerit.