]> git.lyx.org Git - lyx.git/blobdiff - lib/symbols
Export external vector graphics as svg for XHTML.
[lyx.git] / lib / symbols
index 9f33433cdd3c7b2d0d433328f2f9b36b3a3399a1..88677e480ad76e3ac51e97882fa2e25e802e7438 100644 (file)
@@ -49,7 +49,7 @@ underrightarrow     decoration none       amsmath
 #Do not load automatically, it redefines some other symbols, and we don't
 #have a possibility to turn automatic loading off like for ams
 #undertilde          decoration none       accents
-undertilde          decoration none
+undertilde          decoration none       hiddensymbol
 utilde              decoration none       undertilde
 vec                 decoration none
 widehat             decoration none
@@ -60,7 +60,7 @@ dots              dots        none
 #Do not load automatically, it redefines some other symbols, and we don't
 #have a possibility to turn automatic loading off like for ams
 #adots             dots        none        yhmath
-adots             dots        none
+adots             dots        none        hiddensymbol
 cdots             dots        none
 ddots             dots        none
 dotsb             dots        none        amsmath
@@ -93,12 +93,12 @@ Biggr             big         none
 # packages. No 'm' versions!
 # See lucidabr.dtx for a possible implementation if you want to use these
 # with other fonts.
-biggg             big         none
-bigggl            big         none
-bigggr            big         none
-Biggg             big         none
-Bigggl            big         none
-Bigggr            big         none
+biggg             big         none        hiddensymbol
+bigggl            big         none        hiddensymbol
+bigggr            big         none        hiddensymbol
+Biggg             big         none        hiddensymbol
+Bigggl            big         none        hiddensymbol
+Bigggr            big         none        hiddensymbol
 
 # font changes
 # name           "font"       math/text family  series  shape  color
@@ -133,11 +133,11 @@ ce                font        forcetext
 cf                font        forcetext
 
 # old-style font commands
-bf                oldfont     none
-cal               oldfont     none
-it                oldfont     none
-rm                oldfont     none
-tt                oldfont     none
+bf                oldfont     none    hiddensymbol
+cal               oldfont     none    hiddensymbol
+it                oldfont     none    hiddensymbol
+rm                oldfont     none    hiddensymbol
+tt                oldfont     none    hiddensymbol
 
 # matrix environments
 Bmatrix           matrix      none
@@ -261,14 +261,14 @@ Sigma              cmr         167  83 mathalpha  Σ
 Upsilon            cmr         168 161 mathalpha  ϒ
 Phi                cmr         169  70 mathalpha  Φ
 Psi                cmr         170  89 mathalpha  Ψ
-Omega              cmr         173  87 mathalpha  Ω
+Omega              cmr         172  87 mathalpha  Ω
 aleph              cmsy         64 192 mathord  ℵ
 imath              cmm         123   0 mathord  ı
 jmath              cmm         124   0 mathord  ȷ
 ell                cmm          96   0 mathord  ℓ
 wp                 cmm         125 195 mathord  ℘
 Re                 cmsy         60 194 mathord  ℜ
-Im                 cmsy         61 193 mathord  ℑ
+Im                 cmsy         61 193 mathord  &imaginary;
 partial            cmm          64 182 mathord  ∂
 infty              cmsy         49 165 mathord  ∞
 prime              cmsy         48 162 mathord  ′
@@ -280,7 +280,6 @@ triangle           cmsy         52   0 mathord  ▵
 forall             cmsy         56  34 mathord  ∀
 exists             cmsy         57  36 mathord  ∃
 neg                cmsy         58 216 mathord  ¬
-lnot               cmsy         58 216 mathord  ¬
 flat               cmm          91   0 mathord  ♭
 natural            cmm          92   0 mathord  ♮
 sharp              cmm          93  35 mathord  ♯
@@ -289,7 +288,7 @@ diamondsuit        cmsy        125 168 mathord  ♢
 heartsuit          cmsy        126 169 mathord  ♡
 spadesuit          cmsy        127 170 mathord  ♠
 # We define lyxnot as mathrel in order to have proper alignment
