[Tex/LaTex] Formatting the thesis chapter title

chaptersformattingthesis

I am presently working on my masters thesis. My code is as follows

\documentclass[12pt, a4paper, oneside]{thesis}

\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}

\usepackage{fullpage}
\begin{document}
    \chapter{Introduction}
    %My introduction
\end{document}

But I am getting the output as follows:

enter image description here

I need the page to look like as follows:

enter image description here

What shall I do?

Best Answer

This looks very much like the regular chapter head. Here's the default report.cls header(s):

\def\@makechapterhead#1{% Header for \chapter
  \vspace*{50\p@}%
  {\parindent \z@ \raggedright \normalfont
    \ifnum \c@secnumdepth >\m@ne
        \huge\bfseries \@chapapp\space \thechapter
        \par\nobreak
        \vskip 20\p@
    \fi
    \interlinepenalty\@M
    \Huge \bfseries #1\par\nobreak
    \vskip 40\p@
  }}
\def\@makeschapterhead#1{% Header for \chapter*
  \vspace*{50\p@}%
  {\parindent \z@ \raggedright
    \normalfont
    \interlinepenalty\@M
    \Huge \bfseries  #1\par\nobreak
    \vskip 40\p@
  }}

I've taken the above, and added font-changing macros (\chaptertitlefont and \chapternamefont) where needed so you can modify them to suit your needs.

Here's a MWE:

enter image description here

\documentclass[12pt, a4paper, oneside]{Thesis}

\makeatletter
\renewcommand\@chapapp{\chaptername}
\newcommand{\chapternamefont}{\scshape\Large}% Chapter name font
\newcommand{\chaptertitlefont}{\LARGE\bfseries}% Chapter title font
\def\@makechapterhead#1{% Header for \chapter
  \vspace*{50\p@}%
  {\parindent \z@ \raggedright \normalfont
    \ifnum \c@secnumdepth >\m@ne
        {\chapternamefont\@chapapp\space \thechapter\par\nobreak}% \huge\bfseries
        \vskip 20\p@
    \fi
    \interlinepenalty\@M
    {\chaptertitlefont #1\par\nobreak}
    \vskip 40\p@
  }}
\def\@makeschapterhead#1{% Header for \chapter*
  \vspace*{50\p@}%
  {\parindent \z@ \raggedright
    \normalfont
    \interlinepenalty\@M
    {\chaptertitlefont#1\par\nobreak}
    \vskip 40\p@
  }}
\makeatother

\usepackage{amsmath,amsfonts,amssymb}
\usepackage{fullpage}

\begin{document}
\chapter{Introduction}
%My introduction
\end{document}

\chapternamefont sets the font for Chapter 1 (\scshape\Large by default) and \chaptertitlefont sets the font for Introduction (\LARGE\bfseries by default).

Related Question