RobinLovelace RobinLovelace - 1 year ago 247
Markdown Question

How to add whitespace to an RMarkdown document?

Is there a way to do it by adding latex code in the text or does the solution lie in (R)Markdown?

No sign of a solution here:

At present I'm bodging a solution by adding my

signature to the bottom of the 1st page, to force the next section to start on page 2:

Answer Source

You can use latex inside your Rmd file. To have a page break, just add \newpage.



This is a test Rmd document. 


Second page

This text is on the second page

You make a pdf using render("example.Rmd", output_format='pdf_document')

Hope it helps,


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download