This is a code is for my markdown presentations. Currently this repo holds two presentations:
- NottinghamR one, from the 11/10/16, discussing RMarkdown;
- NGI Wednesday research series ones discussing Markdown and RMarkdown.
To compile presentation you need:
To build:
- for a PDF version, type in terminal:
pandoc --slide-level 2 -H head.tex -B body.tex -t beamer presentation.md -V theme:metropolis -o output.pdf - ioslides version open presentation.md in RStudio and click Compile to HTML. This option will be automatically selected based on the header settings.
- standard document,
- type
pandoc presentation.md -o output.html, or - in file header change
output: ioslides_presentationtooutput: html_documentand compile in RStudio.
- type
- to build PDF type
pandoc --slide-level 2 -H head_NGI.tex -B body_NGI.tex -t beamer NGI_wed.md -V theme:metropolis -o 161012_NGI_wedSeminar.pdf; - for other modes check notes above.
More information about the presented report can be found at my blog.
You can also include latex style equations in markdown. Examples in math.md demonstrate both in-line $...$ and standalone $$...$$ approach.