The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Building usepackage TeX commands

Jonathan Sidi

2024-01-24

library(texPreview)

texPreview comes with LaTeX packages built in for each render, but the user can add any TeX library that they have installed on the machine using build_usepackage. This object can then be used in the usrPackages parameter in tex_preview.

Usage

usepackage

## [1] "\\usepackage{xcolor}"

usepackage with options

## [1] "\\usepackage[usenames]{xcolor}"

vectorized usepackage

## [1] "\\usepackage{times}"                                                          
## [2] "\\usepackage[paperwidth=35cm,paperheight=35cm,left=2.5cm,top=2.5cm]{geometry}"
## [3] "\\usepackage{tikz}"                                                           
## [4] "\\usetikzlibrary{mindmap,backgrounds}"

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.