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

I am trying to follow this discussion, but I get the following error when I am trying to have a picture in the title.

My TeX

\usepackage[orientation=portrait, size=a0]{beamerposter} 

\setbeamersize{text margin left=0cm,text margin right=0cm} %removes left and right margins 


\vskip 50mm
    Hello world


I get the errors like this

Package hyperref Warning: Token not allowed in a PDF string (Unicode):
(hyperref)                removing `\@ifnextchar' on input line 22.

similar error message as here. I get an empty sheet after running the code.

How can you have a picture in the title of Beamer class for a poster?

share|improve this question
Your code works fine on my machine (with TeXWorks + MikTeX 2.9), after replacing logo.gif with image from the mwe package. – Herr K. Jan 20 '14 at 8:59
I removed the package mwe, and still the same problem. – Masi Jan 20 '14 at 10:18
up vote 4 down vote accepted

pdflatex does not support the gif format! See the answer (<- link to answer) from Martin Scharrer. "Just" create a valid png with transparency and include it.

You can test the transparency for example by including it in a PowerPoint document.

Answer in a nutshell (pdftex manual, possible image types):

The image type is specified by the extension of the given file name: .png stands for png image, .jpg (or .jpeg) for jpeg, .jbig2 (preferred, but .jb2 works also) for jbig2, and .pdf for pdf file.

share|improve this answer
You link to Martin, but you do not include the link to his answer. Can you update the link where you refer? There are many ways to create the transparency. OSX Preview and magic wand create very sharp corners. I have not been able create a good transparency with Photoshop CC. I have white background in the picture. – Masi Jan 20 '14 at 13:46
Hello. The link to the answer is the "answer". Maybe you didn't see it. But I can update my answer anyway and add the actual answer. – Dr. Manuel Kuehner Jan 20 '14 at 13:53
I accept this answer because it answers the question. My next problem is to have such a transparency which I accepts for my picture, probably created by Photoshop CC. – Masi Jan 20 '14 at 14:30



an image cannot be part of the bookmarks. And, of course, use a .png, .pdf or .jpg image format.

share|improve this answer
of course...didn't see that it's part of the bookmark – Dr. Manuel Kuehner Jan 20 '14 at 14:04

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.