When on Linux, there is a decent chance that you will want to type mathematical symbols from LaTeX within plaintext situtaions. Are you in a lecture for Discrete Math? What about writing a simple README file for your project? No matter the situation, Linux is a slight disadvanage.
In windows, you have access to tools like AutoHotKey for live keyboard replacements or LaTeX symbols via a script available here: https://gist.github.com/kbauer/e8fee6514d124d5961f51fd7ba571bfd
On Linux, you can’t run AutoHotKey natively, which makes this solution a bit more difficult. Luckily, on many desktop managers, you have access to XCompose. This is a .XCompose file that contains a list of all the symbols you can type and binds them to various keybinds.
Simply download the file and place it in your HOME directory named .XCompose.
I will be using this website as a reference when making the LaTeX symbols table: https://latex.wikia.org/wiki/List_of_LaTeX_symbols#Greek_letters
To type any symbol, simply type <Compose> + <Latex Command> + <space>.
| Symbol | Unicode | LaTeX command |
|---|---|---|
| α | u03B1 | alpha |
| β | u03B2 | beta |
| γ | u03B3 | gamma |
| δ | u03B4 | delta |
| ε | u03B5 | epsilon |
| ζ | u03B6 | zeta |
| η | u03B7 | eta |
| θ | u03B8 | theta |
| ι | u03B9 | iota |
| κ | u03BA | kappa |
| λ | u03BB | lambda |
| μ | u03BC | mu |
| ν | u03BD | nu |
| ξ | u03BE | xi |
| π | u03C0 | pi |
| ρ | u03C1 | rho |
| σ | u03C3 | sigma |
| τ | u03C4 | tau |
| υ | u03C5 | upsilon |
| φ | u03C6 | phi |
| χ | u03C7 | chi |
| ψ | u03C8 | psi |
| ω | u03C9 | omega |
| Symbol | Unicode | LaTeX command |
|---|---|---|
| Γ | u0393 | Gamma |
| Δ | u0394 | Delta |
| Λ | u039B | Lambda |
| Φ | u03A6 | Phi |
| Π | u03A0 | Pi |
| Ψ | u03A8 | Psi |
| Σ | u03A3 | Sigma |
| Θ | u0398 | Theta |
| Υ | u03A5 | Upsilon |
| Ξ | u039E | Xi |
| Ω | u03A9 | Omega |