latex2exp is an R package that lets you use LaTeX in plots. It parses and converts LaTeX to R’s custom plotmath expressions. You can read the full documentation on the package’s website. Expressions returned by latex2exp can be used to create formatted text and mathematical formulas and symbols to be rendered as axis labels, annotations, legends, titles, etc. throughout R’s plotting system.

Features

  • Install this package from CRAN
  • Documentation available
  • Examples available
  • Takes a LaTeX string, parses it, and returns the closest plotmath expression suitable for use in graphics
  • You can quickly preview what a translated LaTeX string would look like
  • List of supported LaTeX commands

Project Samples

Project Activity

See All Activity >

Categories

TeX/LaTeX

License

MIT License

Follow latex2exp

latex2exp Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of latex2exp!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

R

Related Categories

R TeX LaTeX

Registered

2024-05-16