]> git.lyx.org Git - lyx.git/blobdiff - lib/symbols
font-emph.png: change the toolbar button for \emph fro an italic E to an exclamation...
[lyx.git] / lib / symbols
index e3b8eb496ab85a89048d0e70c3976d4e4cf2b0b1..1cf298a9973aa2da5283c01c3137d42517396c20 100644 (file)
@@ -7,7 +7,8 @@ acute               decoration none
 bar                 decoration none
 breve               decoration none
 check               decoration none
-dddot               decoration none
+ddddot              decoration none       amsmath
+dddot               decoration none       amsmath
 ddot                decoration none
 dot                 decoration none
 grave               decoration none
@@ -15,32 +16,62 @@ hat                 decoration none
 mathring            decoration none
 overbrace           decoration none
 overleftarrow       decoration none
-overleftrightarrow  decoration none
+overleftrightarrow  decoration none       amsmath
 overline            decoration none
 overrightarrow      decoration none
 tilde               decoration none
 underbar            decoration none
 underbrace          decoration none
-underleftarrow      decoration none
-underleftrightarrow decoration none
+underleftarrow      decoration none       amsmath
+underleftrightarrow decoration none       amsmath
 underline           decoration none
-underrightarrow     decoration none
+underrightarrow     decoration none       amsmath
 vec                 decoration none
 widehat             decoration none
 widetilde           decoration none
 
 # dots
 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
 cdots             dots        none
 ddots             dots        none
-dotsb             dots        none
-dotsc             dots        none
-dotsi             dots        none
-dotsm             dots        none
-dotso             dots        none
+dotsb             dots        none        amsmath
+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
 ldots             dots        none
 vdots             dots        none
 
+# big delimiters
+bigl              big         none
+bigm              big         none
+bigr              big         none
+Bigl              big         none
+Bigm              big         none
+Bigr              big         none
+biggl             big         none
+biggm             big         none
+biggr             big         none
+Biggl             big         none
+Biggm             big         none
+Biggr             big         none
+# The following are not standard LaTeX, but defined in the lucida font
+# packages. No 'm' versions!
+# See lucidabr.dtx for a possible implementation if you want to use these
+# with other fonts.
+bigggl            big         none
+bigggr            big         none
+Bigggl            big         none
+Bigggr            big         none
+
 # font changes
 # name           "font"       math/text family  series  shape  color
 # mathnormal should stay the first
@@ -68,6 +99,9 @@ texttt            font        textmode
 textup            font        textmode
 emph              font        textmode
 noun              font        textmode
+# ce and cf are provided by the mhchem package
+ce                font        forcetext
+cf                font        forcetext
 
 # old-style font commands
 bf                oldfont     none
@@ -87,6 +121,14 @@ smallmatrix       matrix      none
 vmatrix           matrix      none
 CD                matrix      none
 
+# split environments with optional valign argument.
+# the others (split and alignedat) are hardcoded.
+aligned           split       none
+gathered          split       none
+# from Morten H\o gholm's mathtools.sty:
+lgathered         split       none
+rgathered         split       none
+
 # references
 pageref           ref         none
 prettyref         ref         none
@@ -98,13 +140,19 @@ vref              ref         none
 lyxnegspace       space       none
 lyxposspace       space       none
 !                 space       none
+negthinspace      space       none
 negmedspace       space       none
 negthickspace     space       none
 ,                 space       none
+thinspace         space       none
 :                 space       none
+medspace          space       none
 ;                 space       none
+thickspace        space       none
+enskip            space       none
 quad              space       none
 qquad             space       none
+hspace            space       none
 
 # styles
 displaystyle      style       0
@@ -113,19 +161,21 @@ scriptstyle       style       2
 scriptscriptstyle style       3
 
 # misc
-begin             begin       none
-right             right       none
+# 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
+# or if it is planned to use this in the future. gb 2006-03-13
+#begin             begin       none
+#right             right       none
 underset          underset    none
 overset           overset     none
-parbox            parbox      none
-protect           protect     none
+#protect           protect     none
 mbox              mbox        forcetext
-newcommand        newcommand  none
-label             label       none
-left              left        none
-end               end         none
-fbox              fbox        none
-boxed             fbox        none
+tag               mbox        forcetext
+tag*              mbox        forcetext
+#newcommand        newcommand  none
+#label             label       none
+#left              left        none
+#end               end         none
 
 
 #
@@ -133,72 +183,72 @@ boxed             fbox        none
 #
 
 #symbol            font   charid   charid-in-fallback-Xsymbol-font
