commit 6ae6198818dec32dd7f18781c165fbfd36ac01ff
Author: Enrico Forestieri <for...@lyx.org>
Date:   Tue Oct 18 04:35:02 2016 +0200

    Avoid introducing a spurious space in \lyxmathsout
---
 src/LaTeXFeatures.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/LaTeXFeatures.cpp b/src/LaTeXFeatures.cpp
index 79ff587..0650da1 100644
--- a/src/LaTeXFeatures.cpp
+++ b/src/LaTeXFeatures.cpp
@@ -206,7 +206,7 @@ static docstring const changetracking_tikz_math_sout_def = 
from_ascii(
        "%% Strike out display math with tikz\n"
        "\\usepackage{tikz}\n"
        "\\usetikzlibrary{calc}\n"
-       "\\newcommand{\\lyxmathsout}[1]{\n"
+       "\\newcommand{\\lyxmathsout}[1]{%\n"
        "  \\tikz[baseline=(math.base)]{\n"
        "    \\node[inner sep=0pt,outer sep=0pt](math){#1};\n"
        "    \\draw($(math.south west)+(2em,.5em)$)--($(math.north 
east)-(2em,.5em)$);\n"

Reply via email to