i would like to change the "chapter" style of the documentclass "report" to read something like
1. Introduction
in stead of
Chapter 1
Introduction
Can anyone help me with this? Do I need titlesec
or is fncychap
enough?
Kind regards
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityi would like to change the "chapter" style of the documentclass "report" to read something like
1. Introduction
in stead of
Chapter 1
Introduction
Can anyone help me with this? Do I need titlesec
or is fncychap
enough?
Kind regards
With fancychap
you have limited styles. On the other hand titlesec
can help you to design whatever you want. Further, if you use fancychap
, you will be making the Italian TeX
guru (aka egreg) unhappy (which I won't do) ;-)
Here is a sample with titlesec
. Adjust the lengths as you like.
\documentclass{report}
\usepackage{titlesec}
\titleformat{\chapter}[display]
{\normalfont\huge\bfseries}{}{0pt}{\Huge\thechapter.\hskip0.5em}
\titleformat{name=\chapter,numberless}[display]
{\normalfont\huge\bfseries}{}{0pt}{\Huge}
\titlespacing*{\chapter} {0pt}{0pt}{40pt}
\titlespacing*{name=\chapter,numberless} {0pt}{0pt}{40pt}
\begin{document}
\tableofcontents
\chapter{Introduction}
\end{document}
titlesec
. But are you already usingfnchchap
independently? Perhaps you could post a minimal working example (MWE) that shows what you're doing. – Alan Munn Apr 12 '15 at 15:03fancychap
has predefined styles i think what you need is not part of them but with titlesec you can do this easy. – touhami Apr 12 '15 at 15:21