-alpha              cmm         174  97 mathord  x
-beta               cmm         175  98 mathord  x
-gamma              cmm         176 103 mathord  x
-delta              cmm         177 100 mathord  x
-epsilon            cmm         178   0 mathord  x
-zeta               cmm         179 122 mathord  x
-eta                cmm         180 104 mathord  x
-theta              cmm         181 113 mathord  x
-iota               cmm         182 105 mathord  x
-kappa              cmm         183 107 mathord  x
-lambda             cmm         184 108 mathord  x
-mu                 cmm         185 109 mathord  x
-nu                 cmm         186 110 mathord  x
-xi                 cmm         187 120 mathord  x
-pi                 cmm         188 112 mathord  x
-rho                cmm         189 114 mathord  x
-sigma              cmm         190 115 mathord  x
-tau                cmm         191 116 mathord  x
-upsilon            cmm         192 117 mathord  x
-phi                cmm         193 102 mathord  x
-chi                cmm         194  99 mathord  x
-psi                cmm         195 121 mathord  x
-omega              cmm          33 119 mathord  x
-varepsilon         cmm          34 101 mathord  x
-vartheta           cmm          35  74 mathord  x
-varpi              cmm          36 118 mathord  x
-varrho             cmm          37   0 mathord  x
-varsigma           cmm          38  86 mathord  x
-varphi             cmm          39 106 mathord  x
-Gamma              cmr         161  71 mathalpha  x
-Delta              cmr         162  68 mathalpha  x
-Theta              cmr         163  81 mathalpha  x
-Lambda             cmr         164  76 mathalpha  x
-Xi                 cmr         165  88 mathalpha  x
-Pi                 cmr         166  80 mathalpha  x
-Sigma              cmr         167  83 mathalpha  x
-Upsilon            cmr         168 161 mathalpha  x
-Phi                cmr         169  70 mathalpha  x
-Psi                cmr         170  89 mathalpha  x
-Omega              cmr         173  87 mathalpha  x
-aleph              cmsy         64 192 mathord  x
-imath              cmm         123   0 mathord  x
-jmath              cmm         124   0 mathord  x
-ell                cmm          96   0 mathord  x
-wp                 cmm         125 195 mathord  x
-Re                 cmsy         60 194 mathord  x
-Im                 cmsy         61 193 mathord  x
-partial            cmm          64 182 mathord  x
-infty              cmsy         49 165 mathord  x
-prime              cmsy         48 162 mathord  x
-emptyset           cmsy         59   0 mathord  x
-nabla              cmsy        114 209 mathord  x
-top                cmsy         62   0 mathord  x
-bot                cmsy         63  94 mathord  x
+alpha              cmm         174  97 mathord  α
+beta               cmm         175  98 mathord  β
+gamma              cmm         176 103 mathord  γ
+delta              cmm         177 100 mathord  δ
+epsilon            cmm         178   0 mathord  ε
+zeta               cmm         179 122 mathord  ζ
+eta                cmm         180 104 mathord  η
+theta              cmm         181 113 mathord  θ
+iota               cmm         182 105 mathord  ι
+kappa              cmm         183 107 mathord  κ
+lambda             cmm         184 108 mathord  λ
+mu                 cmm         185 109 mathord  μ
+nu                 cmm         186 110 mathord  ν
+xi                 cmm         187 120 mathord  ξ
+pi                 cmm         188 112 mathord  π
+rho                cmm         189 114 mathord  ρ
+sigma              cmm         190 115 mathord  σ
+tau                cmm         191 116 mathord  τ
+upsilon            cmm         192 117 mathord  υ
+phi                cmm         193 102 mathord  φ
+chi                cmm         194  99 mathord  χ
+psi                cmm         195 121 mathord  ψ
+omega              cmm          33 119 mathord  ω
+varepsilon         cmm          34 101 mathord  ϵ
+vartheta           cmm          35  74 mathord  ϑ
+varpi              cmm          36 118 mathord  ϖ
+varrho             cmm          37   0 mathord  ϱ
+varsigma           cmm          38  86 mathord  ς
+varphi             cmm          39 106 mathord  *phiv;
+Gamma              cmr         161  71 mathalpha  Γ
+Delta              cmr         162  68 mathalpha  Δ
+Theta              cmr         163  81 mathalpha  Θ
+Lambda             cmr         164  76 mathalpha  Λ
+Xi                 cmr         165  88 mathalpha  Ξ
+Pi                 cmr         166  80 mathalpha  Π
+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  Ω
+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  ℑ
+partial            cmm          64 182 mathord  ∂
+infty              cmsy         49 165 mathord  ∞
+prime              cmsy         48 162 mathord  ′
+emptyset           cmsy         59   0 mathord  ∅
+nabla              cmsy        114 209 mathord  ∇
+top                cmsy         62   0 mathord  ⊤
+bot                cmsy         63  94 mathord  ⊥
 triangle           cmsy         52   0 mathord  x
