# LaTeX code for titles, labels,... with Plots.jl

**URL:** https://discourse.julialang.org/t/latex-code-for-titles-labels-with-plots-jl/1967
**Category:** General Usage
**Tags:** question, package, plotting
**Created:** [February 7, 2017, 8:57pm UTC](https://discourse.julialang.org/t/latex-code-for-titles-labels-with-plots-jl/1967 "2017-02-07T20:57:10Z")
**Posts on this page:** 1
**Showing post:** 35

<div class="post-metadata">

### Author: ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)
#### Post date: [May 4, 2021, 6:46pm UTC](https://discourse.julialang.org/t/latex-code-for-titles-labels-with-plots-jl/1967/35 "2021-05-04T18:46:54Z")

</div>

This is an old thread, but which has no solution marked. Probably the solution to the original post is this:

> [@Nice fonts with Plots, GR and LaTeXStrings](https://discourse.julialang.org/t/nice-fonts-with-plots-gr-and-latexstrings/60037):
>
> This not a question, just something that might be helpful to others. With Plots 1.12 and GR0.57.4 (at least), and using these options below, one can get a plot with homogeneous fonts (“Computer Modern”) in every element. using Plots using LaTeXStrings plot\_font = "Computer Modern" default(fontfamily=plot\_font, linewidth=2, framestyle=:box, label=nothing, grid=false) scalefontsizes(1.3) plot(sort(rand(10)),sort(rand(10)),label="Legend") plot!(xlabel=L"\textrm{Standard text}(r…

---

_[View the full topic](https://discourse.julialang.org/t/latex-code-for-titles-labels-with-plots-jl/1967)._
