]> git.lyx.org Git - lyx.git/blobdiff - lib/symbols
de-po
[lyx.git] / lib / symbols
index 27f07fd646a11de6d7aad663734a5b6806b38463..e95d8b5861f824726462f7f7e60dda1b40e054fa 100644 (file)
@@ -16,6 +16,8 @@
 # or
 # \def\macroname{definition} requires
 # or
+# \def\macroname{definition} extra xmlname
+# or
 # \def\macroname{definition} extra xmlname requires
 #
 # ("" for empty strings is not supported. One would have to use x for fields
@@ -203,6 +205,16 @@ textstyle         style       2
 scriptstyle       style       1
 scriptscriptstyle style       0
 
+# math classes
+mathord           class    none
+mathop            class    none
+mathbin           class    none
+mathrel           class    none
+mathopen          class    none
+mathclose         class    none
+mathpunct         class    none
+mathinner         class    none
+
 # misc
 # The commented lines in this block get misparsed as MathSymbolInset because
 # createMathInset() does not know them. I don't know if this is old cruft
@@ -302,7 +314,7 @@ spadesuit          cmsy        127 170 mathord  ♠
 lyxnot             cmsy         54  47 mathrel  /           hiddensymbol
 iffont cmsy
 # kerning is slightly imperfect so that one can see when \not is selected
-\def\not{\lyxnot\mathrel{\kern-11mu}}
+\def\not{\lyxnot}
 else
 \def\not{\kern4mu\lyxnot\kern-19mu}
 endif
@@ -688,8 +700,8 @@ phone              wasy          7   0 textmode ☎  wasysym,amstext,lyxmath
 recorder           wasy          6   0 textmode ⌕ wasysym,amstext,lyxmathsym # works in text mode only (produces \Sigma in math mode)
 clock              wasy          28  0 textmode &clock;  wasysym,amstext,lyxmathsym # works in text mode only (produces \o in math mode)
 lightning          wasy          18  0 textmode ☇ wasysym,amstext,lyxmathsym # works in text mode only (produces ` in math mode)
-# FIXME Display is wrong (bug 8493): qt does not display characters at the \t position (0x09)
-pointer            wasy          9   0 textmode x        wasysym,amstext,lyxmathsym # works in text mode only (produces \Psi in math mode)
+# qt does not display characters at the \t position (0x09)
+pointer            wasy          170   0 textmode x        wasysym,amstext,lyxmathsym # works in text mode only (produces \Psi in math mode)
 RIGHTarrow         wasy          17  0 textmode ▶ wasysym,amstext,lyxmathsym # works in text mode only (produces \jmath in math mode)
 LEFTarrow          wasy          16  0 textmode ◀ wasysym,amstext,lyxmathsym # works in text mode only (produces \imath in math mode)
 UParrow            wasy          75  0 textmode ▲ wasysym,amstext,lyxmathsym # works in text mode only (produces K in math mode)
@@ -717,10 +729,10 @@ frownie            wasy          47  0 x        ☹
 blacksmiley        wasy          45  0 x        ☻
 sun                wasy          46  0 x        ☼
 checked            wasy          8   0 x        ✓
-bell               wasy          1 0 x        ⍾
+bell               wasy          171 0 x        ⍾
 eighthnote         wasy          11  0 x        ♮
-quarternote        wasy          1 0 x        ♩
-halfnote           wasy          1 0 x        𝅗𝅥
+quarternote        wasy          172 0 x        ♩
+halfnote           wasy          174 0 x        𝅗𝅥
 fullnote           wasy          14  0 x        𝅝
 twonotes           wasy          15  0 x        ♫
 brokenvert         wasy          124 0 x        ¦
@@ -854,14 +866,16 @@ Ydown              stmry   5   0 mathbin    x  stmaryrd
 Yleft              stmry   6   0 mathbin    x  stmaryrd
 Yright             stmry   7   0 mathbin    x  stmaryrd
 varcurlyvee        stmry   8   0 mathbin    x  stmaryrd
-# qt does not display characters at the \t position (0x09)
-# therefore our .ttf font contains a copy at 254 (0xfe)
+# qt4 does not display characters at the \t position (0x09)
+# therefore our .ttf font contains a copy at 170 (0xaa)
 #varcurlywedge      stmry   9   0 mathbin    x  stmaryrd
