I want to add images as headers and footers (in keeping with my organizations visual identity) to PDF reports. I've managed to do it in Sweave but I'd also like to be able to do it using just Markdown. I can insert the image using ![footer](H:/R/Footer.pdf)
however when I try to use the wallpaper package (like I do in Sweave) I get an error.
---
title: "2014 Report"
author: "My Name"
date: "Monday, October 06, 2014"
output:
pdf_document:
number_sections: yes
toc: yes
fontsize: 10pt
header-includes:
- \usepackage{wallpaper}
abstract: This is my abstract
---
\LRCornerWallPaper{0.99}{![footer](H:/R/Footer.pdf)}
Is there a way in Markdown, or do I need to stick to Sweave?
The correct usage of the wallpaper
package in this case would be simply
\LRCornerWallPaper{0.99}{path/to/pic}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With