]> git.lyx.org Git - features.git/commitdiff
* LaTeXFeatures.cpp:
authorJürgen Spitzmüller <spitz@lyx.org>
Fri, 23 Oct 2009 09:01:51 +0000 (09:01 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Fri, 23 Oct 2009 09:01:51 +0000 (09:01 +0000)
- do not eat space at the beginning of \lyxadded macro (bug 6282).

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

src/LaTeXFeatures.cpp

index 757b3af8dc1745e1ed4b48a428fff26b09718bde..81bebfdeda7416f63ae6ea4d66fc07a0ec5100de 100644 (file)
@@ -182,12 +182,12 @@ static docstring const changetracking_dvipost_def = from_ascii(
 
 static docstring const changetracking_xcolor_ulem_def = from_ascii(
        "%% Change tracking with ulem\n"
-       "\\newcommand{\\lyxadded}[3]{{\\color{lyxadded}#3}}\n"
+       "\\newcommand{\\lyxadded}[3]{{\\color{lyxadded}{}#3}}\n"
        "\\newcommand{\\lyxdeleted}[3]{{\\color{lyxdeleted}\\sout{#3}}}\n");
 
 static docstring const changetracking_xcolor_ulem_hyperref_def = from_ascii(
        "%% Change tracking with ulem\n"
-       "\\newcommand{\\lyxadded}[3]{{\\texorpdfstring{\\color{lyxadded}}{}#3}}\n"
+       "\\newcommand{\\lyxadded}[3]{{\\texorpdfstring{\\color{lyxadded}{}}{}#3}}\n"
        "\\newcommand{\\lyxdeleted}[3]{{\\texorpdfstring{\\color{lyxdeleted}\\sout{#3}}{}}}\n");
 
 static docstring const changetracking_none_def = from_ascii(