In a book, with the book documentclass, I'm typesetting I want to include a figure above the \chapter title. This however has turned out to be hard. With the following code:
\chapter{Uppväxt}
\begin{figure}[ht]
\includegraphics[width=\textwidth]{bilder/hus.jpg}
\end{figure}
\noindent
\lipsum
Produces the following result:
Placing \figure
above \chapter
results in the image being put on the previous page due to the \clearduble
command of \chapter
, which is desirable for the rest of the book. Changing the options of \figure
to [t]
results in the figure being included on the next page. It seems like no other combination of positioning options seems to help either.
Can anyone think up a way of placing the figure above the chapter?
\documentclass
you are using, because they define\chapter
in different ways. some classes even go to extra trouble to prevent floats from coming at the top of the first page of a chapter. my inclination is that this picture should be treated not as a float, but inserted via some explicit mechanism within the (altered)\chapter
framework. but the particular mechanism that might be successful does depend strongly on the\documentclass
.eso-pic
orbackground
ortextpos
packages and overlay the image.