detiuaveiro / ua-thesis-template

📖 A thesis LaTeX template that complies with the University of Aveiro's guidelines and provides a simple CLI workflow around make and compatibility with Overleaf.
MIT License
103 stars 36 forks source link

Fixed the issue with the appendix lack of designation #34

Closed oEscal closed 1 year ago

oEscal commented 1 year ago

Signed-off-by: oEscal pedroescaleira@hotmail.com

Currently, there is a minor issue with the appendixes' designation. The expectation would be that their designation to be alphabetic, i.e., the first appendix chapter be represented by the letter A, the second by B, and so on. However, both in the table of contents and in each chapter appear without any letter (or number, for that matter). This problem also impacts the sections' or figures' numbering (in the current template, sections don't have numeration, and figures start their numeration from the beginning). This problem stems from using the command \backmatter at the end of matter.tex. This command removes the References' chapter numbering but ends up removing all numeration from that point on. We could fix this using the \mainmatter command, but that would start the page numbering all over again.

With all this in mind, this pull request fixes this issue with the creation of the \mainmatterWithoutReset, with a behavior similar to \mainmatter, but without resetting the page numbering.

Expected behavior: