TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

I am trying to fix an image in the top of a page, according with the margins definitions. It is the logo of a conference paper, so it has to be in the head of the first page. How can i do it? Thank you for your attention!


share|improve this question
Welcome to TeX.SX! So it's just the first page, not all pages? Could tex.stackexchange.com/questions/44169/… or tex.stackexchange.com/a/59285/586 be helpful? – Torbjørn T. Mar 11 '14 at 12:10

Respect to tcassanelli's answer, note that you can define more of one header style and change among them.

To make a new style:

  %definition here

To use the above style only in the actual page:


But if you want only a logo in the first page, another option could be the wallpaper package. In this way the logo do not take space, so the position of any other object in the document remain unchanged. A minimal working example:


\usepackage{lipsum} % dummy text
\title{Minimum exemplum laborandi}
\author{Franciscus Studiosum Somniantis} 




\section{Materia et modos} 
share|improve this answer

Have you tried Fancy package?

\usepackage{fancyhdr} % Custom headers and footers
\pagestyle{fancyplain} % Makes all pages in the document conform to the custom headers and footers
\fancyhead[R]{\includegraphics{image}}%You could place here the image. 
\fancyfoot[L]{} % Empty left footer
\fancyfoot[C]{} % Empty center footer
\fancyfoot[R]{\thepage} % Page numbering for right footer
share|improve this answer
Thank you for your help, but I need it just for the first page and without the black line under the image. – nicolo Mar 11 '14 at 12:46
Besides, the following text is overlying on the logo – nicolo Mar 11 '14 at 12:48
the back line is easily remove by \renewcommand{\headrulewidth}{0pt} – tcassanelli Mar 11 '14 at 12:48
or you could use \rhead{} for the next pages. – tcassanelli Mar 11 '14 at 12:51

With the following:

    \pagestyle{fancy} % Makes all pages in the document conform to the custom headers and                               footers
   \fancyhead[R]{\includegraphics{logo}}%You could place here the image. 

the head is fine, the problem is the bottom part of the text that doesn't respect the margins. I defined them in this way:

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.