-forall             cmsy         56  34 mathord  x
-exists             cmsy         57  36 mathord  x
-neg                cmsy         58 216 mathord  x
-lnot               cmsy         58 216 mathord  x
-flat               cmm          91   0 mathord  x
-natural            cmm          92   0 mathord  x
-sharp              cmm          93  35 mathord  x
-clubsuit           cmsy        124 167 mathord  x
+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  ♯
+clubsuit           cmsy        124 167 mathord  ♣
 diamondsuit        cmsy        125 168 mathord  x
 heartsuit          cmsy        126 169 mathord  x
-spadesuit          cmsy        127 170 mathord  x
+spadesuit          cmsy        127 170 mathord  ♠
 # We define lyxnot as mathrel in order to have proper alignment
 lyxnot             cmsy         54  47 mathrel  x
 iffont cmsy
@@ -207,73 +257,71 @@ iffont cmsy
 else
 \def\not{\kern4mu\lyxnot\kern-19mu}
 endif
-coprod             cmex         96   0 mathop   x
-bigvee             cmex         87   0 mathop   x
-bigwedge           cmex         86   0 mathop   x
-biguplus           cmex         85   0 mathop   x
-bigcap             cmex         84   0 mathop   x
-bigcup             cmex         83   0 mathop   x
-int                cmex         82 242 mathop   ∫
-prod               cmex         81 213 mathop   x
-sum                cmex         80 229 mathop   x
-bigotimes          cmex         78   0 mathop   x
-bigoplus           cmex         76   0 mathop   x
-bigodot            cmex         74   0 mathop   x
-oint               cmex         72   0 mathop   x
-bigsqcup           cmex         70   0 mathop   x
+coprod             cmex         96   0 mathop   ⨿
+bigvee             cmex         87   0 mathop   ⋁
+bigwedge           cmex         86   0 mathop   ⋀
+biguplus           cmex         85   0 mathop   ⨄
+bigcap             cmex         84   0 mathop   ⋂
+bigcup             cmex         83   0 mathop   ⋃
+prod               cmex         81 213 mathop   ∏
+sum                cmex         80 229 mathop   ∑
+bigotimes          cmex         78   0 mathop   ⨂
+bigoplus           cmex         76   0 mathop   ⨁
+bigodot            cmex         74   0 mathop   ⨀
+bigsqcup           cmex         70   0 mathop   ⨆
 smallint           cmsy        115   0 mathop   x
-triangleleft       cmm          47   0 mathbin  x
-triangleright      cmm          46   0 mathbin  x
-bigtriangleup      cmsy         52   0 mathbin  x
-bigtriangledown    cmsy         53   0 mathbin  x
-wedge              cmsy         94 217 mathbin  x
-land               cmsy         94 217 mathbin  x
-vee                cmsy         95 218 mathbin  x
-lor                cmsy         95 218 mathbin  x
-cap                cmsy         92 199 mathbin  x
-cup                cmsy         91 200 mathbin  x
-ddagger            cmsy        122   0 mathbin  x
-dagger             cmsy        121   0 mathbin  x
-sqcap              cmsy        117   0 mathbin  x
-sqcup              cmsy        116   0 mathbin  x
-uplus              cmsy         93   0 mathbin  x
-amalg              cmsy        113   0 mathbin  x
+triangleleft       cmm          47   0 mathbin  ◃
+triangleright      cmm          46   0 mathbin  ▹
+bigtriangleup      cmsy         52   0 mathbin  △
+bigtriangledown    cmsy         53   0 mathbin  ▽
+wedge              cmsy         94 217 mathbin  ∧
+land               cmsy         94 217 mathbin  ⋀
+vee                cmsy         95 218 mathbin  ∨
+lor                cmsy         95 218 mathbin  ⋁
+cap                cmsy         92 199 mathbin  ∩
+cup                cmsy         91 200 mathbin  ∪
+ddagger            cmsy        122   0 mathbin  ‡
+dagger             cmsy        121   0 mathbin  †
+sqcap              cmsy        117   0 mathbin  ⊓
+sqcup              cmsy        116   0 mathbin  ⊔
+uplus              cmsy         93   0 mathbin  ⊎
+amalg              cmsy        113   0 mathbin  ⨿
 diamond            cmsy        166 224 mathbin  x
