Write math symbols inside a diagram.

29 views
Skip to first unread message

Ηλεκτρολόγος Μηχανικός

unread,
Sep 19, 2018, 7:58:24 PM9/19/18
to diagrams-discuss
Hey guys, is it possible to write special chars in a diagram without using unicode. Kinda like Latex way of doing.

test = text "$\lamba + 1$"


main
= mainWith (test <> circle 1)

Brent Yorgey

unread,
Sep 19, 2018, 9:47:19 PM9/19/18
to Ηλεκτρολόγος Μηχανικός, diagrams-discuss
This is possible if you use the PGF backend, using exactly the code you wrote.  The PGF backend typesets any text primitives with LaTeX.

--
You received this message because you are subscribed to the Google Groups "diagrams-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to diagrams-discu...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages