
我一直在嘗試向此報告添加頁腳,該頁腳是用rmarkdown
;生成的然而,無論我做什麼,它對我來說都不起作用。
---
header-includes:
\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage{eurosym}
\usepackage{booktabs,xcolor}
\pagestyle{fancy}
\fancyhf{}
\fancypagestyle{plain}{\pagestyle{fancy}}
\fancyhead[LE,RO]{PBM}
\addtolength{\headheight}{2.0cm}
\lhead{PBM - PPM - \today}
\renewcommand{\headrulewidth}{2pt}
\fancyfoot{}
\lfoot{PBM- QSP}
\rfoot{\thepage}
\cfoot{center}
\renewcommand{\footrulewidth}{5pt}
title: "report_8"
author: "Erik"
output: pdf_document
---
## R Markdown
This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see <http://rmarkdown.rstudio.com>.