# Makie mathcal boldface

**URL:** <https://discourse.julialang.org/t/makie-mathcal-boldface/123233>\
**Category:** Visualization\
**Tags:** makie, latexstrings\
**Created:** [November 29, 2024, 12:01am UTC](https://discourse.julialang.org/t/makie-mathcal-boldface/123233 "2024-11-29T00:01:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![clm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/clm/32/45923_2.png) [@clm](https://discourse.julialang.org/u/clm)\
**Post date:** [November 29, 2024, 12:01am UTC](https://discourse.julialang.org/t/makie-mathcal-boldface/123233/1 "2024-11-29T00:01:44Z")

</div>

Hi all,

I’m having an issue using calligraphic fonts using LaTeXStrings.jl within Makie. A [previous question](https://discourse.julialang.org/t/calligraphic-latex-fonts-in-makie/101209) noted that the default calligraphic fonts didn’t align between LaTeXStrings and their tex file – and this problem persisted with both Makie and Plots.jl.

I’m less concerned with the exact font, but I find that the default in Makie is boldface. So, instead of  
\mathcal{P}+P,  
I get

```julia
using CairoMakie, LaTeXStrings

f = Figure(figsize=(100,100))
ax = CairoMakie.Axis(f[1,1], title=L"$\mathcal{P}+P$", titlesize=30)
save("mathcal_bold_makie.png", f)

```

 ![mathcal_bold_makie](https://global.discourse-cdn.com/julialang/original/3X/1/3/1354ecac0537dacd79167593b58e5d1db65079c9.png)

Just using Plots, this doesn’t happen, so it seems to be something specific to Makie.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discourse.julialang.org/u/jules)\
**Post date:** [November 29, 2024, 7:04am UTC](https://discourse.julialang.org/t/makie-mathcal-boldface/123233/2 "2024-11-29T07:04:32Z")

</div>

You should open an issue in MathTeXEngine.jl, as that package is what resolves the tex expressions to glyphs which Makie then just displays.
