X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fsymbols;h=ba2b6d330ddf969a7fef908cc9b7d6c285688b14;hb=e335c764b47f8154973be212b446d9c13972cdf3;hp=89fc41ae52841d13d79f301dc7bc4b2c4504990c;hpb=08b285966326523a10954cf6235d0c7b200c842f;p=lyx.git diff --git a/lib/symbols b/lib/symbols index 89fc41ae52..ba2b6d330d 100644 --- a/lib/symbols +++ b/lib/symbols @@ -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 @@ -268,7 +268,7 @@ 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 ♯ @@ -359,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 ≺ @@ -670,20 +667,20 @@ lyxleft msa 76 0 mathord ← male wasy 26 0 x ♂ female wasy 25 0 x ♀ -currency wasy 27 0 textmode ¤ wasysym # works in text mode only (produces \oe in math mode) -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 textmode ☇ wasysym # works in text mode only (produces ` in math mode) +currency wasy 27 0 textmode ¤ wasysym,amstext,lyxmathsym # works in text mode only (produces \oe in math mode) +phone wasy 7 0 textmode ☎ wasysym,amstext,lyxmathsym # works in text mode only (produces \Upsilon in math mode) +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 # 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 +pointer wasy 9 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) +DOWNarrow wasy 76 0 textmode ▼ wasysym,amstext,lyxmathsym # works in text mode only (produces L in math mode) +AC wasy 58 0 textmode ∿ wasysym,amstext,lyxmathsym # 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 ⊠ @@ -695,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 ✠ @@ -774,8 +770,8 @@ sagittarius wasy 99 0 x ♐ capricornus wasy 100 0 x ♑ aquarius wasy 101 0 x ♒ pisces wasy 102 0 x ♓ -conjunction wasy 86 0 textmode ☌ wasysym # works in text mode only (produces V in math mode) -opposition wasy 87 0 textmode ☍ wasysym # works in text mode only (produces W in math mode) +conjunction wasy 86 0 textmode ☌ wasysym,amstext,lyxmathsym # works in text mode only (produces V in math mode) +opposition wasy 87 0 textmode ☍ wasysym,amstext,lyxmathsym # works in text mode only (produces W in math mode) # APL characters APLstar wasy 69 0 x ⍟ APLlog wasy 22 0 x x @@ -803,11 +799,11 @@ lyxgluoneelement wasy 82 0 x x notexisting # special characters cent wasy 103 0 x �A2; permil wasy 104 0 x ‰ -agemO wasy 48 0 textmode ℧ wasysym # works in text mode only (produces 0 in math mode) -thorn wasy 105 0 textmode þ wasysym # works in text mode only (produces i in math mode) -Thorn wasy 106 0 textmode Þ wasysym # works in text mode only (produces j in math mode) -openo wasy 108 0 textmode ɔ wasysym # works in text mode only (produces l in math mode) -inve wasy 85 0 textmode ə wasysym # works in text mode only (produces U in math mode) +agemO wasy 48 0 textmode ℧ wasysym,amstext,lyxmathsym # works in text mode only (produces 0 in math mode) +thorn wasy 105 0 textmode þ wasysym,amstext,lyxmathsym # works in text mode only (produces i in math mode) +Thorn wasy 106 0 textmode Þ wasysym,amstext,lyxmathsym # works in text mode only (produces j in math mode) +openo wasy 108 0 textmode ɔ wasysym,amstext,lyxmathsym # works in text mode only (produces l in math mode) +inve wasy 85 0 textmode ə wasysym,amstext,lyxmathsym # works in text mode only (produces U in math mode) #mho wasy 48 0 mathord ℧ wasysym # already in amsfonts #Join wasy 49 0 mathrel x wasysym # already in amsfonts @@ -1104,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{:} mathrel : mathtools +\def\dblcolon{\vcentcolon\kern-8mu\vcentcolon} mathrel :: mathtools +\def\coloneqq{\vcentcolon\kern-7mu=} mathrel ≔ mathtools +\def\Coloneqq{\dblcolon\kern-7mu=} mathrel ::= mathtools +\def\coloneq{\vcentcolon\kern-7mu-} mathrel :- mathtools +\def\Coloneq{\dblcolon\kern-7mu-} mathrel ::- mathtools +\def\eqqcolon{=\kern-8mu\vcentcolon} mathrel ≕ mathtools +\def\Eqqcolon{=\kern-8mu\dblcolon} mathrel =:: mathtools +\def\eqcolon{-\kern-8mu\vcentcolon} mathrel -: mathtools +\def\Eqcolon{-\kern-8mu\dblcolon} mathrel -:: mathtools +\def\colonapprox{\vcentcolon\kern-7mu\approx} mathrel :≈ mathtools +\def\Colonapprox{\dblcolon\kern-7mu\approx} mathrel ::≈ mathtools +\def\colonsim{\vcentcolon\kern-7mu\sim} mathrel :∼ mathtools +\def\Colonsim{\dblcolon\kern-7mu\sim} mathrel ::∼ mathtools # # pre-defined macros # +\def\leq{\le} mathrel ≤ +\def\geq{\ge} mathrel ≥ \def\neq{\not=} mathrel ≠ \def\ne{\not=} mathrel ≠ -\def\notin{\not\in} +\def\lnot{\neg} mathord ¬ +\def\notin{\not\in} mathrel ∉ \def\slash{/} \def\longleftrightarrow{\leftarrow\kern-12.5mu\rightarrow} @@ -1135,53 +1134,53 @@ 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} mathrel ⟶ +\def\longleftarrow{\leftarrow\kern-11mu\lyxbar} mathrel ⟵ +\def\Longrightarrow{\lyxeq\kern-9.5mu\Rightarrow} mathrel ⟹ +\def\Longleftarrow{\Leftarrow\kern-9.5mu\lyxeq} mathrel ⟸ +\def\implies{\Longrightarrow} mathrel ⟹ amsmath +\def\impliedby{\Longleftarrow} mathrel ⟸ amsmath +\def\mapsto{\mapstochar\kern-9mu\rightarrow} mathrel ↤ +\def\longmapsto{\mapstochar\kern-6mu\lyxbar\kern-11mu\rightarrow} mathrel ⟻ +\def\models{\vert\kern-7mu\lyxeq} mathrel ⊨ else -\def\implies{=>} amsmath -\def\impliedby{<=} amsmath +\def\implies{=>} mathrel ⟹ amsmath +\def\impliedby{<=} mathrel ⟸ amsmath 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} mathrel ↪ +\def\hookleftarrow{\leftarrow\kern-12mu\rhook} mathrel ↩ +\def\bowtie{\triangleright\kern-6mu\triangleleft} mathrel ⋈ endif iffont msa -\def\dashrightarrow{\lyxdabar\lyxdabar\lyxright} amssymb -\def\dashleftarrow{\lyxleft\lyxdabar\lyxdabar} amssymb +\def\dashrightarrow{\lyxdabar\lyxdabar\lyxright} mathrel ⤏ amssymb +\def\dashleftarrow{\lyxleft\lyxdabar\lyxdabar} mathrel ⤎ amssymb else -\def\dashrightarrow{- - \rightarrow} amssymb -\def\dashleftarrow{\leftarrow{} - -} amssymb +\def\dashrightarrow{- - \rightarrow} mathrel ⤏ amssymb +\def\dashleftarrow{\leftarrow{} - -} mathrel ⤎ amssymb endif -\def\dasharrow{\dashrightarrow} amssymb +\def\dasharrow{\dashrightarrow} mathrel ⤏ amssymb iffont msb \def\Join{\ltimes\kern-18.5mu\rtimes} amssymb else \def\Join{|x|} amssymb endif # Fixme: latin-1 chars in text file -\def\AA{\AA}{Å} -\def\O{\O}{Ø} +\def\AA{\AA}{Å} textmode Å amstext,lyxmathsym +\def\O{\O}{Ø} textmode Ø amstext,lyxmathsym iffont cmsy # The \sim is placed too high... -\def\cong{\stackrel{_\sim}{=}} +\def\cong{\stackrel{_\sim}{=}} mathrel ≅ lyxsurd cmsy 112 0 mathord √ -\def\surd{^\lyxsurd} -\def\textdegree{\kern-1mu^{\circ}\kern-4mu} +\def\surd{^\lyxsurd} mathord √ +\def\textdegree{\kern-1mu^{\circ}\kern-4mu} 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(). cong lyxsymbol 64 0 mathrel ≅ surd lyxsymbol 214 0 mathord √ -textdegree lyxsymbol 176 0 mathord ° +textdegree lyxsymbol 176 0 mathord ° textcomp,amstext,lyxmathsym endif #"{\hat{}}