summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenno Schulenberg <bensberg@telfort.nl>2022-10-21 12:18:25 +0200
committerBenno Schulenberg <bensberg@telfort.nl>2022-10-31 16:29:47 +0100
commit0d1d65bdd98966f52bcac4077f94827b20b229dd (patch)
tree098e08644af18e27ff5b6ea9bded228fde5a1c35
parent310898270787c1a3a6ab50221324f8654dddce8e (diff)
downloadxorg-lib-libX11-0d1d65bdd98966f52bcac4077f94827b20b229dd.tar.gz
nls: change <Compose> <^> <-> to mean superscript minus instead of macron
Several other `<Multi_key> <asciicircum> <symbol>` sequences produce the superscript equivalent of the given symbol. So, let `<Multi_key> <asciicircum> <minus>` do the same. Also, add two other sequences for producing a plain macron, to compensate a bit the loss of the above sequence. Additionally, make `<Multi_key> <underscore> <minus>` produce a subscript minus, for consistency. This fixes issue #165. Requested-by: J. McWilliams Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
-rw-r--r--nls/en_US.UTF-8/Compose.pre5
1 files changed, 4 insertions, 1 deletions
diff --git a/nls/en_US.UTF-8/Compose.pre b/nls/en_US.UTF-8/Compose.pre
index 602f191e..80102024 100644
--- a/nls/en_US.UTF-8/Compose.pre
+++ b/nls/en_US.UTF-8/Compose.pre
@@ -22,7 +22,8 @@ XCOMM Spacing versions of accents (mostly)
<dead_macron> <space> : "¯" macron # MACRON
<dead_macron> <dead_macron> : "¯" macron # MACRON
<Multi_key> <minus> <asciicircum> : "¯" macron # MACRON
-<Multi_key> <asciicircum> <minus> : "¯" macron # MACRON
+<Multi_key> <underscore> <space> : "¯" macron # MACRON
+<Multi_key> <space> <underscore> : "¯" macron # MACRON
<Multi_key> <underscore> <underscore> : "¯" macron # MACRON
<Multi_key> <underscore> <asciicircum> : "¯" macron # MACRON
<dead_breve> <space> : "˘" breve # BREVE
@@ -4432,6 +4433,7 @@ XCOMM Superscripts and Subscripts
<dead_circumflex> <KP_Add> : "⁺" U207A # SUPERSCRIPT PLUS SIGN
<Multi_key> <asciicircum> <KP_Add> : "⁺" U207A # SUPERSCRIPT PLUS SIGN
<dead_circumflex> <minus> : "⁻" U207B # SUPERSCRIPT MINUS
+<Multi_key> <asciicircum> <minus> : "⁻" U207B # SUPERSCRIPT MINUS
<dead_circumflex> <U2212> : "⁻" U207B # SUPERSCRIPT MINUS
<Multi_key> <asciicircum> <U2212> : "⁻" U207B # SUPERSCRIPT MINUS
<dead_circumflex> <equal> : "⁼" U207C # SUPERSCRIPT EQUALS SIGN
@@ -4466,6 +4468,7 @@ XCOMM Superscripts and Subscripts
<Multi_key> <underscore> <KP_9> : "₉" U2089 # SUBSCRIPT NINE
<Multi_key> <underscore> <plus> : "₊" U208A # SUBSCRIPT PLUS SIGN
<Multi_key> <underscore> <KP_Add> : "₊" U208A # SUBSCRIPT PLUS SIGN
+<Multi_key> <underscore> <minus> : "₋" U208B # SUBSCRIPT MINUS
<Multi_key> <underscore> <U2212> : "₋" U208B # SUBSCRIPT MINUS
<Multi_key> <underscore> <equal> : "₌" U208C # SUBSCRIPT EQUALS SIGN
<Multi_key> <underscore> <KP_Equal> : "₌" U208C # SUBSCRIPT EQUALS SIGN