How we give a vertical gap of 25 mm between the Chapter number (#) and chapter title lines and between chapter title line and the first paragraph.
Asked
Active
Viewed 1,410 times
2
1 Answers
1
Building on Space length between the chapter number and the chapter title, the spaces you're after are given in \@makechapterhead for \chapter (and \@makeschapterhead for \chapter*). The following definition(s) are taken from report.cls:
\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@% <--- Chapter title & Chapter text
\fi
\interlinepenalty\@M
\Huge \bfseries #1\par\nobreak
\vskip 40\p@% <------- Chapter text and first paragraph
}}
\def\@makeschapterhead#1{%
\vspace*{50\p@}%
{\parindent \z@ \raggedright
\normalfont
\interlinepenalty\@M
\Huge \bfseries #1\par\nobreak
\vskip 40\p@% <------- Chapter text and first paragraph
}}
These values can be patched/altered using etoolbox:

\documentclass{report}
\usepackage{etoolbox}% http://ctan.org/pkg/etoolbox
\makeatletter
% \patchcmd{<cmd>}{<search>}{<replace>}{<success>}{<failure>}
\patchcmd{\@makechapterhead}{20\p@}{25mm}{}{}% Correct \chapter
\patchcmd{\@makechapterhead}{40\p@}{25mm}{}{}% ... \chapter
\patchcmd{\@makeschapterhead}{40\p@}{25mm}{}{}% ... \chapter*
\makeatother
\begin{document}
\chapter{A chapter} Some text
\chapter*{Another chapter} Some text
\end{document}
-
It doesn't effect. Why you are giving it two or three times. It is same for \chapter{} and \chapter*{}. – Deepesh Patel Nov 29 '13 at 18:05
-
1@DeepeshPatel: Each patch changes a single thing. The first does a search-and-replace of
20\p@to25mmin\@makechapterhead. The second does a search-and-replace of40\p@to25mmin\@makechapterhead. The third does a search-and-replace of40\p@to25mmin\@makeschapterhead. Two different macros, three different search-and-replaces. Are you perhaps loading some sectioning package liketitlesec? Sectioning packages usually redefine these macros I'm trying to update, causing the search-and-replace to not work. – Werner Nov 29 '13 at 18:10
\documentclassare you using? – Werner Nov 29 '13 at 17:39