On 01/05/2012 03:59 PM, Georg Baum wrote:
Author: baum
Date: Sun Dec 18 18:50:43 2011
New Revision: 40521
URL: http://www.lyx.org/trac/changeset/40521
Log:
Partial support for mathtools.sty (part of bug #7949)
Modified:
lyx-devel/trunk/lib/symbols
lyx-devel/trunk/lib/unicodesymbols
lyx-devel/trunk/src/LaTeXFeatures.cpp
Modified: lyx-devel/trunk/lib/symbols
==============================================================================
--- lyx-devel/trunk/lib/symbols Sun Dec 18 18:48:16 2011 (r40520)
+++ lyx-devel/trunk/lib/symbols Sun Dec 18 18:50:43 2011 (r40521)
@@ -929,6 +929,23 @@
pmod lyxblacktext 0 0 func x
+# mathtools.sty
+# no automatic loading without file format change
+\def\vcentcolon{\kern4mu:\kern3mu}
+\def\dblcolon{\vcentcolon\kern-8mu\vcentcolon}
+\def\coloneqq{\vcentcolon\kern-7mu=}
+\def\Coloneqq{\dblcolon\kern-7mu=}
+\def\coloneq{\vcentcolon\kern-7mu-}
+\def\Coloneq{\dblcolon\kern-7mu-}
+\def\eqqcolon{=\kern-8mu\vcentcolon}
+\def\Eqqcolon{=\kern-8mu\dblcolon}
+\def\eqcolon{-\kern-8mu\vcentcolon}
+\def\Eqcolon{-\kern-8mu\dblcolon}
+\def\colonapprox{\vcentcolon\kern-7mu\approx}
+\def\Colonapprox{\dblcolon\kern-7mu\approx}
+\def\colonsim{\vcentcolon\kern-7mu\sim}
+\def\Colonsim{\dblcolon\kern-7mu\sim}
+
Richard,
is this part OK for branch? It is no file format change (only the display
in LyX is improved).
If you think it is OK, then it is OK with me.
Richard