-varcurlywedge      stmry 254   0 mathbin    x  stmaryrd
-minuso             stmry  10   0 mathbin    x  stmaryrd
+#10,12,13 codepoints broken in qt5
+varcurlywedge      stmry 170   0 mathbin    x  stmaryrd
+minuso             stmry 171   0 mathbin    x  stmaryrd
 baro               stmry  11   0 mathbin    x  stmaryrd
-sslash             stmry  12   0 mathbin    x  stmaryrd
-bbslash            stmry  13   0 mathbin    x  stmaryrd
+sslash             stmry 172   0 mathbin    x  stmaryrd
+#for whatever reason qt5 refuses to display anything at position 173
+bbslash            stmry 174   0 mathbin    x  stmaryrd
 moo                stmry  14   0 mathbin    x  stmaryrd
 varotimes          stmry  15   0 mathbin    x  stmaryrd
 varoast            stmry  16   0 mathbin    x  stmaryrd
@@ -978,17 +992,17 @@ bignplus           stmry 112   0 mathop     x  stmaryrd # caution: named hugenpl
 #rrbracketex        stmry 127   0 mathclose  x  stmaryrd # only in the font, not the .sty caution: named Hugerrbracketex in the font
 
 \def\varcopyright{\mathord{c\kern-11mu\varbigcirc}}         stmaryrd
-# kerning is slightly imperfect so that one see when \[Aa]rrownot is selected
-\def\arrownot{\lyxarrownot\mathrel{\kern-11mu}}             stmaryrd
-\def\Arrownot{\lyxArrownot\mathrel{\kern-10.5mu}}           stmaryrd
+# kerning is slightly imperfect so that one sees when \[Aa]rrownot is selected
+\def\arrownot{\lyxarrownot}                                 stmaryrd
+\def\Arrownot{\lyxArrownot\mathrel{\kern0.5mu}}             stmaryrd
 \def\longarrownot{\mathrel{\kern5.5mu}\arrownot\mathrel{\kern-5.5mu}} stmaryrd
 \def\Longarrownot{\mathrel{\kern5.5mu}\Arrownot\mathrel{\kern-5.5mu}} stmaryrd
-\def\Mapsto{\Mapstochar\mathrel{\kern-2mu}\Rightarrow}      stmaryrd
-\def\mapsfrom{\leftarrow\kern-9mu\mapsfromchar}             stmaryrd
-\def\Mapsfrom{\Leftarrow\kern-9mu\Mapsfromchar}             stmaryrd
-\def\Longmapsto{\Mapstochar\Longrightarrow}                 stmaryrd
-\def\longmapsfrom{\longleftarrow\mapsfromchar}              stmaryrd
-\def\Longmapsfrom{\Longleftarrow\mathrel{\kern1mu}\Mapsfromchar}      stmaryrd
+\def\Mapsto{\Mapstochar\mathrel\Rightarrow}              mathrel ⤇ stmaryrd
+\def\mapsfrom{\leftarrow\kern-9mu\mapsfromchar}          mathrel ↤ stmaryrd
+\def\Mapsfrom{\Leftarrow\kern-9mu\Mapsfromchar}          mathrel ⤆ stmaryrd
+\def\Longmapsto{\Mapstochar\Longrightarrow}              mathrel ⟾ stmaryrd
+\def\longmapsfrom{\longleftarrow\mapsfromchar}           mathrel ⟻ stmaryrd
+\def\Longmapsfrom{\Longleftarrow\mathrel{\kern1mu}\Mapsfromchar}   mathrel ⟽ stmaryrd
 
 # symbols from the mhchem package, all of them are equivalent to a math symbol
 # mhchem is not loaded because these commands can only be used inside
@@ -1020,17 +1034,18 @@ iiintop            esint        005    0  mathop  ∭        esint
 iiiint             esint        007    0  mathop  ⨌        esint|amsmath
 
 iiiintop           esint        007    0  mathop  ⨌        esint
-oint               esint        011    0  mathop  ∮      esint
+#9 codepoint forbidden in qt4, 10,12,13 in qt5
+oint               esint        043    0  mathop  ∮      esint
 
