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://community.r-multiverse.org', '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.97 score 31 stars 9 exports 23 dependencies

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

TargetResultTimeFilesSyslog
linux-devel-arm64OK399
linux-devel-x86_64OK469
source / vignettesOK722
linux-release-arm64OK374
linux-release-x86_64OK439
macos-release-arm64OK481
macos-release-x86_64OK1341
macos-oldrel-arm64OK491
macos-oldrel-x86_64OK1011
windows-devel-arm64FAIL386
windows-devel-x86_64FAIL345
windows-release-arm64FAIL408
windows-release-x86_64FAIL383
windows-oldrel-x86_64FAIL358
wasm-releaseOK385

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