-lyxnot             cmsy         54  47 mathrel  ∖
+lyxnot             cmsy         54  47 mathrel  /
 iffont cmsy
 # 9mu = 0.5em which is the extra space added to relation operators
 \def\not{\lyxnot\kern-9mu}
@@ -331,7 +330,7 @@ wr                 cmsy        111   0 mathbin  ≀
 div                cmsy        165 184 mathbin  ÷
 odot               cmsy        175   0 mathbin  ⊙
 oslash             cmsy        174 198 mathbin  ø
-otimes             cmsy        173 196 mathbin  ⊗
+otimes             cmsy        172 196 mathbin  ⊗
 ominus             cmsy        170   0 mathbin  ⊖
 oplus              cmsy        169 197 mathbin  ⊕
 mp                 cmsy        168   0 mathbin  ∓
@@ -348,6 +347,8 @@ sqsubseteq         cmsy        118   0 mathrel  ⊑
 sqsupseteq         cmsy        119   0 mathrel  ⊒
 parallel           cmsy        107   0 mathrel  ∥
 mid                cmsy        106 124 mathrel  ∣
+lvert              cmsy        106 124 mathrel  &lvert;  amsmath
+rvert              cmsy        106 124 mathrel  &rvert;  amsmath
 dashv              cmsy         97   0 mathrel  ⊣
 vdash              cmsy         96   0 mathrel  ⊢
 nearrow            cmsy         37   0 mathrel  ↗
@@ -357,9 +358,7 @@ swarrow            cmsy         46   0 mathrel  ↙
 Leftrightarrow     cmsy         44 219 mathrel  ↔
 Leftarrow          cmsy         40 220 mathrel  ⇐
 Rightarrow         cmsy         41 222 mathrel  ⇒
-leq                cmsy        183 163 mathrel  ≤
 le                 cmsy        183 163 mathrel  ≤
-geq                cmsy        184 179 mathrel  ≥
 ge                 cmsy        184 179 mathrel  ≥
 succ               cmsy        194   0 mathrel  ≻
 prec               cmsy        193   0 mathrel  ≺
@@ -373,8 +372,8 @@ subseteq           cmsy        181 205 mathrel  ⊆
 in                 cmsy         50 206 mathrel  ∈
 ni                 cmsy         51  39 mathrel  ∋
 owns               cmsy         51  39 mathrel  ∋
-gg                 cmsy        192   0 mathrel  >
-ll                 cmsy        191   0 mathrel  <
+gg                 cmsy        192   0 mathrel  ≫
+ll                 cmsy        191   0 mathrel  ≪
 leftrightarrow     cmsy         36 171 mathrel  ↔
 leftarrow          cmsy        195 172 mathrel  ←
 gets               cmsy        195 172 mathrel  ←
@@ -400,6 +399,8 @@ colon              cmr          58  58 mathpunct  :
 arrowvert          cmsy        106   0 mathord  |
 Arrowvert          cmsy        107   0 mathord  ∥
 Vert               cmsy        107   0 mathord  ∥
+lVert              cmsy        107   0 mathord  ∥  amsmath
+rVert              cmsy        107   0 mathord  ∥  amsmath
 |                  cmsy        107   0 mathord  |
 vert               cmsy        106   0 mathord  |
 uparrow            cmsy         34 173 mathrel ↑
@@ -431,7 +432,7 @@ ulcorner           msa         112   0 mathopen  ⌜
 urcorner           msa         113   0 mathclose  ⌝
 llcorner           msa         120   0 mathopen  ⌞
 lrcorner           msa         121   0 mathclose  ⌟
-rightleftharpoons  msa         173   0 mathrel  ⇋
+rightleftharpoons  msa         172   0 mathrel  ⇋
 angle              msa          92 208 mathord  ∠
 sqsubset           msa          64   0 mathrel  ⊏
 sqsupset           msa          65   0 mathrel  ⊐
