X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fsymbols;h=f6d59b8d9b964f6bfc009fef00037d8df2055e5b;hb=84886d4b138550c79515b4d791633bd41dc8cde5;hp=299c173956d57a63762847e92e5a38d5d695cbd6;hpb=7a3720dfaf8b8310aaede430881528ee35cb6f0b;p=lyx.git diff --git a/lib/symbols b/lib/symbols index 299c173956..f6d59b8d9b 100644 --- a/lib/symbols +++ b/lib/symbols @@ -1,6 +1,26 @@ # # things supported by real insets in mathed # +# +# The syntax of lib/symbols is very ad hoc. +# There are several possible formats of a line, which are quite different. +# +# Note for \def: The definition is not used in LaTeX output, but for screen +# display. Therefore you may use a definition that is only approximately +# correct if no accurate representation is possible (e.g. \HF vs. \approx). +# Note that the first argument of \def must not uses braces, and the second +# must use braces. +# +# If you put any symbol with a requirement inside an iffont clause, you +# must put an alternative definition with the same requirement in the +# corresponding else clause. Otherwise the LaTeX output would depend on the +# availability of the font. This usually no problem in GUI mode, since all +# fonts are shipped with LyX, but in command line mode no font is available +# at all. +# +# New symbols for font packages may be created using +# development/tools/generate_symbols_list.py (but may require manual fixes +# as well). # decorations acute decoration none @@ -26,6 +46,11 @@ underleftarrow decoration none amsmath underleftrightarrow decoration none amsmath underline decoration none 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 +utilde decoration none undertilde vec decoration none widehat decoration none widetilde decoration none @@ -43,23 +68,24 @@ dotsc dots none amsmath dotsi dots none amsmath dotsm dots none amsmath dotso dots none amsmath -#Do not load automatically, since we don't have a possibility to turn -#automatic loading off like for ams -#iddots dots none mathdots -iddots dots none +iddots dots none mathdots ldots dots none vdots dots none # big delimiters +big big none bigl big none bigm big none bigr big none +Big big none Bigl big none Bigm big none Bigr big none +bigg big none biggl big none biggm big none biggr big none +Bigg big none Biggl big none Biggm big none Biggr big none @@ -67,8 +93,10 @@ 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 @@ -83,6 +111,7 @@ mathcal font mathmode mathfrak font mathmode mathit font mathmode mathrm font mathmode +mathscr font mathmode mathsf font mathmode mathtt font mathmode textnormal font textmode inherit medium up math @@ -132,6 +161,7 @@ rgathered split none # references pageref ref none prettyref ref none +refstyle ref none ref ref none vpageref ref none vref ref none @@ -150,8 +180,11 @@ medspace space none ; space none thickspace space none enskip space none +enspace space none quad space none qquad space none +hfill space none +hspace* space none hspace space none # styles @@ -178,6 +211,12 @@ tag* mbox forcetext #end end none +# In order to use one of the decorations of MathSupport.cpp, the line must +# be handled by a math inset which calls mathed_draw_deco(). +# If new symbol do not fit into any of the existing insets, it would be ignored +# and new inset must be programmed. +# Better solutions is to use the font to draw the symbols as below. + # # symbols generated from fontmath.ltx # @@ -250,7 +289,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} @@ -309,6 +348,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 ↗ @@ -334,8 +375,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 ← @@ -355,12 +396,14 @@ rightharpoonup cmm 42 0 mathrel ⇀ rightharpoondown cmm 43 0 mathrel ⇁ lhook cmm 44 0 mathrel x rhook cmm 45 0 mathrel x -ldotp cmm 58 0 mathpunct x +ldotp cmm 58 0 mathpunct . cdotp cmsy 162 0 mathpunct ⋅ 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 ↑ @@ -394,21 +437,18 @@ llcorner msa 120 0 mathopen ⌞ lrcorner msa 121 0 mathclose ⌟ rightleftharpoons msa 173 0 mathrel ⇋ angle msa 92 208 mathord ∠ -hbar msb 126 0 mathord ℏ sqsubset msa 64 0 mathrel ⊏ sqsupset msa 65 0 mathrel ⊐ mho msb 102 0 mathord ℧ square msa 164 0 mathord □ Box msa 164 0 mathord □ lozenge msa 167 0 mathord ◊ -Diamond msa 167 0 mathord xdiam; +Diamond msa 167 0 mathord ⋄ vartriangleright msa 66 0 mathrel ▹ vartriangleleft msa 67 0 mathrel ◃ trianglerighteq msa 68 0 mathrel ⊵ trianglelefteq msa 69 0 mathrel ⊴ rightsquigarrow msa 195 0 mathrel ↝ -# This may not be right, but is the closest I can find. -leadsto msa 195 0 mathrel ⤳ lhd msa 67 0 mathbin ◃ unlhd msa 69 0 mathbin ⊴ rhd msa 66 0 mathbin ▹ @@ -515,7 +555,7 @@ supseteqq msa 107 0 mathrel ⫆ bumpeq msa 108 0 mathrel ≏ Bumpeq msa 109 0 mathrel ≎ lll msa 110 0 mathrel ⋘ -llltr msa 110 0 mathrel ⋘ +llless msa 110 0 mathrel ⋘ ggg msa 111 0 mathrel ⋙ gggtr msa 111 0 mathrel ⋙ circledS msa 115 0 mathord Ⓢ @@ -558,8 +598,8 @@ lnapprox msb 189 0 mathrel ⪉ gnapprox msb 190 0 mathrel ⪊ nsim msb 191 0 mathrel ≁ ncong msb 192 0 mathrel ≇ -diagup msb 193 0 mathord x -diagdown msb 194 0 mathord x +diagup msb 193 0 mathord ╱ +diagdown msb 194 0 mathord ╲ varsubsetneq msb 195 0 mathrel ⊊︀ varsupsetneq msb 33 0 mathrel ⊋︀ nsubseteqq msb 34 0 mathrel ⊈ @@ -593,9 +633,9 @@ nleftrightarrow msb 61 0 mathrel ↮ divideontimes msb 62 0 mathbin ⋇ varnothing msb 63 0 mathord ∅ nexists msb 64 0 mathord ∄ -Finv msb 96 0 mathord x -Game msb 97 0 mathord x -eth msb 103 0 mathord x +Finv msb 96 0 mathord Ⅎ +Game msb 97 0 mathord ⅁ +eth msb 103 0 mathord ð eqsim msb 104 0 mathrel ≂ beth msb 105 0 mathord ℶ gimel msb 106 0 mathord ℷ @@ -616,7 +656,8 @@ curvearrowleft msb 120 0 mathrel ↶ curvearrowright msb 121 0 mathrel ↷ digamma msb 122 0 mathord ϝ varkappa msb 123 0 mathord ϰ -Bbbk msb 124 0 mathord x +# Note: Other blackboard symbols are in the same unicode range +Bbbk msb 124 0 mathord 𝕜 hslash msb 125 0 mathord ℏ hbar msb 126 0 mathord ℏ backepsilon msb 127 0 mathrel ϶ @@ -629,23 +670,22 @@ lyxleft msa 76 0 mathord ← male wasy 26 0 x ♂ female wasy 25 0 x ♀ -currency wasy 27 0 x ¤ -phone wasy 7 0 x ☎ -recorder wasy 6 0 x ⌕ -clock wasy 28 0 x &clock; +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 x ☇ -pointer wasy 9 0 x x -RIGHTarrow wasy 17 0 x x -LEFTarrow wasy 16 0 x x -UParrow wasy 75 0 x x -DOWNarrow wasy 76 0 x x -#AC wasy n0.5pt\wasyfamily\char58\kern0.5pt}} -#HF {\leavevmode -# \lower0.9pt\hbox to 0pt{\kern0.5pt\wasyfamily\char58\hss}% -# \raise0.9pt\hbox{\kern0.5pt\wasyfamily\char58\kern0.5pt}} -#VHF wasy 64 0 x x +# 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 +\def\HF{\approx} wasysym +VHF wasy 64 0 x x Square wasy 50 0 x □ -#CheckedBox wasy 50\hss}\hbox{\wasyfamily\char8 0 x +\def\CheckedBox{\Square\kern-0.8em\checked} wasysym XBox wasy 52 0 x ⊠ hexagon wasy 55 0 x ⬡ pentagon wasy 68 0 x ⬠ @@ -655,13 +695,14 @@ hexstar wasy 65 0 x ✶ varhexstar wasy 66 0 x ✶ davidsstar wasy 67 0 x ✡ diameter wasy 31 0 x ⌀ -invdiameter wasy 21 0 x x +# Unicode is wrong, but a true alternate doesn't seem available. +invdiameter wasy 21 0 x ⌀ varangle wasy 30 0 x ∢ wasylozenge wasy 53 0 x ⌑ kreuz wasy 54 0 x ✠ smiley wasy 44 0 x ☺ frownie wasy 47 0 x ☹ -blacksmiley wasy 45 0 x x +blacksmiley wasy 45 0 x ☻ sun wasy 46 0 x ☼ checked wasy 8 0 x ✓ bell wasy 10 0 x ⍾ @@ -669,110 +710,270 @@ eighthnote wasy 11 0 x ♮ quarternote wasy 12 0 x ♩ halfnote wasy 13 0 x 𝅗𝅥 fullnote wasy 14 0 x 𝅝 -twonotes wasy 15 0 x x +twonotes wasy 15 0 x ♫ brokenvert wasy 124 0 x ¦ ataribox wasy 109 0 x x wasytherefore wasy 5 0 x ∴ Circle wasy 35 0 x ○ CIRCLE wasy 32 0 x ● Leftcircle wasy 73 0 x x -LEFTCIRCLE wasy 71 0 x x +LEFTCIRCLE wasy 71 0 x ◖ Rightcircle wasy 74 0 x x -RIGHTCIRCLE wasy 72 0 x x -#LEFTcircle {\hbox to 0pt{\wasyfamily\char71\hss}\hbox{\wasyfamily\char35}} -#RIGHTcircle{\hbox to 0pt{\wasyfamily\char72\hss}\hbox{\wasyfamily\char35}} +RIGHTCIRCLE wasy 72 0 x ◗ +\def\LEFTcircle{\LEFTCIRCLE\kern-1em\Circle} wasysym +\def\RIGHTcircle{\RIGHTCIRCLE\kern-1em\Circle} wasysym + +# Defined by amsmath.sty + +varGamma cmm 161 0 mathord x amsmath +varDelta cmm 162 0 mathord x amsmath +varTheta cmm 163 0 mathord x amsmath +varLambda cmm 164 0 mathord x amsmath +varXi cmm 165 0 mathord x amsmath +varPi cmm 166 0 mathord x amsmath +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 # # wasy astronomy # -vernal wasy 23 0 x x -ascnode wasy 19 0 x x -descnode wasy 20 0 x x -fullmoon wasy 35 0 x x -newmoon wasy 32 0 x x -leftmoon wasy 36 0 x x -rightmoon wasy 37 0 x x -astrosun cmsy 175 0 mathbin x -mercury wasy 39 0 x x -venus wasy 25 0 x x -earth wasy 38 0 x x -mars wasy 26 0 x x -jupiter wasy 88 0 x x -saturn wasy 89 0 x x -uranus wasy 90 0 x x -neptune wasy 91 0 x x -pluto wasy 92 0 x x +vernal wasy 23 0 x ♈ +ascnode wasy 19 0 x ☊ +descnode wasy 20 0 x ☋ +fullmoon wasy 35 0 x ˆ +newmoon wasy 32 0 x ● +leftmoon wasy 36 0 x ☾ +rightmoon wasy 37 0 x ☽ +astrosun cmsy 175 0 mathbin ☉ wasysym +mercury wasy 39 0 x ☿ +venus wasy 25 0 x ♀ +earth wasy 38 0 x ♁ +mars wasy 26 0 x ♂ +jupiter wasy 88 0 x ♃ +saturn wasy 89 0 x ♄ +uranus wasy 90 0 x ♅ +neptune wasy 91 0 x ♆ +pluto wasy 92 0 x ♇ # # wasy zodiac # -aries wasy 23 0 x x -taurus wasy 93 0 x x -gemini wasy 94 0 x x -cancer wasy 95 0 x x -leo wasy 19 0 x x -virgo wasy 96 0 x x -libra wasy 97 0 x x -scorpio wasy 98 0 x x -sagittarius wasy 99 0 x x -capricornus wasy 100 0 x x -aquarius wasy 101 0 x x -pisces wasy 102 0 x x -conjunction wasy 86 0 x x -opposition wasy 87 0 x x +aries wasy 23 0 x ♈ +taurus wasy 93 0 x ♉ +gemini wasy 94 0 x ♊ +cancer wasy 95 0 x ♋ +leo wasy 19 0 x ♌ +virgo wasy 96 0 x ♍ +libra wasy 97 0 x ♎ +scorpio wasy 98 0 x ♏ +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) # APL characters -APLstar wasy 69 0 x x +APLstar wasy 69 0 x ⍟ APLlog wasy 22 0 x x -APLbox wasy 126 0 x x +APLbox wasy 126 0 x ⎕ APLup wasy 0 0 x x APLdown wasy 70 0 x x APLinput wasy 125 0 x x APLcomment wasy 127 0 x x -#APLinv {{\hbox to 0pt{$\div$\hss}\APLbox}} -APLuparrowbox wasy 110 0 x x -APLdownarrowbox wasy 111 0 x x -APLleftarrowbox wasy 112 0 x x -APLrightarrowbox wasy 113 0 x x +\def\APLinv{\div\kern-17mu\APLbox} wasysym +APLuparrowbox wasy 110 0 x ⍐ +APLdownarrowbox wasy 111 0 x ⍗ +APLleftarrowbox wasy 112 0 x ⍇ +APLrightarrowbox wasy 113 0 x ⍈ # math characters -Bowtie wasy 49 0 x x -leftturn wasy 34 0 x x -rightturn wasy 33 0 x x +Bowtie wasy 49 0 x ⋈ +leftturn wasy 34 0 x ⟲ +rightturn wasy 33 0 x ⟳ # diagrams -#photon wasy 58\char58\char58\char58}} -#gluon wasy 81\char80\char80\char80% -#char80\char80\char80\char82}} +\def\photon{\AC\kern-3mu\AC\kern-3mu\AC\kern-3mu\AC} wasysym +lyxgluonelement wasy 80 0 x x notexisting +lyxgluonbelement wasy 81 0 x x notexisting +lyxgluoneelement wasy 82 0 x x notexisting +\def\gluon{\lyxgluonbelement\kern-3mu\lyxgluonelement\kern-3mu\lyxgluonelement\kern-3mu\lyxgluonelement\kern-3mu\lyxgluonelement\kern-3mu\lyxgluonelement\kern-3mu\lyxgluonelement\kern-3mu\lyxgluoneelement} wasysym # special characters -cent wasy 103 0 x x -permil wasy 104 0 x x -agemO wasy 48 0 x x -thorn wasy 105 0 x x -Thorn wasy 106 0 x x -openo wasy 108 0 x x -inve wasy 85 0 x x - -mho wasy 48 0 mathord ℧ -#Join wasy 49 0 mathrel x -#Box wasy 50 0 mathord x -#Diamond wasy 51 0 mathord x -leadsto wasy 59 0 mathrel x -sqsubset wasy 60 0 mathrel ⊏ -sqsupset wasy 61 0 mathrel ⊐ -#lhd wasy 1 0 mathbin x -#unlhd wasy 2 0 mathbin x -LHD wasy 16 0 mathbin x -#rhd wasy 3 0 mathbin x -#unrhd wasy 4 0 mathbin x -RHD wasy 17 0 mathbin x -apprle wasy 62 0 mathrel x -apprge wasy 63 0 mathrel x -wasypropto wasy 29 0 mathrel x -invneg wasy 24 0 mathrel x -ocircle wasy 35 0 mathbin x +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) + +#mho wasy 48 0 mathord ℧ wasysym # already in amsfonts +#Join wasy 49 0 mathrel x wasysym # already in amsfonts +#Box wasy 50 0 mathord □ wasysym # already in amsfonts +#Diamond wasy 51 0 mathord ⋄ wasysym # already in amsfonts +leadsto wasy 59 0 mathrel ⤳ +#sqsubset wasy 60 0 mathrel ⊏ wasysym # already in amsfonts +#sqsupset wasy 61 0 mathrel ⊐ wasysym # already in amsfonts +#lhd wasy 1 0 mathbin ◃ wasysym # already in amsfonts +#unlhd wasy 2 0 mathbin ⊴ wasysym # already in amsfonts +LHD wasy 16 0 mathbin ⱐ +#rhd wasy 3 0 mathbin ▹ wasysym # already in amsfonts +#unrhd wasy 4 0 mathbin ⊵ wasysym # already in amsfonts +RHD wasy 17 0 mathbin ▶ +apprle wasy 62 0 mathrel ≲ +apprge wasy 63 0 mathrel ≳ +wasypropto wasy 29 0 mathrel ∝ +invneg wasy 24 0 mathrel ⌐ +ocircle wasy 35 0 mathbin ⊚ logof wasy 22 0 mathrel x -varint wasy 114 0 mathop x -varoint wasy 117 0 mathop x +varint wasy 114 0 mathop ∫ +varoint wasy 117 0 mathop ∫ + +# Generated from stmaryrd.sty + +shortleftarrow stmry 0 0 mathrel x stmaryrd +shortrightarrow stmry 1 0 mathrel x stmaryrd +shortuparrow stmry 2 0 mathrel x stmaryrd +shortdownarrow stmry 3 0 mathrel x stmaryrd +Yup stmry 4 0 mathbin x stmaryrd +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) +#varcurlywedge stmry 9 0 mathbin x stmaryrd +varcurlywedge stmry 254 0 mathbin x stmaryrd +minuso stmry 10 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 +moo stmry 14 0 mathbin x stmaryrd +varotimes stmry 15 0 mathbin x stmaryrd +varoast stmry 16 0 mathbin x stmaryrd +varobar stmry 17 0 mathbin x stmaryrd +varodot stmry 18 0 mathbin x stmaryrd +varoslash stmry 19 0 mathbin x stmaryrd +varobslash stmry 20 0 mathbin x stmaryrd +varocircle stmry 21 0 mathbin x stmaryrd +varoplus stmry 22 0 mathbin x stmaryrd +varominus stmry 23 0 mathbin x stmaryrd +boxast stmry 24 0 mathbin x stmaryrd +boxbar stmry 25 0 mathbin x stmaryrd +#boxdot stmry 26 0 mathbin x stmaryrd # already in amssymb +boxslash stmry 27 0 mathbin x stmaryrd +boxbslash stmry 28 0 mathbin x stmaryrd +boxcircle stmry 29 0 mathbin x stmaryrd +boxbox stmry 30 0 mathbin x stmaryrd +boxempty stmry 31 0 mathbin x stmaryrd +#lightning stmry 32 0 mathord x stmaryrd # already in wasy +merge stmry 33 0 mathbin x stmaryrd +vartimes stmry 34 0 mathbin x stmaryrd +fatsemi stmry 35 0 mathbin x stmaryrd +sswarrow stmry 36 0 mathrel x stmaryrd +ssearrow stmry 37 0 mathrel x stmaryrd +curlywedgeuparrow stmry 38 0 mathrel x stmaryrd +curlywedgedownarrow stmry 39 0 mathrel x stmaryrd +fatslash stmry 40 0 mathbin x stmaryrd +fatbslash stmry 41 0 mathbin x stmaryrd +lbag stmry 42 0 mathbin x stmaryrd +rbag stmry 43 0 mathbin x stmaryrd +varbigcirc stmry 44 0 mathbin x stmaryrd +leftrightarroweq stmry 45 0 mathrel x stmaryrd +curlyveedownarrow stmry 46 0 mathrel x stmaryrd +curlyveeuparrow stmry 47 0 mathrel x stmaryrd +nnwarrow stmry 48 0 mathrel x stmaryrd +nnearrow stmry 49 0 mathrel x stmaryrd +leftslice stmry 50 0 mathbin x stmaryrd +rightslice stmry 51 0 mathbin x stmaryrd +varolessthan stmry 52 0 mathbin x stmaryrd +varogreaterthan stmry 53 0 mathbin x stmaryrd +varovee stmry 54 0 mathbin x stmaryrd +varowedge stmry 55 0 mathbin x stmaryrd +talloblong stmry 56 0 mathbin x stmaryrd +interleave stmry 57 0 mathbin x stmaryrd +obar stmry 58 0 mathbin x stmaryrd +obslash stmry 59 0 mathbin x stmaryrd +olessthan stmry 60 0 mathbin x stmaryrd +ogreaterthan stmry 61 0 mathbin x stmaryrd +ovee stmry 62 0 mathbin x stmaryrd +owedge stmry 63 0 mathbin x stmaryrd +oblong stmry 64 0 mathbin x stmaryrd +inplus stmry 65 0 mathrel x stmaryrd +niplus stmry 66 0 mathrel x stmaryrd +nplus stmry 67 0 mathbin x stmaryrd +subsetplus stmry 68 0 mathrel x stmaryrd +supsetplus stmry 69 0 mathrel x stmaryrd +subsetpluseq stmry 70 0 mathrel x stmaryrd +supsetpluseq stmry 71 0 mathrel x stmaryrd +Lbag stmry 72 0 mathopen x stmaryrd +Rbag stmry 73 0 mathclose x stmaryrd +llbracket stmry 74 0 mathopen x stmaryrd +rrbracket stmry 75 0 mathclose x stmaryrd +llparenthesis stmry 76 0 mathopen x stmaryrd +rrparenthesis stmry 77 0 mathclose x stmaryrd +binampersand stmry 78 0 mathopen x stmaryrd +bindnasrepma stmry 79 0 mathclose x stmaryrd +trianglelefteqslant stmry 80 0 mathrel x stmaryrd +trianglerighteqslant stmry 81 0 mathrel x stmaryrd +ntrianglelefteqslant stmry 82 0 mathrel x stmaryrd +ntrianglerighteqslant stmry 83 0 mathrel x stmaryrd +llfloor stmry 84 0 mathopen x stmaryrd +rrfloor stmry 85 0 mathclose x stmaryrd +llceil stmry 86 0 mathopen x stmaryrd +rrceil stmry 87 0 mathclose x stmaryrd +arrownot stmry 88 0 mathrel x stmaryrd +Arrownot stmry 89 0 mathrel x stmaryrd +Mapstochar stmry 90 0 mathrel x stmaryrd +mapsfromchar stmry 91 0 mathrel x stmaryrd +Mapsfromchar stmry 92 0 mathrel x stmaryrd +leftrightarrowtriangle stmry 93 0 mathrel x stmaryrd +leftarrowtriangle stmry 94 0 mathrel x stmaryrd +rightarrowtriangle stmry 95 0 mathrel x stmaryrd +#bigtriangledown stmry 96 0 mathop x stmaryrd #already in cmsy +#bigtriangleup stmry 97 0 mathop x stmaryrd #already in cmsy +bigcurlyvee stmry 98 0 mathop x stmaryrd +bigcurlywedge stmry 99 0 mathop x stmaryrd +bigsqcap stmry 100 0 mathop x stmaryrd +bigbox stmry 101 0 mathop x stmaryrd +bigparallel stmry 102 0 mathop x stmaryrd +biginterleave stmry 103 0 mathop x stmaryrd +#hugetriangledown stmry 104 0 mathop x stmaryrd # only in the font, not the .sty +#hugetriangleup stmry 105 0 mathop x stmaryrd # only in the font, not the .sty +#hugecurlyvee stmry 106 0 mathop x stmaryrd # only in the font, not the .sty +#hugecurlywedge stmry 107 0 mathop x stmaryrd # only in the font, not the .sty +#hugesqcap stmry 108 0 mathop x stmaryrd # only in the font, not the .sty +#hugebox stmry 109 0 mathop x stmaryrd # only in the font, not the .sty +#hugeparallel stmry 110 0 mathop x stmaryrd # only in the font, not the .sty +#hugeinterleave stmry 111 0 mathop x stmaryrd # only in the font, not the .sty +bignplus stmry 112 0 mathop x stmaryrd # caution: named hugenplus in the font +#largellbracket stmry 113 0 mathopen x stmaryrd # only in the font, not the .sty +#Largellbracket stmry 114 0 mathopen x stmaryrd # only in the font, not the .sty +#LARGEllbracket stmry 115 0 mathopen x stmaryrd # only in the font, not the .sty +#hugellbracket stmry 116 0 mathopen x stmaryrd # only in the font, not the .sty +#Largellbrackettop stmry 117 0 mathopen x stmaryrd # only in the font, not the .sty +#Largellbracketbot stmry 118 0 mathopen x stmaryrd # only in the font, not the .sty caution: named Hugellbrackettop in the font +#llbracketex stmry 119 0 mathopen x stmaryrd # only in the font, not the .sty caution: named Hugellbracketbot in the font +#hugenplus stmry 120 0 mathop x stmaryrd # only in the font, not the .sty caution: named Hugenplus in the font +#largerrbracket stmry 121 0 mathclose x stmaryrd # only in the font, not the .sty +#Largerrbracket stmry 122 0 mathclose x stmaryrd # only in the font, not the .sty +#LARGErrbracket stmry 123 0 mathclose x stmaryrd # only in the font, not the .sty +#hugerrbracket stmry 124 0 mathclose x stmaryrd # only in the font, not the .sty +#Largerrbrackettop stmry 125 0 mathclose x stmaryrd # only in the font, not the .sty caution: named Hugerrbrackettop in the font +#Largerrbracketbot stmry 126 0 mathclose x stmaryrd # only in the font, not the .sty caution: named Hugerrbracketbot in the font +#rrbracketex stmry 127 0 mathclose x stmaryrd # only in the font, not the .sty caution: named Hugerrbracketex in the font + +\def\varcopyright{c\kern-14mu\varbigcirc} stmaryrd +\def\longarrownot{\kern5.5mu\arrownot\kern-5.5mu} stmaryrd +\def\Longarrownot{\kern5.5mu\Arrownot\kern-5.5mu} stmaryrd +\def\Mapsto{\Mapstochar\kern-9mu\Rightarrow} stmaryrd +\def\mapsfrom{\leftarrow\kern-9mu\mapsfromchar} stmaryrd +\def\Mapsfrom{\Leftarrow\kern-9mu\Mapsfromchar} stmaryrd +\def\Longmapsto{\Mapstochar\kern-7mu\Longrightarrow} stmaryrd +\def\longmapsfrom{\longleftarrow\kern-7mu\mapsfromchar} stmaryrd +\def\Longmapsfrom{\Longleftarrow\kern-7mu\Mapsfromchar} 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 @@ -790,44 +991,44 @@ tbond cmsy 180 186 mathord x # Note that we do _not_ require the wasysym package for any integral besides # \varint and \varoint. The reason is that the integrals of the wasysym # package do not match the standard \int and \intop. See -# http://bugzilla.lyx.org/show_bug.cgi?id=1942 for details. +# http://www.lyx.org/trac/ticket/1942 for details. # 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 -intop esint 001 0 mathop ∫ esint -iint esint 003 0 mathop ∬ esintoramsmath -iintop esint 003 0 mathop ∬ esint -iiint esint 005 0 mathop ∭ esintoramsmath +int esint 001 0 mathop ∫ esint +intop esint 001 0 mathop ∫ esint +iint esint 003 0 mathop ∬ esint|amsmath +iintop esint 003 0 mathop ∬ esint +iiint esint 005 0 mathop ∭ esint|amsmath -iiintop esint 005 0 mathop ∭ esint -iiiint esint 007 0 mathop ⨌ esintoramsmath +iiintop esint 005 0 mathop ∭ esint +iiiint esint 007 0 mathop ⨌ esint|amsmath -iiiintop esint 007 0 mathop ⨌ esint +iiiintop esint 007 0 mathop ⨌ esint oint esint 011 0 mathop ∮ esint ointop esint 011 0 mathop ∮ esint oiint esint 013 0 mathop ∯ esint oiintop esint 013 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 -ointctrclockwise esint 023 0 mathop ∳ esint -ointctrclockwiseop esint 023 0 mathop ∳ esint -ointclockwise esint 025 0 mathop ∲ esint -ointclockwiseop esint 025 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 +ointctrclockwise esint 023 0 mathop ∳ esint +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 -intop cmex 82 242 mathop ∫ esint -iint wasy 115 0 mathop ∬ esintoramsmath -iintop wasy 115 0 mathop &Int esint -iiint wasy 116 0 mathop ∭ esintoramsmath - -iiintop wasy 116 0 mathop ∭ esint -\def\iiiint{\int\kern-6mu\int\kern-6mu\int\kern-6mu\int} esintoramsmath +int cmex 82 242 mathop ∫ esint +intop cmex 82 242 mathop ∫ esint +iint wasy 115 0 mathop ∬ esint|amsmath +iintop wasy 115 0 mathop &Int esint +iiint wasy 116 0 mathop ∭ esint|amsmath + +iiintop wasy 116 0 mathop ∭ esint +\def\iiiint{\int\kern-6mu\int\kern-6mu\int\kern-6mu\int} esint|amsmath \def\iiiintop{\int\kern-6mu\int\kern-6mu\int\kern-6mu\int} esint \def\dotsint{\int\kern-3mu\cdots\kern-3mu\int} esint \def\dotsintop{\int\kern-3mu\cdots\kern-3mu\int} esint @@ -846,22 +1047,22 @@ oiintop wasy 118 0 mathop ∯ esint \def\ointclockwiseop{\circlearrowright\kern-21mu\int\kern6mu} esint endif -varointclockwise esint 027 0 mathop ∲ esint -varointclockwiseop esint 027 0 mathop ∲ esint -varointctrclockwise esint 029 0 mathop ∳ esint -varointctrclockwiseop esint 029 0 mathop ∳ esint +varointclockwise esint 027 0 mathop ∲ esint +varointclockwiseop esint 027 0 mathop ∲ esint +varointctrclockwise esint 029 0 mathop ∳ esint +varointctrclockwiseop esint 029 0 mathop ∳ esint fint esint 031 0 mathop ⨏ esint fintop esint 031 0 mathop ⨏ esint varoiint esint 033 0 mathop ∯ esint varoiintop esint 033 0 mathop ∯ esint -landupint esint 035 0 mathop x esint -landupintop esint 035 0 mathop x esint -landdownint esint 037 0 mathop x esint -landdownintop esint 037 0 mathop x esint +landupint esint 035 0 mathop x esint +landupintop esint 035 0 mathop x esint +landdownint esint 037 0 mathop x esint +landdownintop esint 037 0 mathop x esint # From the amsmath package: -\def\idotsint{\int\kern-3mu\cdots\kern-3mu\int} amsmath +\def\idotsint{\int\kern-3mu\cdots\kern-3mu\int} amsmath log lyxblacktext 0 0 func x @@ -896,17 +1097,35 @@ exp lyxblacktext 0 0 func x Pr lyxblacktext 0 0 funclim x gcd lyxblacktext 0 0 funclim x deg lyxblacktext 0 0 func x +mod lyxblacktext 0 0 func x amsmath bmod lyxblacktext 0 0 func x pmod lyxblacktext 0 0 func x +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 + # # pre-defined macros # -\def\neq{\not=} -\def\ne{\not=} +\def\neq{\not=} mathrel ≠ +\def\ne{\not=} mathrel ≠ \def\notin{\not\in} \def\slash{/} @@ -920,10 +1139,14 @@ iffont cmsy \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\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 endif iffont cmm \def\hookrightarrow{\lhook\kern-12mu\rightarrow} @@ -931,12 +1154,17 @@ iffont cmm \def\bowtie{\triangleright\kern-6mu\triangleleft} endif iffont msa -\def\dashrightarrow{\lyxdabar\lyxdabar\lyxright} -\def\dashleftarrow{\lyxleft\lyxdabar\lyxdabar} -\def\dasharrow{\dashrightarrow} +\def\dashrightarrow{\lyxdabar\lyxdabar\lyxright} amssymb +\def\dashleftarrow{\lyxleft\lyxdabar\lyxdabar} amssymb +else +\def\dashrightarrow{- - \rightarrow} amssymb +\def\dashleftarrow{\leftarrow{} - -} amssymb endif +\def\dasharrow{\dashrightarrow} amssymb iffont msb -\def\Join{\ltimes\kern-18.5mu\rtimes} +\def\Join{\ltimes\kern-18.5mu\rtimes} amssymb +else +\def\Join{|x|} amssymb endif # Fixme: latin-1 chars in text file \def\AA{\AA}{Å} @@ -949,6 +1177,8 @@ lyxsurd cmsy 112 0 mathord √ \def\surd{^\lyxsurd} \def\textdegree{\kern-1mu^{\circ}\kern-4mu} 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 °