Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

share|improve this question
    
Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. In particular, there's no \chaptersize command in the report class, so you probably are loading some external packages and it's important to know which ones. –  egreg Jan 30 '13 at 14:03
    
Welcome to TeX.SX. Note that you don't have to sign with your name since it automatically appears in the lower right corner of your post. –  Claudio Fiandrino Jan 30 '13 at 14:11
add comment

1 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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.