X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyx_sty.C;h=9e7d56fdbf4e525438c5c87235af49276325491b;hb=9f871ade6515cd8b105d75d2201142adf329d2fa;hp=b529c5d3601300e04b4cd53759b26d7a063b33b7;hpb=b7f2544bc3feb497832c0fce6287f2a886e428d0;p=lyx.git diff --git a/src/lyx_sty.C b/src/lyx_sty.C index b529c5d360..9e7d56fdbf 100644 --- a/src/lyx_sty.C +++ b/src/lyx_sty.C @@ -26,9 +26,9 @@ string const lyx_def = "\\providecommand{\\LyX}{L\\kern-.1667em\\lower.25em\\hbox{Y}\\kern-.125emX\\@}"; string const lyxline_def = - "\\newcommand{\\lyxline}[1]{\n" - " {#1 \\vspace{1ex} \\hrule width \\columnwidth \\vspace{1ex}}\n" - "}"; + "\\newcommand{\\lyxline}[1][1pt]{%\n" + " \\par\\noindent%\n" + " \\rule[.5ex]{\\linewidth}{#1}\\par}"; string const noun_def = "\\newcommand{\\noun}[1]{\\textsc{#1}}";