Package: gridmicrotex 0.1.0

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. Markdown labels and block documents that mix prose formatting with math are also rendered, for use with both 'grid' and 'ggplot2'.

Authors:Alim Dayim [aut, cre], Nano Michael [cph], Bundled math font authors [cph]

gridmicrotex_0.1.0.tar.gz
gridmicrotex_0.1.0.zip(r-4.7-x86_64)gridmicrotex_0.1.0.zip(r-4.7-arm64)gridmicrotex_0.1.0.zip(r-4.6-x86_64)gridmicrotex_0.1.0.zip(r-4.6-arm64)gridmicrotex_0.1.0.zip(r-4.5-x86_64)
gridmicrotex_0.1.0.tgz(r-4.6-x86_64)gridmicrotex_0.1.0.tgz(r-4.6-arm64)gridmicrotex_0.1.0.tgz(r-4.5-x86_64)gridmicrotex_0.1.0.tgz(r-4.5-arm64)
gridmicrotex_0.1.0.tar.gz(r-4.7-arm64)gridmicrotex_0.1.0.tar.gz(r-4.7-x86_64)gridmicrotex_0.1.0.tar.gz(r-4.6-arm64)gridmicrotex_0.1.0.tar.gz(r-4.6-x86_64)
gridmicrotex_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
gridmicrotex/json (API)

# Install 'gridmicrotex' in R:
install.packages('gridmicrotex', repos = c('https://adayim.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/adayim/gridmicrotex/issues

Pkgdown/docs site:https://adayim.github.io

Uses libs:
  • freetype– Freetype 2 font engine
  • fribidi– Free Implementation of the Unicode BiDi algorithm
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

freetypefribidicpp

5.29 score 6 scripts 300 downloads 32 exports 10 dependencies

Last updated from:1caf0ad8fb. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK268
linux-devel-x86_64OK293
source / vignettesOK381
linux-release-arm64OK273
linux-release-x86_64OK235
macos-release-arm64OK168
macos-release-x86_64OK397
macos-oldrel-arm64OK208
macos-oldrel-x86_64OK467
windows-devel-arm64OK400
windows-devel-x86_64OK369
windows-release-arm64OK381
windows-release-x86_64OK307
windows-oldrel-x86_64OK322
wasm-releaseOK220

Exports:available_highlightersavailable_math_fontscheck_fontscheck_math_fontsclear_macrosdefine_macroelement_latexelement_markdowngeom_latexgeom_markdownGeomLatexGeomMarkdowngrid.latexgrid.markdowngrobMarklatex_cache_clearlatex_cache_infolatex_cache_limitlatex_dimslatex_groblatex_optionslatex_treelatex_wraplist_macrosload_fontload_math_fontmarkdown_box_grobmarkdown_grobmarkdown_stylemd_styleregister_highlighterreset_latex_options

Dependencies:base64encclicommonmarkcpp11jsonlitelifecycleRcpprlangsystemfontsxml2

Introduction to gridmicrotex
What is gridmicrotex? | Quick start | Mixing text and math | What it can render | Aligning to the math baseline | Named anchors with \mark | Display and inline style | Wrapping and justification | Including a figure | A caption | Fonts | Naming a font for one run | Loading a custom math font | Devices and render modes | Utilities | Measuring | Session defaults | User-defined macros | Caching and introspection | LaTeX reference | Lists | Pasting LaTeX from other sources | What is not supported

Last update: 2026-08-20
Started: 2026-05-15

Rendering Markdown with Math
Inline markdown | Colour and inline HTML | Block documents | Lists, tasks, and tables | Images | Styling | Starting from a preset | Styling one chunk | Styling tables | Dropping down to LaTeX | What is and isn't supported

Last update: 2026-08-14
Started: 2026-07-27

Using LaTeX Math in ggplot2
Annotating plots with geom_latex() | Adding equation annotations to a scatter plot | Markdown labels | Annotating with markdown | Styling labels | Block titles

Last update: 2026-08-14
Started: 2026-04-10