Last active
May 4, 2016 13:49
-
-
Save Nicktz/69ca18e5b8482d46721bbeca3bd4b30c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If a new package needs to be included into the knitr defaults, use the following process: | |
Download the package's .tar file and drop it into: (either download this, or find it in: C:\Program Files (x86)\MiKTeX 2.9\source after installing it using programs/miktex/packagemanager) | |
C:\Program Files\Microsoft\MRO\R-3.2.3\library\knitr\misc | |
A large number of Tarfiles are located here: https://www.ctan.org/tex-archive/systems/win32/miktex/tm/packages?lang=en | |
To find your knitr folder, type in R: path.package() | |
Now add the \usepackage command to the default tex file and it can now be used inside rmarkdown by calling the function as follows (for e.g. adjumulticol package): | |
```{r , echo = FALSE, results = 'asis'} | |
cat("\\begin{columns} \\begin{column}{0.48\\textwidth}") | |
cat("\\end{adjmulticols}") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment