I have written a draft book in R Markdown.
Two questions:
Is it possible to include a 'cover page' with graphic and text in the index.rmd file so that the rendering in bookdown- shows a cover page prior to the title page?
I have an appendix in the book which cover some miscellaneous thoughts and comments. Is there a way of telling bookdown not to label it as 'Chapter 11 -Appendix' but rather just Appendix?
thanks
Yes, both is possible:
(assuming you want PDF/Latex output)
The 1. thing you can do as follows:
Include an _output.yml
file in your root directory. It could look as follows:
bookdown::pdf_book:
includes:
in_header: preamble.tex
before_body: frontpage.tex
Where you load your additional packages in preamble.tex
and the frontpage is frontpage.tex
.
To do the 2. thing:
Just add {-} behind your Chapter heading, so
# Appendix {-}
See https://bookdown.org/yihui/bookdown/markdown-extensions-by-bookdown.html#equations Section 2.2.3
For a working example have a look at: https://github.com/rstudio/bookdown-demo
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With