如何在Rmarkdown的yaml中更改标题、作者、日期的字体颜色并使其变为粗体?
How to change the font color of title, author, date and make it bold in yaml of Rmarkdown?
---
title: "PDF Document"
author: "Sana"
date: "27-05-2022"
---
如何在Rmarkdown的yaml中修改title,author,date的字体颜色和样式,加粗或斜体?
一种方法是在标题中使用乳胶代码块。
---
title: |
```{=latex}
\textcolor{red}{\textbf{PDF Document}}
```
author: "Sana"
output: pdf_document
---
---
title: "PDF Document"
author: "Sana"
date: "27-05-2022"
---
如何在Rmarkdown的yaml中修改title,author,date的字体颜色和样式,加粗或斜体?
一种方法是在标题中使用乳胶代码块。
---
title: |
```{=latex}
\textcolor{red}{\textbf{PDF Document}}
```
author: "Sana"
output: pdf_document
---