Created
August 20, 2021 03:31
-
-
Save iamed2/bdf2a4d000e87a50058406faec516539 to your computer and use it in GitHub Desktop.
Using Julia completions for LaTeX-like substitutions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
julia --startup-file=no --history-file=no -e 'import REPL; print( | |
let SYMBOLS = REPL.REPLCompletions.latex_symbols | |
get(SYMBOLS, "\\\$(ARGS[1])") do | |
SYMBOLS["\\text$(ARGS[1])"] | |
end | |
end | |
)' Sigma |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment