The manual recommends that Unicode chars are used for inline math between ``...``
s in docstrings, eg
"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
"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?