I'm using MastersDoctoralThesis template to write my thesis. By default it gives chapters as below:

1 Introduction

I want a title similar to below (center aligned, CAPITALIZED, and chapter number in roman numerals)

Chapter I



1 Answer 1


If you do not have to use this template, do not use it. See https://en.wikibooks.org/wiki/LaTeX/Scientific_Reports

Do not make any changes to the class file. If you do, you must rename it.

Add the following three lines to the preamble to get what you want. There is no need to change the class file. The class was designed to be customizable to the end user. The option chapterinoneline is not default and needs to be commented out.


and in the document body use


(note the extra craces).


Alternatively, one could use at a later point



to get the following result:


Disclaimer: Only with the next update.

  • thank you! it works .. but there are a liitle more concerns.1. Single set of braces worked as well. 2. chapter numbers are now I, II, III but when using \section{First section} in fourth chapter, it gives: IV.1 First section i.e section numbering also changed partially into roman (both in TOC and main body) PS : I need to keep section numbering
    – anup
    Mar 25, 2018 at 7:47
  • @anupdhungana Please edit the question.
    – Johannes_B
    Mar 25, 2018 at 7:48
  • Of course it changes. The sections inherit the style of the chapters. It is a matter of consistency.
    – Johannes_B
    Mar 25, 2018 at 7:49
  • You can change the section numbering similar to the chapter numbering. \renewcommand{\thesection}{\arabic{chapter}.\arabic{section}}
    – Johannes_B
    Mar 25, 2018 at 7:51
  • that works very well. one more question just for clarification: why is double braces required ? it worked in single {} in my case.
    – anup
    Mar 25, 2018 at 7:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .