[Tex/LaTex] Changing font size of chapter title without changing table of content font size

chaptersfontsizesectioning

I am using document class report and I want to change the font size of chapter titles. I defined the following command to change title font size

\newcommand{\chaptersize}{\fontsize{25}{12}\selectfont}

It does change the font size of the title but it also change the font size of chapter title in the table of contents. Please suggest how to avoid change in the TOC.

Best Answer

The chapter heading in report is defined by

\def\@makechapterhead#1{%
  \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@
  }}

So you can redefine that (between \makeatletter \makeatother) changing \Huge and \huge as required.