# How to use amssymb in Plots.jl with LaTeXStrings?

**URL:** <https://discourse.julialang.org/t/how-to-use-amssymb-in-plots-jl-with-latexstrings/126728>\
**Category:** Visualization\
**Tags:** question, pgfplotsx, latexstrings\
**Created:** [March 9, 2025, 12:14pm UTC](https://discourse.julialang.org/t/how-to-use-amssymb-in-plots-jl-with-latexstrings/126728 "2025-03-09T12:14:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![homocomputeris](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/homocomputeris/32/8933_2.png) [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Post date:** [March 9, 2025, 12:14pm UTC](https://discourse.julialang.org/t/how-to-use-amssymb-in-plots-jl-with-latexstrings/126728/1 "2025-03-09T12:14:28Z")

</div>

How to use `amssymb` commands in `L"..."`-labels of plots?  
Using, for example, `\mathbb` returns the following error:

```julia
! Undefined control sequence.
\pgfplots@already@computed@legend@node ...\mathbb 
                                                  {R}}$};\\\p...

```
