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

Latex in Labels and Titles #619

Closed
Kelvyn88 opened this issue Dec 21, 2016 · 3 comments
Closed

Latex in Labels and Titles #619

Kelvyn88 opened this issue Dec 21, 2016 · 3 comments

Comments

@Kelvyn88
Copy link

If there a possibility to use latex in the labels?

if I try:

yaxis!(L"Label")

I get the error: ERROR: UndefVarError: @L_str not defined

Please. I really need this.

@pkofod
Copy link
Contributor

pkofod commented Dec 21, 2016

Sorry for asking the obvious, did you using LaTeXStrings?

@Kelvyn88
Copy link
Author

Sorry, I didn't know the LaTeXStrings. That solves the problem. Thanks!

@zhyiyu
Copy link

zhyiyu commented Dec 17, 2024

I found that if I import LaTeXStrings in the main block:

if abspath(PROGRAM_FILE) == @__FILE__
    using LaTeXStrings
    label = L"x"
end

then I get:

UndefVarError: `@L_str` not defined

Importing it before main solves the issue.

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

3 participants