0
我正在使用RStudio和knitr
。我无法找到将标题向下移动的方式(例如,仅5cms)。标题总是在顶部。rmarkdown:标题位置
---
title: "This is my title to display at 5cm below the top"
header-includes:
\fancypagestyle{titlepage}{
\fancyfoot[LE,RO]{\thepage\ of \pageref{LastPage}}
\fancyfoot[LE,LO]{Project}
\fancyhead[L]{\includegraphics[width=4cm]{logo.png}}
}
output: pdf_document
---
\thispagestyle{titlepage}
请注意,我不是在谈论边距,只是想要移动标题,以便它不总是在页面的顶部。显然保持我定义的风格。我怎样才能做到这一点?
对了,忘了提,我曾尝试没有成功如下: \ vspaces * {5厘米} \ thispagestyle {扉页} – david
你应该如果这是你正在寻找的东西,请将其作为答案发布。请注意,对于这种定制,您最好编写自己的[模板](http://rmarkdown.rstudio.com/pdf_document_format.html#advanced-customization) – scoa