回到三月,我問了一個問題,得到的答案包括由R bookdown呈現的PDF文檔中封頁:R bookdown之前的封面和版權聲明?
R bookdown - cover page and appendix
我試圖解決方案,並具有以下結果出來了:
使用index.rmd YAML:
output:
pdf_document:
includes:
before_body: frontpage.tex
number_sections: yes
toc: yes
toc_depth: 3
site: bookdown::bookdown_site
documentclass: book
classoption: letterpaper
標題仍然之前實際的封頁和在章節標題(即「第1章」章節「措辭」之前出現章節標題中的字詞)消失了。各章節的編號從0開始。
如果我把上面的標題和作者的包含條款作爲第一頁拿出來,然後是目錄,所有章節標題和章節編號出來妥善 - 但當然沒有封面或版權頁。
frontpage.tex是這樣的:
\frontmatter
\includegraphics {coverpage.png}
This edition first published August 2017 etc
我如何標題後和目錄前得到提前封頁標題,copyrightpage的,並有章節標題即(字章,並提前數章節標題的渲染的順序和正確。
[R bookdown迄今所做的圖書格式和佈局,一個了不起的工作,但我似乎無法做出這將需要工作,這些典型的東西。
謝謝...