Site icon texblog

Add your logo to the title page using thispagestyle

Adding your company’s logo or brand to the title page of an product description, general terms and conditions or news announcement makes it look more professional. This quick post shows an easy way how to do this using Latex.

We define a simple fancy header for the title page, adding the logo to the right-hand side of the header:

\fancyhead[L]{}
\fancyhead[R]{ \includegraphics[width=4cm]{company-logo.pdf} }
\renewcommand{\headrulewidth}{0pt}

Next, we set the page style of the article to be plain:
\pagestyle{plain}

Finally, we add the title and set the page style of the title page to fancy:

\thispagestyle{fancy}

Complete code example:

\documentclass[12pt]{article}
\usepackage{fancyhdr, graphicx}
\renewcommand{\headrulewidth}{0pt}
\fancyhead[L]{}
\fancyhead[R]{
\includegraphics[width=4cm]{company-logo.pdf}
}
\pagestyle{plain}
\title{\flushleft{My Product Description}}
\date{}
\begin{document}
\maketitle
\thispagestyle{fancy}
\section{Overview}
...
\end{document}

Exit mobile version