An R Markdown Solution
and think about the time to deal with logos, positioning, colors schemes, …
---
title: "Document with logo"
header-includes:
\usepackage{graphicx}
\usepackage{fancyhdr}
\pagestyle{fancy}
\setlength\headheight{28pt}
\fancyhead[L]{\includegraphics[width=10cm]{logo.png}}
\fancyfoot[LE,RO]{GPIM}
output: pdf_document
---
\addtolength{\headheight}{1.0cm}
\fancypagestyle{plain}{} the first page
\thispagestyle{fancy}
\fancyhead[L]{\includegraphics[width = 100pt]{logo.png}}
\renewcommand{\headrulewidth}{0pt}
---
title: "Document with logo"
header-includes:
\usepackage{graphicx}
\usepackage{fancyhdr}
\pagestyle{fancy}
\setlength\headheight{28pt}
\fancyhead[L]{\includegraphics[width=10cm]{logo.png}}
\fancyfoot[LE,RO]{GPIM}
output: pdf_document
---
\addtolength{\headheight}{1.0cm}
\fancypagestyle{plain}{} the first page
\thispagestyle{fancy}
\fancyhead[L]{\includegraphics[width = 100pt]{logo.png}}
\renewcommand{\headrulewidth}{0pt}
---
title: "Document with logo"
header-includes:
- \usepackage{graphicx}
- \usepackage{fancyhdr}
- \pagestyle{fancy}
- \setlength\headheight{28pt}
- \fancyhead[L]{\includegraphics[width=5cm]{cynkra-logo.png}}
- \fancyfoot[LE,RO]{GPIM}
- \usepackage{fancyhdr}
- \pagestyle{fancy}
- \fancyhead[CO,CE]{This is fancy header}
- \fancyfoot[CO,CE]{And this is a fancy footer}
- \fancyfoot[LE,RO]{\thepage}
output: pdf_document
---
\addtolength{\headheight}{1.0cm}
\fancypagestyle{plain}{} the first page
\thispagestyle{fancy}
\fancyhead[L]{\includegraphics[width = 100pt]{cynkra-logo.png}}
\renewcommand{\headrulewidth}{0pt}
After setting up the colors, fonts, table of content…
Source: www.tg.ch
Keep all corporate design elements as code
indiedown does not modify the default .tex
. Extends Pandoc .tex
After the new package is built and installed, you will have available the new template (after restart)
---
title: "Document with logo"
header-includes:
- \usepackage{graphicx}
- \usepackage{fancyhdr}
- \pagestyle{fancy}
- \setlength\headheight{28pt}
- \fancyhead[L]{\includegraphics[width=10cm]{logo_here.png}}
- \vspace*{2cm}
output: pdf_document
---
\addtolength{\headheight}{1.0cm}
\fancypagestyle{plain}{}
\thispagestyle{fancy}
\fancyhead[L]{\includegraphics[width = 100pt]{logo_here.png}}
\renewcommand{\headrulewidth}{0pt}
\vspace*{2cm}
\clearpage
Source: www.tg.ch
Source: www.stadt-zuerich.ch: report on top, report on bottom
Angelica Becerra - https://indiedown.cynkra.com/