I would like to add an image to the title page of a PDF document rendered using RStudio with knitr. How can I include an image on the first page above the title?
I'm trying to use - \includegraphics{logo.png}
which works, but then I cannot include subtitle text. I also cannot include this under title:
subtitle:
- \includegraphics{logo.png}
header-includes:
- \usepackage{graphicx}
output:
pdf_document:
toc: true
toc_depth: 4