0
\documentclass[a4paper,12pt]{report}
\usepackage[margin=2.5cm]{geometry}
\usepackage{titlesec}

\begin{document}
\chapter*{Introduction}
Lorem...
\chapter{Lorem}
\section{Lorem Ipsum}
Lorem...
\section{Lorem Ipsum}
Lorem...
\end{document}

Each chapter starts at a new page. And at the begining of a new chapter either I use \chapter*{} or \chapter{}, there is a huge vertical space upwards. How could I reduce that space?

3 Answers 3

2

Just use

\titleformat{\chapter}[display]
{\normalfont\huge\bfseries\vskip -30pt}{\chaptertitlename \thechapter}{20pt}{\Huge}

You also need to add \usepackage{titlesc}

If you want to move it even more use -40pt

2

titlesec also offers the function \titlespacing

\documentclass[a4paper,12pt]{report}
\usepackage[margin=2.5cm]{geometry}
\usepackage{titlesec}

\titleformat{\chapter}%
    [display]% display, hang, runin, block
    {\huge\bfseries}% Format
    {\chaptertitlename{} \thechapter}% Label
    {10pt}% Label - Title spacing
    {}% pre-code
    []% post-code

\titlespacing{\chapter}%
    {0pt}% Left margin
    {4pt}% Pre spacing
    {12pt}% Post spacing
    [0pt]% Right margin}

\begin{document}
\chapter*{Introduction}
Lorem...
\chapter{Lorem}
\section{Lorem Ipsum}
Lorem...
\section{Lorem Ipsum}
Lorem...
\end{document}

In this case, you need to tweak the pre spacing (3rd argument)

2
  • It is not working \titlespacing{\chapter}{0pt}{-40pt}{0pt}[0pt]
    – mala97
    Dec 28, 2022 at 20:05
  • My bad, i assumed you were also tweaking the chapter with titleformat. I updated a MWE, see if it fits Dec 28, 2022 at 20:50
-1

Add the following lines in your preamble

\usepackage{tocloft}
\setlength{\cftbeforetoctitleskip}{-1\baselineskip}
\setlength{\cftaftertoctitleskip}{0in}

You can tweak the spacing.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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