# Specific fractions w/ LaTeXStrings

**URL:** <https://discourse.julialang.org/t/specific-fractions-w-latexstrings/77355>\
**Category:** Visualization\
**Tags:** latex, plots, gr, latexstrings\
**Created:** [March 3, 2022, 1:30pm UTC](https://discourse.julialang.org/t/specific-fractions-w-latexstrings/77355 "2022-03-03T13:30:03Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Post date:** [March 3, 2022, 7:56pm UTC](https://discourse.julialang.org/t/specific-fractions-w-latexstrings/77355/5 "2022-03-03T19:56:22Z")

</div>

Linking a [related post](https://discourse.julialang.org/t/nice-fonts-with-plots-gr-and-latexstrings/60037/19) and some code to play with below, FWIW.

Not all the LaTeX fraction options you’ve listed seem to be available in `Plots gr()` renderer.

```julia
using LaTeXStrings, Plots; gr(size=(200,100))
plot(lims=(-1,1), framestyle=:none)
annotate!(-1, 0, L"\dfrac{3}{2}")
annotate!(0, 0, L"e^{\frac{1}{2} + c}")
annotate!(1, 0, L"\frac{3}{2}")

```

 ![Plots_gr_MathJax](https://global.discourse-cdn.com/julialang/original/3X/7/7/77b13ecea7ebd52c23b3b6a6308757f9825f98f7.png)

---

_[View the full topic](https://discourse.julialang.org/t/specific-fractions-w-latexstrings/77355)._
