Skip to contents

gridmicrotex (development version)

  • Bug fix: correct grobX()/grobY() boundary points.
  • Bug fix: geom_latex(fontsize = ) was ignored.
  • Bug fix: spurious “font metrics unknown” warnings in "mixed" mode.
  • Bug fix: CJK fallback width on Windows was ~6x too narrow.
  • Bug fix: layout-cache collisions between unresolved text fonts.
  • Hardened the OTF MATH reader against malformed fonts that could hang R.
  • Docs: input_mode defaults to "mixed"; use \textbf{} etc. instead of gp$fontface.

gridmicrotex 0.0.4

CRAN release: 2026-06-01

  • Accept raw latex code from other packages, like xtable::print.xtable() / knitr::kable() / booktabs output.
  • New MicroTeX commands \thickhline and \cline{a-b}.
  • New itemize and enumerate list environments. Lists may nest.
  • Bug fix: $…$ inside tabular cells no longer chops the table.
  • Bug fix: starred alignment envs (align*, eqnarray*, …) now render.
  • Bug fix: latex_wrap() is now vectorised over its input, matching its documented contract, and errors on NA input instead of rendering “NA”.
  • Bug fix: the \mark{} macro survives a microtex_release() / re-init cycle.
  • gp$col transparency is now honoured (alpha passed through to MicroTeX).
  • Macro expansion warns on circular definitions instead of silently producing wrong output.

gridmicrotex 0.0.3

CRAN release: 2026-05-18

  • Self-contained load_font() example so CRAN’s donttest additional checks no longer fail on the unreliable CTAN font download.
  • New commands.

gridmicrotex 0.0.2

CRAN release: 2026-05-16

  • Support the \def command
  • New function grobMark.
  • Bug fix ggplot2 integration.
  • Bug fix coloring body.
  • ggplot2 integration respects latex_options.
  • Defer systemfonts registration of the bundled Lete and STIX fonts to first render. This avoids the XType: Using static font registry. notice that older macOS SDKs emit on Core Text font registration, which had caused spurious WARN/NOTEs on r-oldrel-macos-arm64.

gridmicrotex 0.0.1

CRAN release: 2026-05-08

Initial release.