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 rendering of "/" is incorrect, which affects figure axis labels #1967

Open
AshtonSBradley opened this issue May 23, 2022 · 0 comments · Fixed by Kolaru/MathTeXEngine.jl#66

Comments

@AshtonSBradley
Copy link

AshtonSBradley commented May 23, 2022

Great to see #1952 happen. Lower case Greek now renders italic!

However, there is a new issue for axis labels related to the update (that I have so far noticed) and forwardslash: for example 2\pi/\xi

gets rendered as

Screen Shot 2022-05-23 at 7 15 08 PM

instead of $2\pi/\xi$, or 0.0/\omega becomes

Screen Shot 2022-05-23 at 7 16 37 PM

instead of

$0.0/\omega$, with CairoMakie v0.8.3

A simple hack to fix this is to add some horizontal space after the "/" e.g. x/a --> x/\;\;\;a

versioninfo()
Julia Version 1.8.0-beta3
Commit 3e092a2521 (2022-03-29 15:42 UTC)
Platform Info:
  OS: macOS (arm64-apple-darwin21.3.0)
  CPU: 10 × Apple M1 Max
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, apple-m1)
  Threads: 8 on 8 virtual cores
Environment:
  JULIA_PKG_DEVDIR = /Users/abradley/Dropbox/Julia/Dev
  JULIA_NUM_THREADS = 8
  JULIA_REVISE_WORKER_ONLY = 1
@AshtonSBradley AshtonSBradley changed the title latex rendering of / is off latex rendering of "/" is off which affects figure axis labels Jun 6, 2022
@AshtonSBradley AshtonSBradley changed the title latex rendering of "/" is off which affects figure axis labels latex rendering of "/" is incorrect, which affects figure axis labels Jun 6, 2022
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

Successfully merging a pull request may close this issue.

1 participant