I am using this Overleaf template provided in template link

They given:

enter image description here

I want to change to this chapter layout:

enter image description here

Is it possible? I cannot find out where they do the setting for this.

They main.tex file:


% Title page

% All subsequent pages must be numbered, title page is considered page i,
% front matter is numbered in lowercase Roman numerals

% Dedication (optional)

% Acknowledgments

% Abstract

% Table of Contents, List of Tables, List of Figures

%List of Tables & Figures

%%%%%%%%%%%%%%%%%%%% DISSERTATION CONTENT %%%%%%%%%%%%%%%%%%%%

% Regular numbering starts now, first page of first chapter is page 1

% Body





% References


  • I think it will be next-to-impossible for others to compile your document since it has \include{structure/title} and many more \includes of files that most of us won't have. But you can get any layout of the chapter headings with the titlesec package.
    – user194703
    Dec 30, 2019 at 4:46

1 Answer 1


I will be happy to remove this but maybe

  {\filcenter\chaptertitlename\ \thechapter\filcenter\\}{20pt}{\Huge}
\chapter{Study 1: Study about \LaTeX}

enter image description here

gives you what you want. As I wrote in the comment, it is impossible to test this in your document, so all I did is to get the class from the link, and to use it in the answer.

  • cat. Thanks a lot. It really works well. I just put your code in different tex. main.tex and chapter.text Really work well. Thanks!
    – aan
    Dec 30, 2019 at 5:02
  • @aan You're welcome! Please consider for the future to add codes that everyone can compile, Then several users will upvote them because they are useful for many. Thanks! ;-)
    – user194703
    Dec 30, 2019 at 5:05
  • cat. Noted. Because the template have several file in different location. I will try make it in one file. Secondly. can I ask how to change the font size? The 20pt in {\filcenter\chaptertitlename\ \thechapter\filcenter\\}{20pt}{\Huge} is the font size. Can i have like Chapter 1 bigger size, and Study 1:xxx smaller size?
    – aan
    Dec 30, 2019 at 5:09
  • 1
    @aan \titleformat{\chapter}[block] {\normalfont\sffamily\Huge\bfseries\filcenter} {\filcenter\chaptertitlename\ \thechapter\filcenter\\}{20pt}{\Large}. In this modified version, \Huge controls the size of Chapter 1 and \Large the size of the rest.
    – user194703
    Dec 30, 2019 at 5:12
  • cat. Thanks! Brilliant. Thanks once again
    – aan
    Dec 30, 2019 at 5:18

You must log in to answer this question.

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