Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

about the table of contents #1

Closed
IanFla opened this issue Feb 24, 2022 · 3 comments
Closed

about the table of contents #1

IanFla opened this issue Feb 24, 2022 · 3 comments
Labels
good first issue Good for newcomers

Comments

@IanFla
Copy link

IanFla commented Feb 24, 2022

How to delete the 'Abstract' and add the 'Table of Contents' in the table of contents? (https://github.com/monaen/HKU-Thesis-Template/blob/master/Others/table_of_contents.png)

Thanks!

@monaen
Copy link
Owner

monaen commented Feb 24, 2022

Hi lanFla,

Thanks for your question.

To remove the ‘Abstract’ chapter from table of contents: you can just comment this line of code
\addchaptertocentry{\abstractname}
in the Abstract/abstract.tex file
image

To add 'Table of Contents', you can uncomment the toctotoc arguments settings in main.tex file.
image

If you are not satisfied with the name 'Contents', you can change the parameter '\contentsname' from the style setting file HKUThesis.cls
4343534534534534
You can replace '\contentsname' directly or give it a new value which is a string to be appeared in the TOC.

Best regards,

Nan

@monaen
Copy link
Owner

monaen commented Feb 24, 2022

Hope this resolve your problem.

@IanFla
Copy link
Author

IanFla commented Feb 24, 2022 via email

@IanFla IanFla closed this as completed Feb 24, 2022
@monaen monaen pinned this issue Feb 24, 2022
@monaen monaen added the good first issue Good for newcomers label Feb 24, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants