CTAN Comprehensive TeX Archive Network

ltMermaid – Embed Mermaid diagrams in

Embed Mermaid diagrams in . Diagram sources are written to disk, and the Mermaid CLI (mmdc) renders vector PDFs, which are then included using \includegraphics.

mermaid.sty works with pdf, , up, and Lua and calls the Mermaid CLI through shellesc or \write18). ltmermaid.sty is for Lua and calls the CLI through Lua’s os.execute.

Both implementations provide the same macros, including the Renderer option, the \Mermaid... macros, and the mermaid environment. A diagram is rendered only when its source or the renderer settings change, and both packages support -output-directory.

Sources/macros/latex/contrib/ltmermaid
Documentation
Home page
Repository
Version1.1 2026-10-22
LicensesThe Project Public License 1.3c
Copyright2026 Ryoya Ando
MaintainerRyoya Ando
Contained inTeX Live as ltmermaid
MiKTeX as ltmermaid
TopicsDiagrams

Download the contents of this package in one zip archive (801.4k).

Community Comments

Loading...

Announcements

Here you can see a respective diagram in newer browsers.

more

Package Links

Guest Book Sitemap Contact Contact Author