@@ -574,7 +575,7 @@ nprec              msb         167   0 mathrel  ⊀
 nsucc              msb         168   0 mathrel  ⊁
 lneqq              msb         169   0 mathrel  ≨
 gneqq              msb         170   0 mathrel  ≩
-nleqslant          msb         173   0 mathrel  ⩽̸
+nleqslant          msb         172   0 mathrel  ⩽̸
 ngeqslant          msb         174   0 mathrel  ⩾̸
 lneq               msb         175   0 mathrel  ≰
 gneq               msb         176   0 mathrel  ⪈
@@ -670,16 +671,16 @@ currency           wasy          27  0 textmode ¤ wasysym # works in text
 phone              wasy          7   0 textmode ☎  wasysym # works in text mode only (produces \Upsilon in math mode)
 recorder           wasy          6   0 textmode ⌕ wasysym # works in text mode only (produces \Sigma in math mode)
 clock              wasy          28  0 textmode &clock;  wasysym # works in text mode only (produces \o in math mode)
-lightning          wasy          18  0 x        ☇
+lightning          wasy          18  0 textmode ☇ wasysym # 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 # works in text mode only (produces \Psi in math mode)
 RIGHTarrow         wasy          17  0 textmode ▶ wasysym # works in text mode only (produces \jmath in math mode)
 LEFTarrow          wasy          16  0 textmode ◀ wasysym # works in text mode only (produces \imath in math mode)
 UParrow            wasy          75  0 textmode ▲ wasysym # works in text mode only (produces K in math mode)
 DOWNarrow          wasy          76  0 textmode ▼ wasysym # works in text mode only (produces L in math mode)
-AC                 wasy          58  0 textmode x        wasysym # works in text mode only
+AC                 wasy          58  0 textmode ∿ wasysym # works in text mode only
 \def\HF{\approx}                                         wasysym
-VHF                wasy          64  0 x        x
+VHF                wasy          64  0 x        ≋ # triple tilde
 Square             wasy          50  0 x        □
 \def\CheckedBox{\Square\kern-0.8em\checked}              wasysym
 XBox               wasy          52  0 x        ⊠
@@ -691,8 +692,7 @@ hexstar            wasy          65  0 x        ✶
 varhexstar         wasy          66  0 x        ✶
 davidsstar         wasy          67  0 x        ✡
 diameter           wasy          31  0 x        ⌀
-# Unicode is wrong, but a true alternate doesn't seem available.
-invdiameter        wasy          21  0 x        ⌀
+invdiameter        wasy          21  0 x        x       # 2205 EMPTY SET and 2300 DIAMETER SIGN are similar but not quite right
 varangle           wasy          30  0 x        ∢
 wasylozenge        wasy          53  0 x        ⌑
 kreuz              wasy          54  0 x        ✠
@@ -731,7 +731,7 @@ varSigma           cmm         167  0  mathord  x  amsmath
 varUpsilon         cmm         168  0  mathord  x  amsmath
 varPhi             cmm         169  0  mathord  x  amsmath
 varPsi             cmm         170  0  mathord  x  amsmath
-varOmega           cmm         173  0  mathord  x  amsmath
+varOmega           cmm         172  0  mathord  x  amsmath
 
 #
 # wasy astronomy
@@ -991,7 +991,7 @@ tbond              cmsy        180 186 mathord  x
 # If the wasysym integrals are really wanted then one has to load the package
 # manually and disable automatic loading of amsmath and esint.
 iffont esint
-int                esint        001    0  mathop  ∫         esint
+int                esint        001    0  mathop  ∫         esint|amsmath
 intop              esint        001    0  mathop  ∫         esint
 iint               esint        003    0  mathop  ∬         esint|amsmath
 iintop             esint        003    0  mathop  ∬         esint
@@ -1017,7 +1017,7 @@ ointctrclockwiseop esint        023    0  mathop  ∳    esint
 ointclockwise      esint        025    0  mathop  ∲    esint
 ointclockwiseop    esint        025    0  mathop  ∲    esint
 else
