LaTeX forum ⇒ Theses, Books, Title pagesMaster-Doctoral-Thesis Template - Chapter # in Page number Topic is solved

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Belidan
Posts: 2
Joined: Tue Jul 03, 2018 3:42 pm

Master-Doctoral-Thesis Template - Chapter # in Page number

Postby Belidan » Tue Jul 03, 2018 3:56 pm

Hello Everyone,
I am writing my master thesis, using the template masters-doctoral-thesis (https://www.latextemplates.com/template ... ral-thesis).
Based on this post (https://latex.org/forum/viewtopic.php?f=59&t=26137) i was able to remove the chapter header for every title
(\titleformat{\chapter}{}{\bf\LARGE\thechapter~}{0em}{\bf\LARGE}).
Unfortunatley the Chapter still occurs in the page number (above the horizontal line where the page number and the current chapter description is). For example the chapter is called "introduction" the page numbering is: Chapter 1. Introduction. Is there a way to remove the Chapter?

Kind Regards, Dimitrij

Tags:

User avatar
Johannes_B
Site Moderator
Posts: 3854
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Tue Jul 03, 2018 6:38 pm

Welcome, the option chapterinoneline should get you already what you want without using package titlesec. Add the marked line to remove the string chapter from the header.

  1. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2. % Masters/Doctoral Thesis
  3. % LaTeX Template
  4. % Version 2.5 (27/8/17)
  5. %
  6. % This template was downloaded from:
  7. % <!-- m --><a class="postlink" href="http://www.LaTeXTemplates.com">http://www.LaTeXTemplates.com</a><!-- m -->
  8. %
  9. % Version 2.x major modifications by:
  10. % Vel (vel@latextemplates.com)
  11. %
  12. % This template is based on a template by:
  13. % Steve Gunn (http://users.ecs.soton.ac.uk/srg/softwaretools/document/templates/)
  14. % Sunil Patel (http://www.sunilpatel.co.uk/thesis-template/)
  15. %
  16. % Template license:
  17. % CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
  18. %
  19. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  20. \documentclass[
  21. english, % ngerman for German
  22. chapterinoneline, % Uncomment to place the chapter title next to the number on one line
  23. ]{MastersDoctoralThesis} % The class file specifying the document structure
  24. \usepackage{blindtext}
  25. \renewcommand{\chaptermarkformat}{\thechapter.~}% <------- add this line
  26. \begin{document}
  27. \chapter{Introduction}
  28. \newpage Wombat
  29. \end{document}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Belidan
Posts: 2
Joined: Tue Jul 03, 2018 3:42 pm

Postby Belidan » Tue Jul 03, 2018 8:24 pm

Hey Johannes_B,
thank you, worked perfectly :)
Kind Regards, Dimitrij


Return to “Theses, Books, Title pages”

Who is online

Users browsing this forum: No registered users and 3 guests