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.

How can I delete the white space between the chapter's title and the beginning of the page? That is, how to place a chapter's title the higher possible? I am using the book class.

share|improve this question
3  
Welcome to TeX.sx! to answer this question, it's helpful to know what document class you're using. a minimal working example (MWE) would be even better. –  barbara beeton Dec 3 '12 at 14:39
add comment

1 Answer 1

For the book class, you could redefine the \@makechapterhead. Example:

\documentclass{book}
\begin{document}
\chapter{First}
text

\newpage

text

\makeatletter
\def\@makechapterhead#1{%
  \vspace*{-\baselineskip}% in the original 50\p@, 
  {\parindent \z@ \raggedright \normalfont
    \ifnum \c@secnumdepth >\m@ne
      \if@mainmatter
        \huge\bfseries \@chapapp\space \thechapter
        \par\nobreak
        \vskip 20\p@
      \fi
    \fi
    \interlinepenalty\@M
    \Huge \bfseries #1\par\nobreak
    \vskip 40\p@
  }}
\makeatother

\chapter{Second}
text

\end{document}

With

\makeatletter
\show\@makechapterhead
\makeatother

before redefining \@makechapterhead you can tell LaTeX to show you the current definition of \@makechapterhead. If -\baselineskip still is not enough, you could sum up the lengths \headheight, \headsep, \baselineskip and whatever you want and use the negative of this length for the \vspace*{...}. (Some fixed value like 3cm would be possible, of course, but when you change font size, page size or something else this would need to be changed, too.)

share|improve this answer
    
Forgot to mention. I am using the {book} class. I am using the command \titlespacing*{\chapter}{0pt}{0pt}{40pt} in combination with the \titleformat, by calling the {titlesec} package. The result is a little improvement, but there is still some space. Any suggestions ? –  John Dec 3 '12 at 21:17
    
@John: The answer is now given for the book class. Does that help? –  Stephen Dec 4 '12 at 20:05
    
Thanks !! It works fine –  John Dec 5 '12 at 8:28
    
@John: Good to read this. You can also accept an answer, which also adds reputation for you and the person giving the answer, which would be me in this case :-) –  Stephen Dec 7 '12 at 19:27
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.