Skip to content

garid3000/Emacs-TeQ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emacs TeQ: (TeX + Quail)

Installation:

Quick-and-dirty:

  1. Download this repo
  2. Open Emacs-TeQ.el file in your Emacs
  3. Do (M-x eval-buffer) in the openned file.
  4. Done. you’ve registered TeQ-Math in the current session
  5. For usage see below: Usage

For full installation:

  1. Download this repo
  2. 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")
  1. Make sure that you’re using correct path to downloaded repo. (for my case above, it’s: ~/.config/emacs/Emacs-TeQ)
  2. For usage see below: Usage

Usage/Quick-tutorial:

  1. To select input method: Do (M-x set-input-method) and select TeQ-Math
  2. To turn on/off: (M-x toggle-input-method) or it’s also bind to (C-\)
  3. Try following quick examples: (for full list check the Emacs-TeQ.pdf)

Typing alphabet related symbols: (01-Roman-Greek):

Type this column Result: Breakdown: Where it’s defined
a.dd \ddot{\alpha} ( α ¨ ) a. ( α ) + dd ( ¨ ) manual in table:5
Rv \vec{R} ( R ) R ( R ) + v ( ) manual in table:1

Typing symbols: (02-Symbols):

Type this column Result: Breakdown: Where it’s defined
=> \Rightarrow ( ) => looks like manual in table:14
<=>n \nLeftrightarrow ( ) <=> ( ) + n (add: negate)) manual in table:14
exn \nexists ( ) ex ( ) + n (add: negate)) manual in table:7
inn \notin ( ) ex ( ) + n (add: negate)) manual in table:12

Typing functions: (03-Functions):

Type this column Result: Breakdown: Where it’s defined
cosn \arccos ( a r c c o s ) cos ( c o s ) + n (negate) manual in table:24
sin2 \sin^2 ( s i n 2 ) sin ( s i n ) + 2 (power of 2) manual in table:24
int \int ( ) manual in table:26
inti \iint ( ) \int ( ) + i (add: variation) manual in table:26
into \oint ( ) \int ( ) + o (add: variation) manual in table:26

Typing parenthesis: (04-Structural)

Type this column Result: Breakdown: Where it’s defined
{}.. \left\{ \middle\vert \right\} { | } {}. ( { } ) + . (add: variation) manual in table:30
[].. \left[ \middle\vert \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:

  1. Resources/01-Roman-Greek-Alphabets.org
  2. Resources/02-Symbols-and-their-modification.org
  3. Resources/03-Functions-Sum-Integral-Differential.org
  4. Resources/04-Structural-and-Parentheses.org

About

Quail input-method for LaTeX in Emacs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published