回到三月,我问了一个问题,得到的答案包括由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迄今所做的图书格式和布局,一个了不起的工作,但我似乎无法做出这将需要工作,这些典型的东西。
谢谢...