Package: ggtypst 0.1.0

Hao Cheng

ggtypst: Render High-Quality Text and Formulas in 'ggplot2' by Typst

Provides a seamless integration of the 'Typst' typesetting engine into 'ggplot2'. It allows users to render complex mathematical formulas, equations, and rich text directly in plot annotations, axis labels, and titles without requiring a local Typst or LaTeX installation. Under the hood, it leverages Rust FFI to compile Typst code into SVG.

Authors:Hao Cheng [aut, cre, cph]

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

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

Bug tracker:https://github.com/yousa-mirage/ggtypst/issues

Pkgdown/docs site:https://yousa-mirage.github.io

On CRAN:

Conda:

ggplot2typstrustcargo

4.91 score 27 stars 8 scripts 9 exports 23 dependencies

Last updated from:a075de5906 (on v0.1.0). Checks:13 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK392
linux-devel-x86_64OK437
source / vignettesOK739
linux-release-arm64OK414
linux-release-x86_64OK437
macos-release-arm64OK574
macos-release-x86_64OK781
macos-oldrel-arm64OK428
macos-oldrel-x86_64OK1252
windows-develOK660
windows-releaseOK722
windows-oldrelOK687
wasm-releaseOK396

Exports:annotate_math_mitexannotate_math_typstannotate_typstelement_math_mitexelement_math_typstelement_typstgeom_math_mitexgeom_math_typstgeom_typst

Dependencies:base64encclicpp11farverggplot2gluegrImport2gtableisobandjpeglabelinglifecyclepngR6RColorBrewerrlangrsvgS7scalesvctrsviridisLitewithrXML

Get Started
Why ggtypst? | Installation | First plot | When to use annotate, geom, and element | R raw strings | Text, Typst math, and MiTeX math | Typst markup content | Native Typst math | MiTeX-backed LaTeX math | annotate_*(): one-off plot annotations | geom_*(): data-driven labels | element_*(): Typst in theme elements | Next steps

Last update: 2026-03-13
Started: 2026-03-08

Performance Benchmark
Test Environment | Layer 1: Typst Rendering | Results | Analysis | Layer 2: Full Plot Performance | 2A: API Type Comparison | 2B: Content Complexity | 2C: Geom Row Scaling | Practical Guidelines

Last update: 2026-03-13
Started: 2026-03-09

SKILL.md for Agents
What it is | What it contains | How to import it

Last update: 2026-03-12
Started: 2026-03-09