-int                cmex          82  242  mathop  ∫         esint
+int                cmex          82  242  mathop  ∫         esint|amsmath
 intop              cmex          82  242  mathop  ∫         esint
 iint               wasy         115    0  mathop  ∬         esint|amsmath
 iintop             wasy         115    0  mathop  &Int          esint
@@ -1100,29 +1100,32 @@ pod                lyxblacktext  0   0 func     x     amsmath
 
 
 # mathtools.sty
-\def\vcentcolon{\kern4mu:\kern3mu}             mathtools
-\def\dblcolon{\vcentcolon\kern-8mu\vcentcolon} mathtools
-\def\coloneqq{\vcentcolon\kern-7mu=}           mathtools
-\def\Coloneqq{\dblcolon\kern-7mu=}             mathtools
-\def\coloneq{\vcentcolon\kern-7mu-}            mathtools
-\def\Coloneq{\dblcolon\kern-7mu-}              mathtools
-\def\eqqcolon{=\kern-8mu\vcentcolon}           mathtools
-\def\Eqqcolon{=\kern-8mu\dblcolon}             mathtools
-\def\eqcolon{-\kern-8mu\vcentcolon}            mathtools
-\def\Eqcolon{-\kern-8mu\dblcolon}              mathtools
-\def\colonapprox{\vcentcolon\kern-7mu\approx}  mathtools
-\def\Colonapprox{\dblcolon\kern-7mu\approx}    mathtools
-\def\colonsim{\vcentcolon\kern-7mu\sim}        mathtools
-\def\Colonsim{\dblcolon\kern-7mu\sim}          mathtools
+\def\vcentcolon{:}                             mathtools :
+\def\dblcolon{\vcentcolon\kern-8mu\vcentcolon} mathtools ::
+\def\coloneqq{\vcentcolon\kern-7mu=}           mathtools ≔
+\def\Coloneqq{\dblcolon\kern-7mu=}             mathtools ::=
+\def\coloneq{\vcentcolon\kern-7mu-}            mathtools :-
+\def\Coloneq{\dblcolon\kern-7mu-}              mathtools ::-
+\def\eqqcolon{=\kern-8mu\vcentcolon}           mathtools ≕
+\def\Eqqcolon{=\kern-8mu\dblcolon}             mathtools =::
+\def\eqcolon{-\kern-8mu\vcentcolon}            mathtools -:
+\def\Eqcolon{-\kern-8mu\dblcolon}              mathtools -::
+\def\colonapprox{\vcentcolon\kern-7mu\approx}  mathtools :≈
+\def\Colonapprox{\dblcolon\kern-7mu\approx}    mathtools ::≈
+\def\colonsim{\vcentcolon\kern-7mu\sim}        mathtools :∼
+\def\Colonsim{\dblcolon\kern-7mu\sim}          mathtools ::∼
 
 
 #
 # pre-defined macros
 #
 
-\def\neq{\not=}
-\def\ne{\not=}
-\def\notin{\not\in}
+\def\leq{\le}                                                   mathrel ≤
+\def\geq{\ge}                                                   mathrel ≥
+\def\neq{\not=}                                                 mathrel ≠
+\def\ne{\not=}                                                  mathrel ≠
+\def\lnot{\neg}                                                 mathord ¬
+\def\notin{\not\in}                                             ""      ∉
 \def\slash{/}
 
 \def\longleftrightarrow{\leftarrow\kern-12.5mu\rightarrow}
@@ -1131,32 +1134,32 @@ pod                lyxblacktext  0   0 func     x     amsmath
 \def\doteq{\stackrel{\cdot}{=}}
 
 iffont cmsy
