First of all, sorry about the poor title, but I searched for ten minutes and couldn't find a better one..

I'm using fancyhdr to set some custom headers and footer in my LaTeX document.

I'd like to make my top left image overlap the auto-generated header line. To be clear, I'd like the Eiffel tower to overlap the line in the picture below :

Header picutre

My current code to get this result is pretty simple, but I have no idea on how to solve my goal :


Use \raisebox{<len>}[0pt][0pt]{\includegraphics[..]{...}} with a negative <len> to drop the image as far as you want.

Here's an example:

enter image description here


\fancyhf{}% Clear fancy header/footer

\chapter{A chapter}


In the example, the image is dropped 70% of its own height (\height). For help on the syntax of \raisebox, see source2e (section 57 LaTeX Box commands, p 232):


Raises <box> up by length (down if <distance> negative). Makes TeX think that the new box extends <height> above the line and <depth> below, for a total vertical length of <height>+<depth>. Default values of <height> & <depth> = actual height and depth of box in new position.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.