JuliaPlots / JuliaPlots/PlotlyJS.jl

LaTeX equations not rendering

Open
#325 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Julia
Stars
444
Forks
86
PR merge metrics
No merged PRs in 30d

Description

Trying to write latex equations as title/labels won't work. If I type in `"\$\\frac{x}{y}\$"` it just returns `$\frac{x}{y}$` as a title.
The same is when trying to use LaTeXStrings both with `L""` and `latexstring()` syntax.
Tried to both use it as a Plots.jl backend and directly.

1. Version info
```
Julia Version 1.4.1
Commit 381693d3df* (2020-04-14 17:20 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-8.0.1 (ORCJIT, skylake)
Environment:
JULIA_DEPOT_PATH = C:\Users\arjur\.juliapro\JuliaPro_v1.4.1-1;C:\Users\arjur\AppData\Local\JuliaPro-1.4.1-1\Julia-1.4.1\local\share\julia;C:\Users\arjur\AppData\Local\JuliaPro-1.4.1-1\Julia-1.4.1\share\julia
JULIA_EDITOR = "C:\Users\arjur\AppData\Local\JuliaPro-1.4.1-1\app-1.45.0\atom.exe" -a
JULIA_NUM_THREADS = 2
JULIA_PKG_SERVER = pkg.juliacomputing.com
```

And also:
```
Julia Version 1.3.0
Commit 46ce4d7933 (2019-11-26 06:09 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.1 (ORCJIT, skylake)
```

2. Packages status
```
[c52e3926] Atom v0.12.10 ⚲
[a93c6f00] DataFrames v0.20.2
[7073ff75] IJulia v1.20.0
[e5e0dc1b] Juno v0.8.1 ⚲
[b964fa9f] LaTeXStrings v1.1.0
[4722fa14] PkgAuthentication v0.1.2
[f0f68f2c] PlotlyJS v0.12.92
[91a5bcdd] Plots v1.0.14
[f3b207a7] StatsPlots v0.14.5
[44d3d7a6] Weave v0.9.4
```

And for 1.3 version:
```
[c52e3926] Atom v0.11.3
[336ed68f] CSV v0.6.0
[5a033b19] CurveFit v0.3.2
[a93c6f00] DataFrames v0.20.2
[587475ba] Flux v0.10.4
[38e38edf] GLM v1.3.8
[28b8d3ca] GR v0.48.0
[7073ff75] IJulia v1.20.2
[916415d5] Images v0.22.0
[c601a237] Interact v0.10.3
[e5e0dc1b] Juno v0.7.2
[b964fa9f] LaTeXStrings v1.1.0
[eb30cadb] MLDatasets v0.4.0
[f0f68f2c] PlotlyJS v0.13.1
[91a5bcdd] Plots v0.29.9
[f27b6e38] Polynomials v0.6.1
[d330b81b] PyPlot v2.8.2
[f3b207a7] StatsPlots v0.14.3
[0f1e0344] WebIO v0.8.13
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.