Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for LaTeX strings #51

Closed
Roger-luo opened this issue Mar 17, 2019 · 2 comments
Closed

Support for LaTeX strings #51

Roger-luo opened this issue Mar 17, 2019 · 2 comments

Comments

@Roger-luo
Copy link
Contributor

Does Luxor support LaTeX Strings? Any idea how to support it?

This doesn't work (as expected)

using Luxor, LaTeXStrings

@png begin
       fontsize(30)
       text(L"\alpha", O, halign=:center, valign=:middle)
end
@cormullion
Copy link
Member

I think you've asked this before... :) (#32)

If you use the Pro text interface, some of these will work. If you use the Toy text interface, few of them will...

If Cairo/Luxor had decent Pango support, of course... :)

@Roger-luo
Copy link
Contributor Author

Roger-luo commented Mar 17, 2019

Err, sorry, I guess this might be a solution:

https://github.com/SimonDanisch/UnicodeFun.jl

I notice this is also missed in Gadfly, but I guess some latex symbols is enough for most plotting.

GiovineItalia/Gadfly.jl#1094

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants