]> git.lyx.org Git - lyx.git/blobdiff - lib/symbols
Add transformations to InsetExternal.
[lyx.git] / lib / symbols
index 570a1254eba35574b5c518c7dc06f4180689f58e..bc37f9683f7fa978192c8f970004c13aa112444e 100644 (file)
@@ -116,6 +116,7 @@ scriptscriptstyle style       3
 begin             begin       none
 right             right       none
 underset          underset    none
+overset           overset     none
 parbox            parbox      none
 protect           protect     none
 mbox              mbox        forcetext
@@ -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
@@ -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,6 +761,7 @@ 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
@@ -773,23 +777,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 +809,19 @@ endif
 iffont msb
 \def\Join{\ltimes\kern-18.5mu\rtimes}
 endif
-\def\mathcircumflex{\mbox{\^{}}}
+\def\mathcircumflex{\mbox{\^{}}}{\^}
 
-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{}}