LyXGraphics in the Footer

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
mc007
Posts: 2
Joined: Fri Sep 16, 2011 12:50 pm

Graphics in the Footer

Post by mc007 »

Hello!

I'd like to insert a little picture in the footer of each page. I tried to implement that with the following code in the LaTeX-Preamble under Document-Settings:

Code: Select all

\usepackage{graphicx}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[L]{}
\fancyhead[C]{}
\fancyhead[R]{Titel}
\renewcommand{\headrulewidth}{0.4pt}
\fancyfoot[L]{\includegraphics[width=2cm]{pic/logo300dpi}
\fancyfoot[C]{PA}
\fancyfoot[R]{\thepage}
\renewcommand{\footrulewidth}{0.4pt}
But when I generate a PDF there is no picture visible in the footer. When I manipulate the height of the picture, the footrule moves. So I guess LyX inserts something anyway.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

PhilipPirrip
Posts: 10
Joined: Sat Sep 10, 2011 10:59 pm

Graphics in the Footer

Post by PhilipPirrip »

Code: Select all

\fancyfoot[L]{\includegraphics[width=2cm]{pic/logo300dpi}
Seems like one } is missing here.
mc007
Posts: 2
Joined: Fri Sep 16, 2011 12:50 pm

Graphics in the Footer

Post by mc007 »

PhilipPirrip wrote: Seems like one } is missing here.
Correct. But that didn't solve the Problem. Could this be a problem with the MiKTeX?
Post Reply