I have mutiple authors with different affiliations. I am not able to keep them in separate lines. Also see warning message shown at end of this posting.
I actually had it workign file before I upgraded to R3.6.2 with tinytex_0.20 rmarkdown_2.1 .
Any help is appreciated.
the code in Rmd file:
################
title: Summary Report
author:
- "John Doe, Mike Mistery, Nance Mistery, Sam Excellent"
- "North America Explorer Team"
- "Christie Outstanding, Jon Goodfellow"
- "North America New Development"
date: "r format(Sys.time(), '%B %d, %Y')"
header-includes:
- \usepackage{titling}
- \pretitle{\begin{center}\LARGE\includegraphics[width=8cm]{blue_sky.png}\[\bigskipamount]}
- \posttitle{\end{center}}
- \usepackage{fancyhdr}
- \usepackage{xcolor}
- \pagestyle{fancy}
- \rhead{\includegraphics[width = .05\textwidth]{blue_sky.png}}
- \fancyfoot[CO,CE]{X Company Confidential}
- \fancyfoot[LE,RO]{\thepage}
- \fancypagestyle{plain}{\pagestyle{fancy}}
output:
pdf_document:
toc: true
################
the output in PDF:
################
test1.pdf (311.1 KB)
################
I also see
Warning message:
Package Fancyhdr Warning: \fancyfoot's E' option without twoside option is use less on input line 109. Package Fancyhdr Warning: \fancyfoot's E' option without twoside option is use
less on input line 110.
Package Fancyhdr Warning: \headheight is too small (12.0pt):
Make it at least 23.6612pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.