I can put an image on a page using \placefigure but how do I get an image to be placed in the header on each page, for example, a company logo?

I have looked in the manuals but can't seem to find anything, please could someone also give me a reference in the manual as well.

  • Have you tried putting it into the header (starer: here)?
    – TeXnician
    Mar 19 '17 at 15:05

You have the choice between :

putting the image in the header in a framed environnment

don't forget the right size for header (enough space for the image size)

Creating a layer with absolute positionning of the picture

\useMPlibrary [dum]

  [logo]         %% name of the layer
  [x=5mm,        %% from upper left corner of paper
   state=repeat] %% layer appears on all pages



  \dorecurse{10}{\input knuth\page}
  • 1
    You're missing state=repeat, otherwise the layer will only be displayed on the current page. And what is the sidebar layer supposed to do?
    – Marco
    Mar 19 '17 at 21:21
  • thanks, i forgot about the state=repeat. i've copied my own template which contains another layer called sidebar. My bad. I will edit my answer . thank you again Marco
    – tuxador
    Mar 20 '17 at 8:28

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.