From 3eb294745cb0ce3a312d95f848bd63cab75b23d5 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 5 Jun 2021 11:28:26 +0300 Subject: [PATCH] Some additions to the TeX input method * lisp/leim/quail/latin-ltx.el (latin-ltx--define-rules): Add some rules from Unicode Technical Note 28 "UnicodeMath" v3.1. --- lisp/leim/quail/latin-ltx.el | 52 ++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/lisp/leim/quail/latin-ltx.el b/lisp/leim/quail/latin-ltx.el index 8b1e5203613..2146304f156 100644 --- a/lisp/leim/quail/latin-ltx.el +++ b/lisp/leim/quail/latin-ltx.el @@ -279,13 +279,17 @@ system, including many technical ones. Examples: ("\\Vdash" ?⊩) ("\\Vert" ?‖) ("\\Vvdash" ?⊪) + ("\\above" ?┴) ("\\aleph" ?ℵ) ("\\amalg" ?∐) ("\\angle" ?∠) + ("\\aoint" ?∳) ("\\approx" ?≈) ("\\approxeq" ?≊) + ("\\asmash" ?⬆) ("\\ast" ?∗) ("\\asymp" ?≍) + ("\\atop" ?¦) ("\\backcong" ?≌) ("\\backepsilon" ?∍) ("\\backprime" ?‵) @@ -294,11 +298,18 @@ system, including many technical ones. Examples: ("\\backslash" ?\\) ("\\barwedge" ?⊼) ("\\because" ?∵) + ("\\begin" ?\〖) + ("\\below" ?┬) ("\\beth" ?ℶ) ("\\between" ?≬) ("\\bigcap" ?⋂) ("\\bigcirc" ?◯) ("\\bigcup" ?⋃) + ("\\bigodot" ?⨀) + ("\\bigoplus" ?⨁) + ("\\bigotimes" ?⨂) + ("\\bigsqcup" ?⨆) + ("\\biguplus" ?⨄) ("\\bigstar" ?★) ("\\bigtriangledown" ?▽) ("\\bigtriangleup" ?△) @@ -315,6 +326,7 @@ system, including many technical ones. Examples: ("\\boxminus" ?⊟) ("\\boxplus" ?⊞) ("\\boxtimes" ?⊠) + ("\\bra" ?\⟨) ("\\bullet" ?•) ("\\bumpeq" ?≏) ("\\cap" ?∩) @@ -331,7 +343,9 @@ system, including many technical ones. Examples: ("\\circledast" ?⊛) ("\\circledcirc" ?⊚) ("\\circleddash" ?⊝) + ("\\close" ?┤) ("\\clubsuit" ?♣) + ("\\coint" ?∲) ("\\coloneq" ?≔) ("\\complement" ?∁) ("\\cong" ?≅) @@ -349,8 +363,12 @@ system, including many technical ones. Examples: ("\\dagger" ?†) ("\\daleth" ?ℸ) ("\\dashv" ?⊣) + ("\\Dd" ?ⅅ) + ("\\dd" ?ⅆ) ("\\ddag" ?‡) ("\\ddagger" ?‡) + ("\\ddddot" ?⃜) + ("\\dddot" ?⃛) ("\\ddots" ?⋱) ("\\diamond" ?⋄) ("\\diamondsuit" ?♢) @@ -363,8 +381,12 @@ system, including many technical ones. Examples: ("\\downdownarrows" ?⇊) ("\\downleftharpoon" ?⇃) ("\\downrightharpoon" ?⇂) + ("\\dsmash" ?⬇) + ("\\ee" ?ⅇ) ("\\ell" ?ℓ) ("\\emptyset" ?∅) + ("\\end" ?\〗) + ("\\eqarray" ?█) ("\\eqcirc" ?≖) ("\\eqcolon" ?≕) ("\\eqslantgtr" ?⋝) @@ -414,16 +436,25 @@ system, including many technical ones. Examples: ("\\heartsuit" ?♥) ("\\hookleftarrow" ?↩) ("\\hookrightarrow" ?↪) + ("\\hphantom" ?⬄) + ("\\hsmash" ?⬌) ("\\iff" ?⇔) + ("\\ii" ?ⅈ) + ("\\iiiint" ?⨌) + ("\\iiint" ?∭) + ("\\iint" ?∬) ("\\imath" ?ı) ("\\in" ?∈) ("\\infty" ?∞) ("\\int" ?∫) ("\\intercal" ?⊺) + ("\\jj" ?ⅉ) + ("\\jmath" ?ȷ) ("\\langle" ?⟨) ;; Was ?〈, see bug#12948. ("\\lbrace" ?{) ("\\lbrack" ?\[) ("\\lceil" ?⌈) + ("\\ldiv" ?∕) ("\\ldots" ?…) ("\\le" ?≤) ("\\leadsto" ?↝) @@ -529,16 +560,25 @@ system, including many technical ones. Examples: ("\\nvdash" ?⊬) ("\\nwarrow" ?↖) ("\\odot" ?⊙) + ("\\oiiint" ?∰) + ("\\oiint" ?∯) ("\\oint" ?∮) ("\\ominus" ?⊖) ("\\oplus" ?⊕) ("\\oslash" ?⊘) ("\\otimes" ?⊗) + ("\\overbrace" ?⏞) + ("\\overparen" ?⏜) ("\\par" ?
) ("\\parallel" ?∥) ("\\partial" ?∂) ("\\perp" ?⊥) + ("\\phantom" ?⟡) ("\\pitchfork" ?⋔) + ("\\pppprime" ?⁗) + ("\\ppprime" ?‴) + ("\\pprime" ?″) + ("\\prcue" ?≼) ("\\prec" ?≺) ("\\precapprox" ?≾) ("\\preceq" ?≼) @@ -548,12 +588,16 @@ system, including many technical ones. Examples: ("\\prime" ?′) ("\\prod" ?∏) ("\\propto" ?∝) + ("\\qdrt" ?∜) ("\\qed" ?∎) ("\\quad" ? ) ("\\rangle" ?\⟩) ;; Was ?〉, see bug#12948. + ("\\ratio" ?∶) ("\\rbrace" ?}) ("\\rbrack" ?\]) ("\\rceil" ?⌉) + ("\\rddots" ?⋰) + ("\\rect" ?▭) ("\\rfloor" ?⌋) ("\\rightarrow" ?→) ("\\rightarrowtail" ?↣) @@ -565,6 +609,8 @@ system, including many technical ones. Examples: ("\\rightrightarrows" ?⇉) ("\\rightthreetimes" ?⋌) ("\\risingdotseq" ?≓) + ("\\rrect" ?▢) + ("\\sdiv" ?⁄) ("\\rtimes" ?⋊) ("\\sbs" ?﹨) ("\\searrow" ?↘) @@ -577,6 +623,7 @@ system, including many technical ones. Examples: ("\\smallamalg" ?∐) ("\\smallsetminus" ?∖) ("\\smallsmile" ?⌣) + ("\\smash" ?⬍) ("\\smile" ?⌣) ("\\spadesuit" ?♠) ("\\sphericalangle" ?∢) @@ -627,12 +674,16 @@ system, including many technical ones. Examples: ("\\ulcorner" ?⌜) ("\\uparrow" ?↑) ("\\updownarrow" ?↕) + ("\\underbar" ?▁) + ("\\underbrace" ?⏟) + ("\\underparen" ?⏝) ("\\upleftharpoon" ?↿) ("\\uplus" ?⊎) ("\\uprightharpoon" ?↾) ("\\upuparrows" ?⇈) ("\\urcorner" ?⌝) ("\\u{i}" ?ĭ) + ("\\vbar" ?│) ("\\vDash" ?⊨) ((lambda (name char) @@ -655,6 +706,7 @@ system, including many technical ones. Examples: ("\\vee" ?∨) ("\\veebar" ?⊻) ("\\vert" ?|) + ("\\vphantom" ?⇳) ("\\wedge" ?∧) ("\\wp" ?℘) ("\\wr" ?≀) -- 2.39.2