-bullet             cmsy        178 183 mathbin  x
+bullet             cmsy        178 183 mathbin  •
 wr                 cmsy        111   0 mathbin  x
-div                cmsy        165 184 mathbin  x
-odot               cmsy        175   0 mathbin  x
-oslash             cmsy        174 198 mathbin  x
-otimes             cmsy        173 196 mathbin  x
-ominus             cmsy        170   0 mathbin  x
-oplus              cmsy        169 197 mathbin  x
-mp                 cmsy        168   0 mathbin  x
-pm                 cmsy        167 177 mathbin  x
-circ               cmsy        177   0 mathbin  x
-bigcirc            cmsy        176   0 mathbin  x
-setminus           cmsy        110   0 mathbin  x
-cdot               cmsy        162 215 mathbin  x
-ast                cmsy        164   0 mathbin  x
-times              cmsy        163 180 mathbin  x
-star               cmm          63   0 mathbin  x
-propto             cmsy         47 181 mathrel  x
-sqsubseteq         cmsy        118   0 mathrel  x
-sqsupseteq         cmsy        119   0 mathrel  x
-parallel           cmsy        107   0 mathrel  x
-mid                cmsy        106 124 mathrel  x
-dashv              cmsy         97   0 mathrel  x
-vdash              cmsy         96   0 mathrel  x
-nearrow            cmsy         37   0 mathrel  x
-searrow            cmsy         38   0 mathrel  x
-nwarrow            cmsy         45   0 mathrel  x
-swarrow            cmsy         46   0 mathrel  x
-Leftrightarrow     cmsy         44 219 mathrel  x
-Leftarrow          cmsy         40 220 mathrel  x
-Rightarrow         cmsy         41 222 mathrel  x
-leq                cmsy        183 163 mathrel  x
-le                 cmsy        183 163 mathrel  x
-geq                cmsy        184 179 mathrel  x
-ge                 cmsy        184 179 mathrel  x
+div                cmsy        165 184 mathbin  ÷
+odot               cmsy        175   0 mathbin  ⊙
+oslash             cmsy        174 198 mathbin  ø
+otimes             cmsy        173 196 mathbin  ⊗
+ominus             cmsy        170   0 mathbin  ⊖
+oplus              cmsy        169 197 mathbin  ⊕
+mp                 cmsy        168   0 mathbin  ∓
+pm                 cmsy        167 177 mathbin  ±
+circ               cmsy        177   0 mathbin  ○
+bigcirc            cmsy        176   0 mathbin  ◯
+setminus           cmsy        110   0 mathbin  ∖
+cdot               cmsy        162 215 mathbin  ⋅
+ast                cmsy        164   0 mathbin  ∗
+times              cmsy        163 180 mathbin  ×
+star               cmm          63   0 mathbin  ★
+propto             cmsy         47 181 mathrel  ∝
+sqsubseteq         cmsy        118   0 mathrel  ⊑
+sqsupseteq         cmsy        119   0 mathrel  ⊒
+parallel           cmsy        107   0 mathrel  ∥
+mid                cmsy        106 124 mathrel  ∣
+dashv              cmsy         97   0 mathrel  ⊣
+vdash              cmsy         96   0 mathrel  ⊢
+nearrow            cmsy         37   0 mathrel  ↗
+searrow            cmsy         38   0 mathrel  ↘
+nwarrow            cmsy         45   0 mathrel  ↖
+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  x
 prec               cmsy        193   0 mathrel  x
 approx             cmsy        188 187 mathrel  x
@@ -723,10 +771,91 @@ invneg             wasy          24    0  mathrel x
 ocircle            wasy          35    0  mathbin x
 logof              wasy          22    0  mathrel x
 varint             wasy         114    0  mathop  x
-iint               wasy         115    0  mathop  x
-iiint              wasy         116    0  mathop  x
 varoint            wasy         117    0  mathop  x
