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-x86_64)ggtypst_0.1.0.zip(r-4.6-x86_64)ggtypst_0.1.0.zip(r-4.5-x86_64)
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.92 score 28 stars 8 scripts 9 exports 23 dependencies

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

TargetResultTimeFilesSyslog
linux-devel-arm64OK362
linux-devel-x86_64OK374
source / vignettesOK603
linux-release-arm64OK393
linux-release-x86_64OK420
macos-release-arm64OK521
macos-release-x86_64OK1242
macos-oldrel-arm64OK605
macos-oldrel-x86_64OK826
windows-devel-arm64FAIL392
windows-devel-x86_64OK710
windows-release-arm64FAIL410
windows-release-x86_64OK683
windows-oldrel-x86_64OK687
wasm-releaseOK347

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