]> git.lyx.org Git - lyx.git/blobdiff - lib/symbols
Implement return codes consistently.
[lyx.git] / lib / symbols
index 570a1254eba35574b5c518c7dc06f4180689f58e..343fee12879b268bfe5618e11573085af4b0b080 100644 (file)
@@ -3,7 +3,7 @@
 #
 
 # decorations
-acute               decoration none 
+acute               decoration none
 bar                 decoration none
 breve               decoration none
 check               decoration none
@@ -75,7 +75,7 @@ cal               oldfont     none
 it                oldfont     none
 rm                oldfont     none
 tt                oldfont     none
-                              
+
 # matrix environments
 Bmatrix           matrix      none
 Vmatrix           matrix      none
@@ -87,14 +87,14 @@ smallmatrix       matrix      none
 vmatrix           matrix      none
 CD                matrix      none
 
-# references                  
+# references
 pageref           ref         none
 prettyref         ref         none
 ref               ref         none
 vpageref          ref         none
 vref              ref         none
-                              
-# spaces                      
+
+# spaces
 lyxnegspace       space       none
 lyxposspace       space       none
 !                 space       none
@@ -105,17 +105,18 @@ negthickspace     space       none
 ;                 space       none
 quad              space       none
 qquad             space       none
-                              
-# styles                      
+
+# styles
 displaystyle      style       0
 textstyle         style       1
 scriptstyle       style       2
 scriptscriptstyle style       3
-                              
-# misc                        
+
+# misc
 begin             begin       none
 right             right       none
 underset          underset    none
+overset           overset     none
 parbox            parbox      none
 protect           protect     none
 mbox              mbox        forcetext
@@ -128,7 +129,7 @@ boxed             fbox        none
 
 
 #
-# symbols generated from fontmath.ltx 
+# symbols generated from fontmath.ltx
 #
 
 #symbol            font   charid   charid-in-fallback-Xsymbol-font
@@ -332,9 +333,9 @@ lfloor             cmsy         98 235 mathopen  x
 mathparagraph      cmsy        123   0 mathord  x
 mathsection        cmsy        120   0 mathord  x
 mathdollar         cmr          36   0 mathord  x
-                               
-# Generated from amsfonts.sty 
-                               
+
+# Generated from amsfonts.sty
+
 yen                msa          85   0 mathord  x
 checkmark          msa          88   0 mathord  x
 circledR           msa         114   0 mathord  x
@@ -350,7 +351,9 @@ sqsubset           msa          64   0 mathrel  x
 sqsupset           msa          65   0 mathrel  x
 mho                msb         102   0 mathord  x
 square             msa         164   0 mathord  x
+Box                msa         164   0 mathord  x
 lozenge            msa         167   0 mathord  x
+Diamond            msa         167   0 mathord  x
 vartriangleright   msa          66   0 mathrel  x
 vartriangleleft    msa          67   0 mathrel  x
 trianglerighteq    msa          68   0 mathrel  x
@@ -361,9 +364,9 @@ lhd                msa          67   0 mathbin  x
 unlhd              msa          69   0 mathbin  x
 rhd                msa          66   0 mathbin  x
 unrhd              msa          68   0 mathbin  x
-                               
-# Generated from amssymb.sty 
-                               
+
+# Generated from amssymb.sty
+
 boxdot             msa         161   0 mathbin  x
 boxplus            msa         162   0 mathbin  x
 boxtimes           msa         163   0 mathbin  x
@@ -568,7 +571,7 @@ Bbbk               msb         124   0 mathord  x
 hslash             msb         125   0 mathord  x
 hbar               msb         126   0 mathord  x
 backepsilon        msb         127   0 mathrel  x
-                               
+
 lyxbar             cmsy        161   0 mathord  x
 lyxeq              cmr          61   0 mathord  x
 lyxdabar           msa          57   0 mathord  x
@@ -702,8 +705,8 @@ inve               wasy          85   0 x        x
 
 #mho               wasy          48    0  mathord x
 #Join              wasy          49    0  mathrel x
-Box                wasy          50    0  mathord x
-Diamond            wasy          51    0  mathord x
+#Box               wasy          50    0  mathord x
+#Diamond           wasy          51    0  mathord x
 leadsto            wasy          59    0  mathrel x
 #sqsubset          wasy          60    0  mathrel x
 #sqsupset          wasy          61    0  mathrel x
@@ -758,12 +761,14 @@ exp                lyxblacktext  0   0 func     x
 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
+## don't remove the space from the beginning of the next line
  #                 mathnormal    0   0 special  x
 
 
@@ -773,23 +778,23 @@ $                  mathnormal    0   0 special  x
 #
 
 \def\neq{\not=}
+\def\ne{\not=}
 \def\notin{\not\in}
 \def\slash{/}
 
-\def\longleftrightarrow{\leftarrow\kern-12mu\rightarrow} 
-\def\Longleftrightarrow{\Leftarrow\kern-12mu\Rightarrow}
+\def\longleftrightarrow{\leftarrow\kern-12.5mu\rightarrow}
+\def\Longleftrightarrow{\Leftarrow\kern-12.5mu\Rightarrow}
+\def\iff{\Leftarrow\kern-12.5mu\Rightarrow}
 \def\doteq{\stackrel{\cdot}{=}}
 
-# The value 9.5 comes from the length of 0.5em = 9mu that is added to
-# relation operators. The 0.5 is added due to rounding errors.
 iffont cmsy
-\def\longrightarrow{\lyxbar\kern-9.5mu\rightarrow}
-\def\longleftarrow{\leftarrow\kern-9.5mu\lyxbar}
+\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}
 \def\mapsto{\mapstochar\kern-9mu\rightarrow}
-\def\longmapsto{\mapstochar\kern-6mu\lyxbar\kern-9.5mu\rightarrow}
+\def\longmapsto{\mapstochar\kern-6mu\lyxbar\kern-11mu\rightarrow}
 \def\models{\vert\kern-7mu\lyxeq}
 endif
 iffont cmm
@@ -805,12 +810,22 @@ endif
 iffont msb
 \def\Join{\ltimes\kern-18.5mu\rtimes}
 endif
-\def\mathcircumflex{\mbox{\^{}}}
+\def\mathcircumflex{\mbox{\^{}}}{\^}
+# Fixme: latin-1 chars in text file
+\def\AA{\AA}{Å}
+\def\O{\O}{Ø}
 
-ne                 lyxsymbol             185 0 mathrel  x
 textdegree         lyxsymbol             176 0 mathord  x
+
+iffont cmsy
+# The \sim is placed too high...
+\def\cong{\stackrel{_\sim}{=}}
+lyxsurd               cmsy        112 0 mathord  x
+\def\surd{^\lyxsurd}
+else
 cong               lyxsymbol             64  0 mathrel  x
 surd               lyxsymbol             214 0 mathord  x
-                               
+endif
+
 #"{\hat{}}