首页 > 解决方案 > 如何在文档标题前插入徽标?

问题描述

我希望我在文档中插入的徽标出现在文档标题之前。我如何实现这一目标?

这是我的序言:

---
title: My Document Title
author:
date:
output: pdf_document
toc: false
geometry: left=0.3in, top=0.3in, right=0.3in, bottom=0.5in
fontsize: 12pt
classoption: portrait, onecolumn
---

和我要插入徽标的针织夹头:

```{r, out.width = "400px", fig.align = "center", echo=FALSE}
knitr::include_graphics("path/imagename.png")
```

实际上,标题首先出现,然后是徽标。

标签: rpdfr-markdownknitr

解决方案


推荐阅读