Julia: How to work with Unicode special characters

I work with the Distributions package, which uses Unicode special characters for many variables inside types. A typical distribution, for example, uses μ and σ. If I want to edit the standard deviation, I need to somehow print:

n.σ = 5.0

Is it possible to enter these values ​​in repl (outside of using copy-paste)? How to create these characters using one keyboard?

thank

+4
source share
3 answers

In REPL, use LaTeX shortcuts, for example. enter \sigmaand click the tab for autocomplete. Please note that for this you need to use Julia 0.3 or higher.

, - , . https://github.com/mvoidex/UnicodeMath SublimeText.

+7

, " Unicode Linux" Google.

Ctrl + Shift + u, UTF-16 Hex . , σ = u03bc

+1

Windows 10 Linux , , [[window]]+. / , , S- - (σΣ), D, (δΔ) .. Ετψ.

0
source

All Articles