]> git.lyx.org Git - features.git/commitdiff
Fix bug 2723
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sun, 13 Aug 2006 17:36:49 +0000 (17:36 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sun, 13 Aug 2006 17:36:49 +0000 (17:36 +0000)
* src/lyx_sty.C
(lyxgreyedout_def): Use \textcolor instead of \color

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14654 a592a061-630c-0410-9148-cb99ea01b6c8

src/lyx_sty.C

index 01945fd18118112f78cee59ba6e366f4c1a8d2ae..3bd1179874c40aa1318a2cc11458047af3dbff66 100644 (file)
@@ -125,7 +125,7 @@ string const tabularnewline_def =
 
 string const lyxgreyedout_def =
        "%% The greyedout annotation environment\n"
-       "\\newenvironment{lyxgreyedout}{\\color[gray]{0.8}}{}\n";
+       "\\newenvironment{lyxgreyedout}{\\textcolor[gray]{0.8}\\bgroup}{\\egroup}\n";
 
 // We want to omit the file extension for includegraphics, but this does not
 // work when the filename contains other dots.