[texworks] Using RMarkdown and Putting in Headers and footers

Shane, Randy Randall_Shane at PremierInc.com
Sat Dec 5 22:36:17 CET 2015


I have the following at the beginning of my RMarkdown file and the title (Concepts for Consideration) is covered by the header which is a logo - I've tried everything. Any assistance will be greatly appreciated:

---

title: "Concepts for Consideration"

author: "Me"

date: "December 5, 2015"

geometry: margin=1in

output:

  pdf_document:

    fig_caption: yes

    highlight: espresso

    keep_tex: yes

    number_sections: yes

    toc: yes

fontsize: 12

header-includes:

   \usepackage{graphicx}

   \usepackage{fancyhdr}

   \usepackage{fancyhdr}

   \pagestyle{fancy}

   \fancyhead{}

   \fancyfoot{}

   \fancyhead[CO,CE]{\includegraphics{PremierSmall.png}}

---



\thispagestyle{fancy}

\pagebreak

\thispagestyle{plain}

\fancyhead{}

\fancyhead[R]{\thepage}

\fancyfoot[C]{\includegraphics{SmallHeader.png}}

\headheight = 12pt

\renewcommand{\headrulewidth}{0.8pt}

\renewcommand{\voffset}{0.8pt}

---

geometry: margin = 0.5in

geometry: bottom=1in

geometry: top=0.5in

---

# Executive Summary



----- configuration info -----
TeXworks version : 0.4.6r.c29723a (MiKTeX 2.9 64-bit)
Install location : C:/Users/rshane/Documents/MiKTex/miktex/bin/x64/miktex-texworks.exe
Library path     : C:/Users/rshane/AppData/Local/MiKTeX/2.9/TeXworks/0.4\
pdfTeX location  : C:/Users/rshane/Documents/MiKTex/miktex/bin/x64/pdftex.exe
Operating system : Windows Windows 7 Enterprise, 64-bit, Service Pack 1, build 7601
Qt version      : 5.4.1 (build) / 5.4.1 (runtime)
------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texworks/attachments/20151205/9ab51fe7/attachment-0001.html>


More information about the texworks mailing list