I'm writing my thesis using document class report
. The chapter titles are coming as "Chapter 1": a gap then on the next line "Introduction". I want to make it "1. Introduction". Can this be done?
I'm using the following code in my main tex file.
\documentclass[12pt]{report}
\usepackage[utf8]{inputenc}
\usepackage{geometry}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{booktabs,makecell,longtable}
\usepackage[T1]{fontenc}
\graphicspath{{images/}}
\title{}
\author
{}
\date{}
\begin{document}
\maketitle
\chapter*{Abstract}
\chapter{Introduction}
%\input{Chapters/Introduction}
...........
\chapter{Conclusion}
%\input{Chapters/Conclusion}
\chapter{Reference}
%\input{Chapters/Reference}
\end{document}
I would not like to change document class if possible, as I'm afraid that would create other formatting issues. Would appreciate any help.
Thanks.
titlesec
package and its\titleformat
command. Unrelated: loadinginputenc
is no more necessary, as this has been the default that latex expects for more than 3 years.