texPreview
Preview and save images of rendered snippets of LaTeX in RStudio viewer
Functionality
Supports: character, knitr, kableExtra, xtable, texreg, equatiomatic classes
Extendable:
S3methods can be written for the main call,texPreview::tex_preview, to use with new classes for rendering and printing.Rstudio Addin: Users can highlight text in the editor and invoke preview automatically.
RMarkdown document compatible with all document outputs
Shiny compatible via
shiny::renderImageor as part of htmlwidgets likeslickR::slickR.Pan and Zoom functionality: When the output is set to 'svg' the default output to the viewer is
svgPanZoom::svgPanZoom, which allows for panning and zooming on the image in the viewer. If the package is not installed a static image will be loaded.System Requirements: Must have pdflatex in PATH, Windows users can install by running installr::install.MikTeX