-oiint              wasy         118    0  mathop  x
+
+# 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
+# a \ce or a \cf inset
+
+sbond              cmsy        161   0 mathord  x
+dbond              cmr          61   0 mathord  x
+tbond              cmsy        180 186 mathord  x
+
+# From the esint package:
+# We emulate some symbols if the esint10 font is not available.
+# It is important that they have the same requirements in both cases,
+# otherwise the LaTeX output would depend on the availability of the esint10
+# font in the GUI
+# 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.
+# 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  x      esintoramsmath
+iintop             esint        003    0  mathop  x      esint
+iiint              esint        005    0  mathop  x      esintoramsmath
+iiintop            esint        005    0  mathop  x      esint
+iiiint             esint        007    0  mathop  x      esintoramsmath
+iiiintop           esint        007    0  mathop  x      esint
+oint               esint        011    0  mathop  x      esint
+ointop             esint        011    0  mathop  x      esint
+oiint              esint        013    0  mathop  x      esint
+oiintop            esint        013    0  mathop  x      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  x      esint
+dotsintop          esint        019    0  mathop  x      esint
+ointctrclockwise   esint        023    0  mathop  x      esint
+ointctrclockwiseop esint        023    0  mathop  x      esint
+ointclockwise      esint        025    0  mathop  x      esint
+ointclockwiseop    esint        025    0  mathop  x      esint
+else
+int                cmex          82  242  mathop  ∫  esint
+intop              cmex          82  242  mathop  ∫  esint
+iint               wasy         115    0  mathop  x      esintoramsmath
+iintop             wasy         115    0  mathop  x      esint
+iiint              wasy         116    0  mathop  x      esintoramsmath
+iiintop            wasy         116    0  mathop  x      esint
+\def\iiiint{\int\kern-6mu\int\kern-6mu\int\kern-6mu\int}        esintoramsmath
+\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
+oint               cmex          72    0  mathop  x      esint
+ointop             cmex          72    0  mathop  x      esint
+oiint              wasy         118    0  mathop  x      esint
+oiintop            wasy         118    0  mathop  x      esint
+\def\sqint{\square\kern-17mu\int\kern6mu}                       esint
+\def\sqintop{\square\kern-17mu\int\kern6mu}                     esint
+\def\sqiint{\square\kern-20mu\iint\kern3mu}                     esint
+\def\sqiintop{\square\kern-20mu\iint\kern3mu}                   esint
+\def\ointctrclockwise{\circlearrowleft\kern-21mu\int\kern6mu}   esint
+\def\ointctrclockwiseop{\circlearrowleft\kern-21mu\int\kern6mu} esint
+\def\ointclockwise{\circlearrowright\kern-21mu\int\kern6mu}     esint
+\def\ointclockwiseop{\circlearrowright\kern-21mu\int\kern6mu}   esint
+endif
+
+varointclockwise   esint        027    0  mathop  x      esint
+varointclockwiseop esint        027    0  mathop  x      esint
+varointctrclockwise esint       029    0  mathop  x      esint
+varointctrclockwiseop esint     029    0  mathop  x      esint
+fint               esint        031    0  mathop  x      esint
+fintop             esint        031    0  mathop  x      esint
+varoiint           esint        033    0  mathop  x      esint
+varoiintop         esint        033    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
 
 
 log                lyxblacktext  0   0 func     x
@@ -762,13 +891,7 @@ Pr                 lyxblacktext  0   0 funclim  x
 gcd                lyxblacktext  0   0 funclim  x
 deg                lyxblacktext  0   0 func     x
 bmod               lyxblacktext  0   0 func     x
-
-{                  mathnormal    0   0 special  x
-}                  mathnormal    0   0 special  x
-$                  mathnormal    0   0 special  x
-%                  mathnormal    0   0 special  x
-# don't remove the space from the beginning of the next line
- #                 mathnormal    0   0 special  x
+pmod               lyxblacktext  0   0 func     x
 
 
 
@@ -791,7 +914,7 @@ 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}
+\def\implies{\Longrightarrow}                                     amsmath
 \def\mapsto{\mapstochar\kern-9mu\rightarrow}
 \def\longmapsto{\mapstochar\kern-6mu\lyxbar\kern-11mu\rightarrow}
 \def\models{\vert\kern-7mu\lyxeq}
@@ -809,19 +932,22 @@ endif
 iffont msb
 \def\Join{\ltimes\kern-18.5mu\rtimes}
 endif
-\def\mathcircumflex{\mbox{\^{}}}{\^}
-
-textdegree         lyxsymbol             176 0 mathord  x
+# Fixme: latin-1 chars in text file
+\def\AA{\AA}{Å}
+\def\O{\O}{Ø}
 
 iffont cmsy
 # The \sim is placed too high...
 \def\cong{\stackrel{_\sim}{=}}
 lyxsurd               cmsy        112 0 mathord  x
 \def\surd{^\lyxsurd}
+\def\textdegree{\kern-1mu^{\circ}\kern-4mu}
 else
 cong               lyxsymbol             64  0 mathrel  x
 surd               lyxsymbol             214 0 mathord  x
+textdegree         lyxsymbol             176 0 mathord  x
 endif
 
 #"{\hat{}}
 
+