gridmicrotex: Native 'LaTeX' Math Rendering for Grid Graphics

Renders 'LaTeX' math equations as native R grid graphics objects (grobs) using the 'MicroTeX' 'C++' library as the layout engine. Produces resolution-independent vector output that works on any R graphics device, with no external 'LaTeX' installation required.

Version: 0.0.1
Depends: R (≥ 4.2.0)
Imports: grDevices, grid, Rcpp, systemfonts, tools
LinkingTo: Rcpp, systemfonts
Suggests: ggplot2 (≥ 4.0.0), knitr, ragg, rmarkdown, S7, testthat (≥ 3.0.0), vdiffr
Published: 2026-05-08
DOI: 10.32614/CRAN.package.gridmicrotex (may not be active yet)
Author: Alim Dayim ORCID iD [aut, cre], Nano Michael [cph] (Author of included 'MicroTeX' library), Bundled math font authors [cph] (See inst/COPYRIGHTS for the full list of authors of the bundled math fonts.)
Maintainer: Alim Dayim <ad938 at cam.ac.uk>
BugReports: https://github.com/adayim/gridmicrotex/issues
License: MIT + file LICENSE
Copyright: see file COPYRIGHTS
URL: https://github.com/adayim/gridmicrotex, https://adayim.github.io/gridmicrotex/
NeedsCompilation: yes
SystemRequirements: C++17, FreeType (>= 2.9), pkg-config
Materials: NEWS
CRAN checks: gridmicrotex results

Documentation:

Reference manual: gridmicrotex.html , gridmicrotex.pdf
Vignettes: Using LaTeX Math in ggplot2 (source, R code)
Introduction to gridmicrotex (source, R code)

Downloads:

Package source: gridmicrotex_0.0.1.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): gridmicrotex_0.0.1.tgz, r-oldrel (arm64): gridmicrotex_0.0.1.tgz, r-release (x86_64): gridmicrotex_0.0.1.tgz, r-oldrel (x86_64): gridmicrotex_0.0.1.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=gridmicrotex to link to this page.