Add more super and subscript characters to latin input methods

* lisp/leim/quail/latin-post.el ("latin-postfix", "latin-prefix"): Add
mssing super and subscript characters.  (Bug#55722)
This commit is contained in:
Robert Pluim 2022-06-08 14:48:27 +02:00
parent 1ce34040fa
commit 4ad75a50a2
2 changed files with 72 additions and 1 deletions

View file

@ -2247,6 +2247,8 @@ of characters from a single Latin-N charset.
stroke | / | d/ -> đ
nordic | / | d/ -> ð t/ -> þ a/ -> å e/ -> æ o/ -> ø
symbols | ^ | r^ -> ® t^ ->
super | ^ | 0^ -> 1^ -> ¹ +^ -> -^ ->
subscript | _ | 0_ -> 1_ -> +_ -> -_ ->
others | / | s/ -> ß ?/ -> ¿ !/ -> ¡ // -> ° o/ -> œ
| / | 2/ -> ½ 3/ -> ¾ 4/ ->
| various | << -> « >> -> » o_ -> º a_ -> ª
@ -2254,11 +2256,35 @@ of characters from a single Latin-N charset.
Doubling the postfix separates the letter and postfix: e.g. a\\='\\=' -> a\\='
" nil t nil nil nil nil nil nil nil nil t)
;; Fixme: ¦ § ¨ © ¬ ­ ¯ ± ² ³ ´ µ ¶ · ¸ ¹ × ÷
;; Fixme: ¦ § ¨ © ¬ ­ ¯ ± ´ µ ¶ · ¸ × ÷
(quail-define-rules
("2/" )
("3/" )
("4/" )
("0^" ?⁰)
("1^" )
("2^" )
("3^" )
("4^" ?⁴)
("5^" ?⁵)
("6^" ?⁶)
("7^" ?⁷)
("8^" ?⁸)
("9^" ?⁹)
("+^" ?⁺)
("-^" ?⁻)
("0_" ?₀)
("1_" ?₁)
("2_" ?₂)
("3_" ?₃)
("4_" ?₄)
("5_" ?₅)
("6_" ?₆)
("7_" ?₇)
("8_" ?₈)
("9_" ?₉)
("+_" ?₊)
("-_" ?₋)
(" _" ? )
("!/" )
("//" )
@ -2453,6 +2479,30 @@ Doubling the postfix separates the letter and postfix: e.g. a\\='\\=' -> a\\='
("2//" ["2/"])
("3//" ["3/"])
("4//" ["4/"])
("0^^" ["0^"])
("1^^" ["1^"])
("2^^" ["2^"])
("3^^" ["3^"])
("4^^" ["4^"])
("5^^" ["5^"])
("6^^" ["6^"])
("7^^" ["7^"])
("8^^" ["8^"])
("9^^" ["9^"])
("+^^" ["+^"])
("-^^" ["-^"])
("0__" ["0_"])
("1__" ["1_"])
("2__" ["2_"])
("3__" ["3_"])
("4__" ["4_"])
("5__" ["5_"])
("6__" ["6_"])
("7__" ["7_"])
("8__" ["8_"])
("9__" ["9_"])
("+__" ["+_"])
("-__" ["-_"])
(" __" [" _"])
("!//" ["!/"])
("///" ["//"])

View file

@ -1197,9 +1197,16 @@ of characters from a single Latin-N charset.
("\"w" ?ẅ)
("\"y" ?ÿ)
("^ " ?^)
("^0" ?⁰)
("^1" )
("^2" )
("^3" )
("^4" ?⁴)
("^5" ?⁵)
("^6" ?⁶)
("^7" ?⁷)
("^8" ?⁸)
("^9" ?⁹)
("^A" )
("^C" )
("^E" )
@ -1228,6 +1235,20 @@ of characters from a single Latin-N charset.
("^u" )
("^w" )
("^y" )
("^+" ?⁺)
("^-" ?⁻)
("_0" ?₀)
("_1" ?₁)
("_2" ?₂)
("_3" ?₃)
("_4" ?₄)
("_5" ?₅)
("_6" ?₆)
("_7" ?₇)
("_8" ?₈)
("_9" ?₉)
("_++" ?₊)
("_-" ?₋)
("_+" )
("_:" )
("_a" )