# Number in LatexStrings

**URL:** <https://discourse.julialang.org/t/number-in-latexstrings/68840>\
**Category:** General Usage\
**Tags:** latex, plots\
**Created:** [September 27, 2021, 10:05pm UTC](https://discourse.julialang.org/t/number-in-latexstrings/68840 "2021-09-27T22:05:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Liwei17](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/liwei17/32/28423_2.png) [@Liwei17](https://discourse.julialang.org/u/Liwei17)\
**Post date:** [September 27, 2021, 10:05pm UTC](https://discourse.julialang.org/t/number-in-latexstrings/68840/1 "2021-09-27T22:05:51Z")

</div>

I want to show something like “ \sigma = NUMBER ” in the legend of the plot.

![image](https://global.discourse-cdn.com/julialang/original/3X/2/d/2d914aedbcf409e2244fa4aca0628891b9c101c7.png)

How can I manage to do that?

Thanks!

---

<div class="post-metadata">

**Author:** ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Post date:** [September 27, 2021, 10:23pm UTC](https://discourse.julialang.org/t/number-in-latexstrings/68840/2 "2021-09-27T22:23:27Z")

</div>

`L"\sigma = %$(round(0.0025 + u * 0.0005, digits=4))"`

See the comment about “interpolation” in the [documentation](https://github.com/stevengj/LaTeXStrings.jl).

---

<div class="post-metadata">

**Author:** ![Liwei17](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/liwei17/32/28423_2.png) [@Liwei17](https://discourse.julialang.org/u/Liwei17)\
**Post date:** [September 27, 2021, 10:29pm UTC](https://discourse.julialang.org/t/number-in-latexstrings/68840/3 "2021-09-27T22:29:39Z")

</div>

Thank you!
