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 currently don't like the typesetting of a document. In my two sided document, I want that the chapter headings not have a vertical space before their appearance.

The text on the second page should start at line 1 or if it's possible on line 2.

My document preamble:

\documentclass[12pt,parskip=half,a4paper,twoside]{scrreprt}
[..]
\usepackage{fancyhdr}
\usepackage{titlesec}
[..]
\titleformat{\chapter}[hang]{\normalfont\huge\bfseries}{\thechapter}{1em}{\Huge}
\titlespacing*{\chapter}{0pt}{0pt}{1em}

\titleformat{\section}{\normalfont\Large\bfseries}{\thesection}{1em}{}
\titlespacing*{\section}{0em}{1em}{0em}

\titleformat{\subsection}{\normalfont\large\bfseries}{\thesubsection}{1em}{}
\titleformat{\subsubsection}{\normalfont\normalsize\bfseries}{\thesubsubsection}{1em}{}
\titleformat{\paragraph}[runin]{\normalfont\normalsize\bfseries}{\theparagraph}{1em}{}
\titleformat{\subparagraph}[runin]{\normalfont\normalsize\bfseries}{\thesubparagraph}{1em}{}

\begin{document}
[..]
\end{document}

Margin

share|improve this question
    
I see no vertical space before the chapter title. –  egreg Dec 2 '11 at 21:47
    
On the second page appear the text before the chapter heading on the first page. How can I make that everything on the same vertical position starts? –  Sam Dec 2 '11 at 21:53
    
Oh, yeah! That's not the heading, but a subsection title. –  egreg Dec 2 '11 at 21:56
add comment

1 Answer

up vote 11 down vote accepted

You can try with

\renewcommand{\chapterheadstartvskip}{\vspace*{-2\baselineskip}}

in your document preamble.

When using titlesec as you do, write

\titlespacing*{\chapter}{0pt}{-2\baselineskip}{1em}
share|improve this answer
    
Thank you for your answer. Unfortunately, it does not work. I use the package titlesec. Is this might the problem? –  Sam Dec 2 '11 at 22:39
    
@Sam If you want help about this you should show the relevant parts of your preamble. –  egreg Dec 2 '11 at 22:43
    
Your solution works when I don't use titlesec. I've updated my question. I think that's all, what is in context with my problem. –  Sam Dec 2 '11 at 22:51
    
Thank you so much egreg! –  Sam Dec 2 '11 at 23:02
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.