我想将图像添加为页眉和页脚(与我的组织视觉识别一致)到PDF报告.我已经设法在Sweave中做到了,但我也希望能够使用Markdown来做到这一点.我可以使用插入图像但是当我尝试使用壁纸包时(就像我在Sweave中一样)我收到错误.
---
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}{}
Run Code Online (Sandbox Code Playgroud)
Markdown有办法,还是我需要坚持Sweave?
wallpaper在这种情况下,包的正确用法很简单
\LRCornerWallPaper{0.99}{path/to/pic}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4544 次 |
| 最近记录: |