1 ;;; latin-ltx.el --- Quail package for TeX-style input -*-coding: utf-8;-*-
3 ;; Copyright (C) 2001-2011 Free Software Foundation, Inc.
4 ;; Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
6 ;; National Institute of Advanced Industrial Science and Technology (AIST)
7 ;; Registration Number H14PRO021
9 ;; Author: TAKAHASHI Naoto <ntakahas@m17n.org>
10 ;; Dave Love <fx@gnu.org>
11 ;; Keywords: multilingual, input, Greek, i18n
13 ;; This file is part of GNU Emacs.
15 ;; GNU Emacs is free software: you can redistribute it and/or modify
16 ;; it under the terms of the GNU General Public License as published by
17 ;; the Free Software Foundation, either version 3 of the License, or
18 ;; (at your option) any later version.
20 ;; GNU Emacs is distributed in the hope that it will be useful,
21 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
22 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 ;; GNU General Public License for more details.
25 ;; You should have received a copy of the GNU General Public License
26 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
36 "LaTeX-like input method for many characters.
37 These characters are from the charsets used by the `utf-8' coding
38 system, including many technical ones. Examples:
40 \\pi -> π \\int -> ∫ ^1 -> ¹"
42 '(("\t" . quail-completion
))
43 t t nil nil nil nil nil nil nil t
)
47 ("\\pounds" ?£
) ;; ("{\\pounds}" ?£)
48 ("\\S" ?§
) ;; ("{\\S}" ?§)
50 ("\\copyright" ?©
) ;; ("{\\copyright}" ?©)
53 ("$\\pm$" ?±
) ("\\pm" ?±
)
57 ("\\P" ?¶
) ;; ("{\\P}" ?¶)
58 ;; Fixme: Yudit has the equivalent of ("\\cdot" ?⋅), for U+22C5, DOT
59 ;; OPERATOR, whereas · is MIDDLE DOT. JadeTeX translates both to
61 ("$\\cdot$" ?·
) ("\\cdot" ?·
)
67 ("\\`{A}" ?À
) ("\\`A" ?À
)
68 ("\\'{A}" ?Á
) ("\\'A" ?Á
)
69 ("\\^{A}" ?Â
) ("\\^A" ?Â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) ("\\vh" ?ȟ
)
278 ("\\.{A}" ?Ȧ
) ("\\.A" ?Ȧ
)
279 ("\\.{a}" ?ȧ
) ("\\.a" ?ȧ
)
280 ("\\c{E}" ?Ȩ
) ("\\cE" ?Ȩ
)
281 ("\\c{e}" ?ȩ
) ("\\ce" ?ȩ
)
282 ("\\.{O}" ?Ȯ
) ("\\.O" ?Ȯ
)
283 ("\\.{o}" ?ȯ
) ("\\.o" ?ȯ
)
284 ("\\={Y}" ?Ȳ
) ("\\=Y" ?Ȳ
)
285 ("\\={y}" ?ȳ
) ("\\=y" ?ȳ
)
475 ("\\Leftrightarrow" ?⇔
)
478 ("\\Longleftarrow" ?⇐
)
479 ("\\Longleftrightarrow" ?⇔
)
480 ("\\Longrightarrow" ?⇒
)
524 ("\\bigtriangledown" ?▽
)
525 ("\\bigtriangleup" ?△
)
528 ("\\blacklozenge" ?✦
)
530 ("\\blacktriangle" ?▴
)
531 ("\\blacktriangledown" ?▾
)
532 ("\\blacktriangleleft" ?◂
)
533 ("\\blacktriangleright" ?▸
)
548 ("\\circlearrowleft" ?↺
)
549 ("\\circlearrowright" ?↻
)
567 ("\\curvearrowleft" ?↶
)
568 ("\\curvearrowright" ?↷
)
581 ("\\divideontimes" ?⋇
)
587 ("\\downdownarrows" ?⇊
)
588 ("\\downleftharpoon" ?⇃
)
589 ("\\downrightharpoon" ?⇂
)
601 ("\\fallingdotseq" ?≒
)
643 ("\\hookleftarrow" ?↩
)
644 ("\\hookrightarrow" ?↪
)
662 ("\\leftarrowtail" ?↢
)
663 ("\\leftharpoondown" ?↽
)
664 ("\\leftharpoonup" ?↼
)
665 ("\\leftleftarrows" ?⇇
)
666 ("\\leftparengtr" ?〈
)
667 ("\\leftrightarrow" ?↔
)
668 ("\\leftrightarrows" ?⇆
)
669 ("\\leftrightharpoons" ?⇋
)
670 ("\\leftrightsquigarrow" ?↭
)
671 ("\\leftthreetimes" ?⋋
)
690 ("\\longleftarrow" ?←
)
691 ("\\longleftrightarrow" ?↔
)
693 ("\\longrightarrow" ?→
)
694 ("\\looparrowleft" ?↫
)
695 ("\\looparrowright" ?↬
)
703 ("\\measuredangle" ?∡
)
710 ("\\nLeftrightarrow" ?⇎
)
731 ("\\nleftrightarrow" ?↮
)
744 ("\\nshortparallel" ?∦
)
755 ("\\ntriangleleft" ?⋪
)
756 ("\\ntrianglelefteq" ?⋬
)
757 ("\\ntriangleright" ?⋫
)
758 ("\\ntrianglerighteq" ?⋭
)
795 ("\\rightarrowtail" ?↣
)
796 ("\\rightharpoondown" ?⇁
)
797 ("\\rightharpoonup" ?⇀
)
798 ("\\rightleftarrows" ?⇄
)
799 ("\\rightleftharpoons" ?⇌
)
800 ("\\rightparengtr" ?〉
)
801 ("\\rightrightarrows" ?⇉
)
802 ("\\rightthreetimes" ?⋌
)
803 ("\\risingdotseq" ?≓
)
810 ("\\shortparallel" ?∥
)
815 ("\\smallsetminus" ?∖
)
819 ("\\sphericalangle" ?∢
)
827 ("\\squigarrowright" ?⇝
)
858 ("\\triangledown" ?▿
)
859 ("\\triangleleft" ?◃
)
860 ("\\trianglelefteq" ?⊴
)
862 ("\\triangleright" ?▹
)
863 ("\\trianglerighteq" ?⊵
)
864 ("\\twoheadleftarrow" ?↞
)
865 ("\\twoheadrightarrow" ?↠
)
869 ("\\upleftharpoon" ?↿
)
871 ("\\uprightharpoon" ?↾
)
885 ("\\vartriangleleft" ?⊲
)
886 ("\\vartriangleright" ?⊳
)
898 ("\\Bbb{N}" ?ℕ
) ; AMS commands for blackboard bold
899 ("\\Bbb{P}" ?ℙ
) ; Also sometimes \mathbb.
904 ;; We used to use ~ for NBSP but that's inconvenient and may even look like
905 ;; a bug where the user finds his ~ key doesn't insert a ~ any more.
910 ("\\mathscr{I}" ?ℐ
) ; moment of inertia
916 ;; Probably not useful enough:
917 ;; ("\\Telefon" ?☎) ; there are other possibilities
918 ;; ("\\Radioactivity" ?☢)
922 ;; ("\\Lightning" ?☇)
931 ;; ("\\Writinghand" ?✍)
943 ("\\ordmasculine" ?º
)
946 ;; by analogy with lq, rq:
950 ("\\defs" ?≙
) ; per fuzz/zed
952 ("\\llbracket" ?\〚
) ; stmaryrd
954 ;; ("\\lbag" ?\〚) ; fuzz
956 ("\\ldata" ?\《
) ; fuzz/zed
958 ;; From Karl Eichwalder.
961 ("\\glqq" ?„
) ("\\\"`" ?„
)
962 ("\\grqq" ?“
) ("\\\"'" ?“
)
965 ("\\flqq" ?\«
) ("\\\"<" ?\«
)
966 ("\\frqq" ?\»
) ("\\\">" ?\»
)
968 ("\\-" ?
) ;; soft hyphen
971 ("\\textfractionsolidus" ?⁄
)
972 ("\\textbigcircle" ?⃝
)
973 ("\\textmusicalnote" ?♪
)
975 ("\\textcolonmonetary" ?₡
)
981 ("\\textinterrobang" ?‽
)
982 ("\\textpertenthousand" ?‱
)
985 ("\\textdiscount" ?⁒
)
986 ("\\textestimated" ?℮
)
987 ("\\textopenbullet" ?◦
)
990 ("\\textcircledP" ?℗
)
991 ("\\textreferencemark" ?※
)
994 ;;; latin-ltx.el ends here