3

I would like to now how I can add a text right after a chapter.

Example: (How it is now)

Chapter 1

Introduction

[Text goes here]

I would like to add a chapter description between chapter and introduction.

Chapter 1

[Here goes chapter description]

Introduction

[more text]

Edit documentclass includes the following:

%% Send any unknown option to the report class
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{report}}

\ProcessOptions\relax

\ifgfivepaper
  \LoadClass[10pt]{report}
\else
  \LoadClass[12pt]{report}
\fi

\RequirePackage[utf8]{inputenc}
\RequirePackage[english]{babel}
\RequirePackage{titlesec}
\titleformat{\chapter}[display]
  {\normalfont\sffamily\huge\bfseries} 
  {\chaptertitlename\ \thechapter}{20pt}{\Huge}

Update: The following image is what I want to generate

enter image description here

This is how it is atm enter image description here

Thanks.

9
  • Welcome to TeX SX! Not just after ‘Introduction’, somewhat like an abstract?
    – Bernard
    Mar 9, 2018 at 12:26
  • Sorry about my previous comment, just understood what you mean. Mar 9, 2018 at 12:38
  • so when I use \chapter{Introduction}. I get Chapter 1 followed by Introduction and then I can write text afterwards. I would like to insert (lets say an abstract) normal text between those headlines.
    – Niklas
    Mar 9, 2018 at 12:40
  • The answer could possibly depend on the documentclass you're using, can you add that info, or even a minimal example along the lines of \documentclass{...} \begin{document} \chapter{Intro} Lorem ipsum. \end{document}? Mar 9, 2018 at 12:53
  • The documentclass is custom made, so dont really know what you need. But somethings that is included is: \DeclareOption*{\PassOptionsToClass{\CurrentOption}{report}} \RequirePackage[utf8]{inputenc} \RequirePackage[english]{babel} \RequirePackage{titlesec} \titleformat{\chapter}[display] {\normalfont\sffamily\huge\bfseries} {\chaptertitlename\ \thechapter}{20pt}{\Huge}
    – Niklas
    Mar 9, 2018 at 13:08

1 Answer 1

1

Solved this by adding the following before every chapter

{
\titleformat{\chapter}[display]
  {\normalfont\sffamily\huge\bfseries}
  {\chaptertitlename\ \thechapter}{5pt}
  {\begin{flushleft}
  \normalfont\normalsize\textit{Here is the place where the description of each chapter goes. \vspace{0.25cm}}
  \end{flushleft}
  \Huge}
\chapter{Introduction}
}
1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .