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

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

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