Sometimes I want to insert a Greek letter into text, often sigma or mu. On Windows, at least, it's always annoying and clumsy. So I thought I'd try out Leo's abbreviations, which I've never used in the past. It's working well, so I've collected them here in case it will save someone else some trouble.
The abbreviation definitions must be copied into a settings node, best placed in myLeoSettings.leo, and the node's headline must start with @data global-abbreviations to make them available in all outlines. My node has the headline@data global-abbreviations - Symbols. Here is the content of the node's body, ready to be copy-pasted:alph;;=α
beta;;=β
delt;;=δ
gam;;=γ
mu;;=μ
pi;;=π
sig;;=σ
Delt;;=Δ
Sig;;=Σ
pm;;=±
Maybe in the section in LeoDocs that mentions abbreviations?
Perhaps also useful:
degree;;=°
half;;=½
quarter;;=¼
3fourths;;=¾
divide;;=÷
bullet;;=•
infinity;;=∞
# Ellipsis
...;;=…
ergo;;=∴
because;;=∵
# Currency
cent;;=¢
euro;;=€
pound;;=£
yen;;=¥
Perhaps now is the time to bite the bullet and use Unicode...
I *do* use Unicode, of course ... just not extensively within my Leo notes, for instance.
I am not planning to use non-ASCII glyphs within my Python *code*, either.
I am also liking:tick;;=✔
cross;;=✖
exists;;=∃
The excellent TeXmacs [1] has the most fluent math/symbolic writing experience I have experienced so far, mostly because of its use of environments (normal text, equations, math, sections/subsections, tabular material and so on). On a particular environment you press a shortcut and you start to cycle in variants of a particular letter/symbol as explained in the TeXmacs Manual[2] under the section "Typing mathematical symbols". For example, if the author is in a math environment and types [AltGr]+@@ (s)he obtains ∞, and so on. In general using shortcuts like that eases the writing of symbols a lot.
I would advice installing TeXmacs and writing symbols in it to
get this tactile and fluent feeling, and to see what this can
inspire in the shortcuts/abbreviations front. For example, maybe
"3/4;;=¾" and ".:;;=∴" are more fluent and less Anglo-centric to
write some symbols.
[1] https://texmacs.org/
[2]
https://texmacs.org/tmweb/documents/manuals/texmacs-manual.en.pdf
Hope it helps,
Offray
--
You received this message because you are subscribed to the Google Groups "leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/c111f578-b811-43b5-9db5-15989664d985n%40googlegroups.com.