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