TeX - LaTeX Asked on July 15, 2021
I am writing up a template for my PhD thesis, and am making the title pages for the scientific publications to be included. Following daleif’s recommendation from here, I am using the titlingpage
environment to do this, and then using addcontentsline
to add it to the toc.
But the page number is reset to 1 in the toc. How can I make it continue the page counter used earlier?
MWE
documentclass[openright]{memoir}
usepackage{lipsum}
begin{document}
tableofcontents
chapter{Introduction}
lipsum[1-3]
chapter{Methodology}
lipsum[4-6]
chapter{Results and Discussion}
lipsum[7-9]
chapter{Conclusion and Outlook}
lipsum[10]
cleardoublepage
begin{titlingpage}
addcontentsline{toc}{chapter}{Custom Title Page}
centering
phantom{---}
vfill
scshapeHuge
An Awesome Title Page
vfill
end{titlingpage}
end{document}
As daleif explained in the comments above, the starred version of titlingpage
solves the problem:
documentclass[openright]{memoir}
usepackage{lipsum}
begin{document}
tableofcontents
chapter{Introduction}
lipsum[1-3]
chapter{Methodology}
lipsum[4-6]
chapter{Results and Discussion}
lipsum[7-9]
chapter{Conclusion and Outlook}
lipsum[10]
cleardoublepage
begin{titlingpage*}
addcontentsline{toc}{chapter}{Custom Title Page}
centering
phantom{---}
vfill
scshapeHuge
An Awesome Title Page
vfill
end{titlingpage*}
end{document}
Answered by Yoda on July 15, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP