# Figure in the Chapter

How can I put an image together with the chapter style in scrbook class (chaptername, chapternumber capitalized - left aligned -, and a figure above them, centered, like the scheme below)?

                                   figure

chaptername chapertnumber

-
what should be left aligned? The figure or the title – Herbert Jan 23 '11 at 8:21

## 1 Answer

There's a macro \chapterheadstartvskip which can be used for producing vertical space before the chapter heading. You could redefine that macro to include an image besides making just space. For example:

\documentclass{scrbook}
\usepackage[demo]{graphicx}
\let\oldchapterheadstartvskip\chapterheadstartvskip
\renewcommand*{\chapterheadstartvskip}{%
\oldchapterheadstartvskip%
{\centering\includegraphics{image}\par}
}
\begin{document}
\chapter{Test}
Text
\end{document}


-