- Download this repo
- Open Emacs-TeQ.el file in your
Emacs
- Do (
M-x eval-buffer
) in the openned file.
- Done. you’ve registered
TeQ-Math
in the current session
- For usage see below: Usage
- Download this repo
- Add following to your
init.el
file:
(add-to-list 'load-path (expand-file-name "~/.config/emacs/Emacs-TeQ"))
(register-input-method
"TeQ-Math" "Emacs-Teq-Latex" 'quail-use-package
"TeQ-" "TeQ-Math input"
"Emacs-TeQ.el")
- Make sure that you’re using correct path to downloaded repo.
(for my case above, it’s:
~/.config/emacs/Emacs-TeQ
)
- For usage see below: Usage
- To select input method: Do (
M-x set-input-method
) and select TeQ-Math
- To turn on/off: (
M-x toggle-input-method
) or it’s also bind to (C-\
)
- Try following quick examples: (for full list check the Emacs-TeQ.pdf)
Type this column |
Result: |
Breakdown: |
Where it’s defined |
a.dd |
\ddot{\alpha} ($\ddot{α}$) |
a. ($α$) + dd ($\ddot{\Box}$) |
manual in table:5 |
Rv |
\vec{R} ($\vec{R}$) |
R ($R$) + v ($\vec{\Box}$) |
manual in table:1 |
Type this column |
Result: |
Breakdown: |
Where it’s defined |
=> |
\Rightarrow ($⇒$) |
=> looks like $⇒$
|
manual in table:14 |
<=>n |
\nLeftrightarrow ($\nLeftrightarrow$) |
<=> ($⇔$) + n (add: negate)) |
manual in table:14 |
exn |
\nexists ($\nexists$) |
ex ($∃$) + n (add: negate)) |
manual in table:7 |
inn |
\notin ($∉$) |
ex ($∃$) + n (add: negate)) |
manual in table:12 |
Type this column |
Result: |
Breakdown: |
Where it’s defined |
cosn |
\arccos ($arccos$ ) |
cos ($cos$) + n (negate) |
manual in table:24 |
sin2 |
\sin^2 ($sin^2$ ) |
sin ($sin$) + 2 (power of 2) |
manual in table:24 |
int |
\int ($∫$ ) |
|
manual in table:26 |
inti |
\iint ($\iint$ ) |
\int ($∫$) + i (add: variation) |
manual in table:26 |
into |
\oint ($\oint$ ) |
\int ($∫$) + o (add: variation) |
manual in table:26 |
Type this column |
Result: |
Breakdown: |
Where it’s defined |
{}.. |
\left\{ \middle\vert \right\} $\left\{ \middle\vert \right\}$
|
{}. ($\left\{ \right\}$) + . (add: variation) |
manual in table:30 |
[].. |
\left[ \middle\vert \right] $\left[ \middle\vert \right]$
|
{}. ($\left[ \right]$) + . (add: variation) |
manual in table:30 |
Please check full translation key tables in the PDF manual.
Or you can check each seperate org files:
- Resources/01-Roman-Greek-Alphabets.org
- Resources/02-Symbols-and-their-modification.org
- Resources/03-Functions-Sum-Integral-Differential.org
- Resources/04-Structural-and-Parentheses.org