jmcwilliams403/ComposeTeX

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.

★ 0Forks 0GitHub ↗Compare

README

ComposeTeX

ComposeTeX

Introduction:

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.

Installation:

Simply download the file and place it in your HOME directory named .XCompose.

Symbols

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>.

Greek Letters

Lower Case

SymbolUnicodeLaTeX command
αu03B1alpha
βu03B2beta
γu03B3gamma
δu03B4delta
εu03B5epsilon
ζu03B6zeta
ηu03B7eta
θu03B8theta
ιu03B9iota
κu03BAkappa
λu03BBlambda
μu03BCmu
νu03BDnu
ξu03BExi
πu03C0pi
ρu03C1rho
σu03C3sigma
τu03C4tau
υu03C5upsilon
φu03C6phi
χu03C7chi
ψu03C8psi
ωu03C9omega

Upper Case

SymbolUnicodeLaTeX command
Γu0393Gamma
Δu0394Delta
Λu039BLambda
Φu03A6Phi
Πu03A0Pi
Ψu03A8Psi
Σu03A3Sigma
Θu0398Theta
Υu03A5Upsilon
Ξu039EXi
Ωu03A9Omega

LaTeX Symbols

Contributors

MoonstarCodingjmcwilliams403

Issues