[texhax] Q: howto put image in heading?

D. R. Evans doc.evans at gmail.com
Fri Feb 23 16:04:03 CET 2007


Philip G. Ratcliffe said the following at 02/23/2007 04:18 AM :
>> On 22/02/07, D. R. Evans <doc.evans at gmail.com> wrote:
>>> The subject pretty much says it all: I need to include a 
>> small  image
>>> in a heading. Can anyone point me to an example of how to do this?
> 
> \documentclass{article}
> \usepackage{graphicx}
> \begin{document}
> \section{\protect\includegraphics[height=2ex]{figurefile}}
> \end{document}
> 
> Is this what you want?

I don't think so. It looks like you thought I meant section headings, but I
meant page headings.

(Yeah, I find it confusing too; I would have thought that the things that
appear on each page were "headers", but the "A Guide to LaTeX" book calls
them "headings" rather than "headers", so I assumed in my posting that that
was the standard LaTeX terminology. Maybe it's just peculiar to that book.
The word "header" doesn't even appear in the index.)

I apologise for the confusion.






More information about the texhax mailing list