aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Berdine2025-11-30 17:07:45 +0000
committerEli Zaretskii2026-01-24 12:40:29 +0200
commit0ca00d9a98d64e1672cd7b34d074a211d7c8d75c (patch)
tree6e460835704fc9cc8ac8305c32a27753ffceaab1
parent3573116d3ebf20697ead49f4b12e206b530211ba (diff)
downloademacs-0ca00d9a98d64e1672cd7b34d074a211d7c8d75c.tar.gz
emacs-0ca00d9a98d64e1672cd7b34d074a211d7c8d75c.zip
Use math symbols instead of CJK punctuation in TeX input method
This seems more appropriate given the context, and additionally the CJK symbols often render wider, as a full width CJK glyph, while the math symbols render narrower. There was some related discussion in bug#12948, where an analogous change was made for \langle and \rangle. * lisp/leim/quail/latin-ltx.el (latin-ltx--define-rules): Change rules for \llbracket, \rrbracket and \ldata, \rdata to generate Unicode code points in the Miscellaneous Mathematical Symbols-A block (U+27E6, U+27E7 and U+27EA, U+27EB) instead of the CJK Symbols and Punctuation block (U+301A, U+301B and U+300A , U+300B). Copyright-paperwork-exempt: yes
-rw-r--r--lisp/leim/quail/latin-ltx.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/leim/quail/latin-ltx.el b/lisp/leim/quail/latin-ltx.el
index bbcadb9c611..2356ce3a244 100644
--- a/lisp/leim/quail/latin-ltx.el
+++ b/lisp/leim/quail/latin-ltx.el
@@ -787,12 +787,12 @@ system, including many technical ones. Examples:
787 ("\\sqrt" ?√) 787 ("\\sqrt" ?√)
788 ("\\sqrt[3]" ?∛) 788 ("\\sqrt[3]" ?∛)
789 ("\\sqrt[4]" ?∜) 789 ("\\sqrt[4]" ?∜)
790 ("\\llbracket" ?\) ; stmaryrd 790 ("\\llbracket" ?\) ; stmaryrd
791 ("\\rrbracket" ?\) 791 ("\\rrbracket" ?\)
792 ;; ("\\lbag" ?\〚) ; fuzz 792 ;; ("\\lbag" ?\〚) ; fuzz
793 ;; ("\\rbag" ?\〛) 793 ;; ("\\rbag" ?\〛)
794 ("\\ldata" ?\) ; fuzz/zed 794 ("\\ldata" ?\) ; fuzz/zed
795 ("\\rdata" ?\) 795 ("\\rdata" ?\)
796 ;; From Karl Eichwalder. 796 ;; From Karl Eichwalder.
797 ("\\glq" ?‚) 797 ("\\glq" ?‚)
798 ("\\grq" ?‘) 798 ("\\grq" ?‘)