Literate Programming
11.7 LaTeX
- MiKTeX
- First, download MiKTeX. Choose the version corresponding to your operating system (Windows, Mac, or Linux). Skip this step if you decide to use ShareLaTeX, which is an online LaTeX editor and does not require your computer to have underlying LaTeX packages via MiKTeX.
- Recommended, download the basic installer, which will download other uninstalled packages on the fly on an as-needed basis. If you want to download all packages, you can choose the Net Installer, but this may take up a lot of space.
Q and A:
11.8 Beamer
Beamer is a LaTeX class for presentations.
11.9 knitr (R + LaTeX)
- Create LaTeX Tables with kable
- To avoid a incompatibility warning about the LaTeX
xcolor
package, placeoptions(kableExtra.latex.load_packages = FALSE)
in your R chunk beforelibrary(kableExtra)
. See Hao Zhu’s explanation in page 4 of the link above.
- To avoid a incompatibility warning about the LaTeX
- kableExtra Vignettes
- vignettes for using outputting tables from R into HTML, LaTeX, and Word
11.10 R Markdown
11.11 R Bookdown
- Writing Thesis with Bookdown
- Section on outputting into Microsoft Word using
bookdown::preview_chapter()
- Section on outputting into Microsoft Word using