I'm looking to personalise my own chapter style as shown in the photo.
Despite a few articles on the subject I haven't managed to fully understand how it works and what needs to be done to achieve the following result. My document is a report.
I'm looking to personalise my own chapter style as shown in the photo.
Despite a few articles on the subject I haven't managed to fully understand how it works and what needs to be done to achieve the following result. My document is a report.
This is quite easy using a configurable class like the KOMA-Script classes scrreprt, which is another report class, or scrbook, which is another book class:
\documentclass[chapterprefix]{scrreprt}% or scrbook
\usepackage{libertinus}% use any scalable font you want
\setkomafont{chapter}{\normalfont\huge}% Font of the chapter title
\setkomafont{chapterprefix}{\normalfont\fontsize{48}{48}\selectfont}% Font of the chapter number
\renewcommand*{\chapterformat}{\thechapter}% Use just the chapter number without any prefix in the number line
\let\raggedchapter\centering% horizontal centering of chapter headings
\usepackage{lipsum}\setcounter{chapter}{2}% Only for demonstration
\begin{document}
\chapter{Methodology}
\lipsum[1]
\end{document}
Several more configuration options are provides, e.g., to modify the spaces above the number, below the number and below the title. See the KOMA-Script manuals for more information.
Similar things can be done using, e.g., memoir class or package sectsty or titlesec. Please see the manuals for more information and ask a question with minimal working example if you have problems implementing your requests.
scrreprt, which is not report but still a report class. The examples in the linked answers work with both book and report or already show solutions using report. So your changed question IMHO is a duplicate.
– cabohah
Mar 08 '24 at 10:53
titlesecorsectstypackages. There are a lot of questions already on this site and tutorials on how to use these packages. – Mane32 Mar 08 '24 at 14:23