TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can anyone recommend/provide an example as to include pictures in the chapter headers? Any packages known for this?

I have read about fncychap which looks great, but would still require add'l programming to include pictures which is what I would apparently need anyway.

share|improve this question

Here's an example using the memoir class; perhaps one of the other options would have an easier approach. You'll need to load some sort of package like memoir or KOMA-Script or fncychap to be able to write this sort of thing without too much programming, but as you can see below, there's still some manual bits and pieces.

   \smash{%             = don't take up any vertical space
      \raisebox{1cm}{%   = place graphic at a certain height
       \rule{5em}{5em}% = insert graphic
share|improve this answer
Nice! I was reading titlesec's documentation for an alternative, but just gave up after a while. – Juan A. Navarro Sep 28 '10 at 12:31
but this will always be the same picture, won't it? – pluton Sep 28 '10 at 19:32
Writing a macro to change the picture is left as an exercise for the reader :-) – Will Robertson Sep 29 '10 at 2:02
hum, I see. Not an easy one I think. – pluton Oct 1 '10 at 13:30
In the example above, how about \insertmygraphic where the rule is and then a command \newcommand\specifygraphic[1]{\def\insertmygraphic{\includegraphics{#1}}}. – Will Robertson Oct 1 '10 at 14:06

Here's a solution using book (or report) class and the titlesec package. I include it here mainly for reference, since I would strongly recommend using the memoir class over book for any large project. But if you are bent on using the standard classes, titlesec provides a simple solution to the problem.

 {\rule{1in}{1in}% (to auto-insert graphic use) \includegraphics{\chaptername-\thechapter-graphic}
  {\\\chaptertitlename\ \thechapter\\}
\chapter{A chapter}
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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