Graphics, Figures & Tables ⇒ graphic in chapter title
Re: graphic in chapter title
So, now I have the problem that I want there to be a "Afterwords" chapter, and I don't want a picture there, but it shows up automatically. How do I return to the font of the preface?
NEW: TikZ book now 40% off at Amazon.com for a short time.
graphic in chapter title
You can group (using braces, for example) the chapters the will be affected by the heading redefinition, keeping the changes local.
The following schematic code illustrates this:
The following schematic code illustrates this:
Code: Select all
\documentclass{memoir}
\usepackage{titlesec}
\begin{document}
\chapter{Chapter with standard heading}
(chapter contents...)
{% by grouping you can keep the heading change local
\titleformat{\chapter}[hang]
{}{\fontsize{62pt}{132pt}\selectfont\thechapter}
{20pt}{}
\titlespacing*{\chapter}
{0pt}{20pt}{0pt}
\chapter{A chapter with modified heading}
(chapter contents...)
\chapter{Another chapter with modified heading}
(chapter contents...)
}
\chapter{Another chapter with standard heading}
(chapter contents...)
\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...