Open Datseris opened 2 years ago
𝒯
and squiggly friends can be obtained by tab completion by prefixing \scr
to whatever letter you want in scripted form. Other similar symbols are achieved by using the \frak
- and \bi
prefixes. Once you get used to this (and remember it), it's just as fast as using \tau
.
See the overview at https://docs.julialang.org/en/v1/manual/unicode-input/.
However, if a user doesn't regularly use these commands, I see that it can be cumbersome to have to use this symbol. I'm okay with changing it to something else.
One of the main API functions,
transferentropy
, has keyword arguments based on unicode symbols that are hard to access. I am specifically referring to𝒯
.Some developers recommend to not use unicode at all for public API. E.g., SciMLStyle:
Personally, I think that Unicode should be okay to use as long as it is easily accessible with tab completion, and immediatelly obviously which symbol should be used. Even if the terminal cannot display it and uses a box for it, Julia will still properly use it as a keyword. So that's why I am not so fanatically opposed to unicode.
However, I am not sure how to input
𝒯
, but I am sure thatτ
is'tau
. I think we should consider a different symbol for the scripted capital T.