-ointop             esint        011    0  mathop  ∮      esint
-oiint              esint        013    0  mathop  ∯      esint
-oiintop            esint        013    0  mathop  ∯      esint
+ointop             esint        043    0  mathop  ∮      esint
+oiint              esint        045    0  mathop  ∯      esint
+oiintop            esint        045    0  mathop  ∯      esint
 sqint              esint        015    0  mathop  x             esint
 sqintop            esint        015    0  mathop  x             esint
 sqiint             esint        017    0  mathop  x             esint
 sqiintop           esint        017    0  mathop  x             esint
-dotsint            esint        019    0  mathop  ∫⋯∫ esint
-dotsintop          esint        019    0  mathop  ∫⋯∫ esint
+dotsint            esint        041    0  mathop  ∫⋯∫ esint
+dotsintop          esint        042    0  mathop  ∫⋯∫ esint
 ointctrclockwise   esint        023    0  mathop  ∳    esint
 ointctrclockwiseop esint        023    0  mathop  ∳    esint
 ointclockwise      esint        025    0  mathop  ∲    esint
@@ -1150,10 +1165,10 @@ ordinarycolon      cmr          58  58    mathrel :             mathtools
 \def\joinrel{\mathrel{\kern-3mu}}
 \def\relbar{\lyxbar}
 \def\Relbar{\mathrel{=}}
-\def\longleftrightarrow{\leftarrow\joinrel\rightarrow}
-\def\Longleftrightarrow{\Leftarrow\joinrel\Rightarrow}
-\def\iff{\Leftarrow\joinrel\Rightarrow}
-\def\doteq{\stackrel{\cdot}{=}}
+\def\longleftrightarrow{\leftarrow\joinrel\rightarrow}          mathrel ⟷
+\def\Longleftrightarrow{\Leftarrow\joinrel\Rightarrow}          mathrel ⟺
+\def\iff{\Leftarrow\joinrel\Rightarrow}                         mathrel ⟺
+\def\doteq{\stackrel{\cdot}{=}}                                 mathrel ≐
 
 iffont cmsy
 \def\longrightarrow{\relbar\joinrel\rightarrow}                 mathrel ⟶
@@ -1162,7 +1177,7 @@ iffont cmsy
 \def\Longleftarrow{\Leftarrow\joinrel\Relbar}                   mathrel ⟸
 \def\implies{\Longrightarrow}                                   mathrel ⟹ amsmath
 \def\impliedby{\Longleftarrow}                                  mathrel ⟸ amsmath
-\def\mapsto{\mapstochar\mathrel{\kern-2mu}\rightarrow}          mathrel ↤
+\def\mapsto{\mapstochar\rightarrow}                             mathrel ↤
 \def\longmapsto{\mapstochar\joinrel\relbar\joinrel\rightarrow}  mathrel ⟻
 \def\models{\mathrel{\vert}\joinrel\Relbar}                     mathrel ⊨
 else
@@ -1183,20 +1198,19 @@ else
 endif
 \def\dasharrow{\dashrightarrow}                                 mathrel ⤏ amssymb
 iffont msb
-\def\Join{\mathrel{\ltimes\kern-13.5mu\rtimes}}                 amssymb
+\def\Join{\mathrel{\ltimes\kern-13.5mu\rtimes}}                 mathrel ⨝ amssymb
 else
-\def\Join{|x|}                                                  amssymb
+\def\Join{|x|}                                                  mathrel ⨝ amssymb
 endif
-# FIXME: UTF-8 chars in text file
-\def\AA{\AA}{Å} textmode Å  amstext,lyxmathsym
-\def\O{\O}{Ø}   textmode Ø amstext,lyxmathsym
+\def\AA{\AA}{\text{Å}} textmode Å  amstext,lyxmathsym
+\def\O{\O}{\text{Ø}}   textmode Ø amstext,lyxmathsym
 
 iffont cmsy
 # The \sim is placed too high...
 \def\cong{\stackrel{\sim}{=}}                                   mathrel ≅
 lyxsurd               cmsy        112 0 mathord  √
 \def\surd{^\lyxsurd}                                            mathord √
-\def\textdegree{\kern-1mu^{\circ}\kern-4mu} textmode ° textcomp,amstext,lyxmathsym
+\def\textdegree{\text{°}} textmode ° textcomp,amstext,lyxmathsym
 else
 # FIXME: These don't work on OS X, since the Symbol font uses a different
 #        encoding and is therefore disabled in FontLoader::available().