Hi all,
Is there a way to change the font Makie uses when you want to typeset labels (etc…) in Latex? See here for a MWE:
using CairoMakie, LaTeXStrings
fontpath = joinpath(pwd(), "fonts", "tex-gyre", "texgyreheros-bold.otf") # path to some font
fig = Figure(font = fontpath, fontsize = 24, resolution = (1024, 768));
ax = Axis(fig[1, 1], xlabel = L"\Delta_rG \frac{kJ}{mol}", ylabel = "Concentration [mM]");
scatter!(ax, rand(10), rand(10))
fig
This generates the figure, shown below, with the mismatched fonts. Is it possible to change the default Latex font (on the x-axis) to match the y-axis font?