Theses, Books, Title pagesMaster-Doctoral-Thesis Template - Chapter # in Page number

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

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

Post by Belidan »

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

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

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

Post by Johannes_B »

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.

Code: Select all

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Masters/Doctoral Thesis 
% LaTeX Template
% Version 2.5 (27/8/17)
%
% This template was downloaded from:
% http://www.LaTeXTemplates.com
%
% Version 2.x major modifications by:
% Vel (vel@latextemplates.com)
%
% This template is based on a template by:
% Steve Gunn (http://users.ecs.soton.ac.uk/srg/softwaretools/document/templates/)
% Sunil Patel (http://www.sunilpatel.co.uk/thesis-template/)
%
% Template license:
% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[
english, % ngerman for German
chapterinoneline, % Uncomment to place the chapter title next to the number on one line
]{MastersDoctoralThesis} % The class file specifying the document structure
\usepackage{blindtext}
\renewcommand{\chaptermarkformat}{\thechapter.~}% <------- add this line
\begin{document}
\chapter{Introduction}
\newpage Wombat
\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

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

Post by Belidan »

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