This is a small package to make it easier to type LaTeX equations in string literals in the Julia language, written by Steven G. Johnson. With ordinary strings in Julia, to enter a string literal with embedded LaTeX equations you need to manually escape all backslashes and dollar signs: for example, $\alpha^2$ is written \$\\alpha^2\$. Also, even though IJulia is capable of displaying formatted LaTeX equations (via MathJax), an ordinary string will not exploit this.

Features

  • LaTeXStrings does not do any rendering
  • Its sole purpose is to make it easier to enter LaTeX-rendered strings without typing a lot of backslash escapes
  • Provides a type to tell display backends to use LaTeX rendering if possible
  • Documentation available
  • Examples available
  • Type LaTeX equations in string literals in the Julia language

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow LaTeXStrings.jl

LaTeXStrings.jl Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of LaTeXStrings.jl!

Additional Project Details

Programming Language

Julia

Related Categories

Julia Data Visualization Software

Registered

2023-11-21