-\def\longrightarrow{\lyxbar\kern-11mu\rightarrow}
-\def\longleftarrow{\leftarrow\kern-11mu\lyxbar}
-\def\Longrightarrow{\lyxeq\kern-9.5mu\Rightarrow}
-\def\Longleftarrow{\Leftarrow\kern-9.5mu\lyxeq}
-\def\implies{\Longrightarrow}                                   amsmath
-\def\impliedby{\Longleftarrow}                                  amsmath
-\def\mapsto{\mapstochar\kern-9mu\rightarrow}
-\def\longmapsto{\mapstochar\kern-6mu\lyxbar\kern-11mu\rightarrow}
-\def\models{\vert\kern-7mu\lyxeq}
+\def\longrightarrow{\lyxbar\kern-11mu\rightarrow}               ""       ⟶
+\def\longleftarrow{\leftarrow\kern-11mu\lyxbar}                 ""       ⟵
+\def\Longrightarrow{\lyxeq\kern-9.5mu\Rightarrow}               ""       ⟹
+\def\Longleftarrow{\Leftarrow\kern-9.5mu\lyxeq}                 ""       ⟸
+\def\implies{\Longrightarrow}                                   amsmath  ⟹
+\def\impliedby{\Longleftarrow}                                  amsmath  ⟸
+\def\mapsto{\mapstochar\kern-9mu\rightarrow}                    ""       ↤
+\def\longmapsto{\mapstochar\kern-6mu\lyxbar\kern-11mu\rightarrow} ""     ⟻
+\def\models{\vert\kern-7mu\lyxeq}                               ""       ⊨
 else
-\def\implies{=>}                                                amsmath
-\def\impliedby{<=}                                              amsmath
+\def\implies{=>}                                                amsmath  &#x27F9;
+\def\impliedby{<=}                                              amsmath  &#x27F8;
 endif
 iffont cmm
-\def\hookrightarrow{\lhook\kern-12mu\rightarrow}
-\def\hookleftarrow{\leftarrow\kern-12mu\rhook}
-\def\bowtie{\triangleright\kern-6mu\triangleleft}
+\def\hookrightarrow{\lhook\kern-12mu\rightarrow}                ""       &#x21AA;
+\def\hookleftarrow{\leftarrow\kern-12mu\rhook}                  ""       &#x21A9;
+\def\bowtie{\triangleright\kern-6mu\triangleleft}               ""       &#x22C8;
 endif
 iffont msa
-\def\dashrightarrow{\lyxdabar\lyxdabar\lyxright}                amssymb
-\def\dashleftarrow{\lyxleft\lyxdabar\lyxdabar}                  amssymb
+\def\dashrightarrow{\lyxdabar\lyxdabar\lyxright}                amssymb  &#x290F;
+\def\dashleftarrow{\lyxleft\lyxdabar\lyxdabar}                  amssymb  &#x290E;
 else
-\def\dashrightarrow{- - \rightarrow}                            amssymb
-\def\dashleftarrow{\leftarrow{} - -}                            amssymb
+\def\dashrightarrow{- - \rightarrow}                            amssymb  &#x290F;
+\def\dashleftarrow{\leftarrow{} - -}                            amssymb  &#x290E;
 endif
-\def\dasharrow{\dashrightarrow}                                 amssymb
+\def\dasharrow{\dashrightarrow}                                 amssymb  &#x290F;
 iffont msb
 \def\Join{\ltimes\kern-18.5mu\rtimes}                           amssymb
 else
@@ -1168,11 +1171,13 @@ endif
 
 iffont cmsy
 # The \sim is placed too high...
-\def\cong{\stackrel{_\sim}{=}}
+\def\cong{\stackrel{_\sim}{=}}                                  ""        &cong;
 lyxsurd               cmsy        112 0 mathord  &radic;
-\def\surd{^\lyxsurd}
-\def\textdegree{\kern-1mu^{\circ}\kern-4mu}
+\def\surd{^\lyxsurd}                                            ""        &radic;
+\def\textdegree{\kern-1mu^{\circ}\kern-4mu}                     ""        &deg;
 else
+# FIXME: These don't work on OS X, since the Symbol font uses a different
+#        encoding and is therefore disabled in FontLoader::available().
 cong               lyxsymbol             64  0 mathrel  &cong;
 surd               lyxsymbol             214 0 mathord  &radic;
 textdegree         lyxsymbol             176 0 mathord  &deg;