# Docstrings: variable names with Unicode inline math

**URL:** <https://discourse.julialang.org/t/docstrings-variable-names-with-unicode-inline-math/7412>\
**Category:** General Usage\
**Tags:** question\
**Created:** [November 30, 2017, 2:33pm UTC](https://discourse.julialang.org/t/docstrings-variable-names-with-unicode-inline-math/7412 "2017-11-30T14:33:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [November 30, 2017, 2:33pm UTC](https://discourse.julialang.org/t/docstrings-variable-names-with-unicode-inline-math/7412/1 "2017-11-30T14:33:20Z")

</div>

The manual recommends that Unicode chars are used for inline math between ```...```s in docstrings, eg

```julia
"foo makes sure that ``α < β``"
foo(α, β) = @assert α < β

```

instead of `\alpha` and `\beta`. I understand that this is useful so that `?foo` in the terminal prints nicely.

However, is there a syntax that would allow me to combine Unicode inline math and multi-character variable names? Eg

```julia
"bar enforces that ``-∞ < left < right < -∞``"

```

To make this appear nice with `Documenter.jl`, I have to use `\\text{left}`, which then does not print nicely in the terminal. Is there a solution for both?
