1

I have the following code in my beamer presentation:

\addtoreporttemplate{frametitle}{}{
\begin{tikzpicture}[overlay,remember picture,inner sep=0pt, outer sep=0pt]
    \node[anchor=south,yshift=5pt] at (current page text area.south) {\includegraphics[height=0.8cm,width=\linewidth]{images/logo}};
\end{tikzpicture}}

\title{My Presentation}
\author{me}
\date{
\begin{tikzpicture}[overlay,remember picture,inner sep=0pt, outer sep=0pt]
    \node[anchor=south,yshift=5pt] at (current page text area.south) {\includegraphics[height=0.8cm,width=\linewidth]{images/logo}};
\end{tikzpicture}}

What i want to know is if there is a similar command for reports/articles, etc, i.e., like:

\addtoreporttemplate{}{
\begin{tikzpicture}[overlay,remember picture,inner sep=0pt, outer sep=0pt]
    \node[anchor=south,yshift=5pt] at (current page text area.south) {\includegraphics[height=0.8cm,width=\linewidth]{images/logo}};
\end{tikzpicture}}

So that my logo would be added to everypage.

I tried using fancy header, but the logo isn't added to my cover page.

  • 2
    Can you show us what you tried with fancy header? If the logo is missing from the cover page, one probably just needs to set the pagestyle for this page, something along the lines of \thispagestyle{fancy} – user36296 Apr 4 '17 at 11:13
1
\documentclass{book}

\usepackage{lipsum}
\usepackage{graphicx}
\usepackage{fancyhdr}

\pagestyle{fancy}
\fancyhf{}
\fancyhead{}
\fancyfoot[C]{\includegraphics[height=0.8cm,width=\linewidth]{example-image}}

\title{bla}
\author{bla}

\usepackage{etoolbox} %..http://tex.stackexchange.com/questions/199317/custom-footer-on-title-page-using-maketitle-and-book-document-class
\patchcmd{\maketitle}
  {\end{titlepage}}
  {\thispagestyle{fancy}\end{titlepage}}
  {}{}

\begin{document}
    \maketitle
    \lipsum
\end{document}

enter image description here

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.