mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
tex2lyx/Preamble.cpp: handle \lyxline
This commit is contained in:
parent
a7db473445
commit
111df7b600
@ -1554,7 +1554,10 @@ void Preamble::parse(Parser & p, string const & forceclass,
|
||||
|
||||
// remove LyX-specific definitions that are re-added by LyX
|
||||
// if necessary
|
||||
if (name == "\\lyxdot" || name == "\\lyxarrow") {
|
||||
// \lyxline is an ancient command that is converted by tex2lyx into
|
||||
// a \rule therefore remove its preamble code
|
||||
if (name == "\\lyxdot" || name == "\\lyxarrow"
|
||||
|| name == "\\lyxline") {
|
||||
p.skip_spaces();
|
||||
in_lyx_preamble = true;
|
||||
}
|
||||
|
@ -479,7 +479,7 @@ The following tow don't work, but they should???
|
||||
|
||||
test
|
||||
|
||||
{\tiny{}\rule[0.5ex]{1\linewidth}{1pt}}{\tiny \par}
|
||||
{\tiny \rule[0.5ex]{1\linewidth}{1pt}}{\tiny \par}
|
||||
|
||||
test {\Huge Test} {\tiny test} test
|
||||
|
||||
|
@ -502,7 +502,7 @@ The following tow don't work, but they should???
|
||||
|
||||
test
|
||||
|
||||
{\tiny{}\rule[0.5ex]{1\linewidth}{1pt}}{\tiny \par}
|
||||
{\tiny \rule[0.5ex]{1\linewidth}{1pt}}{\tiny \par}
|
||||
|
||||
test {\Huge Test} {\tiny test} test
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user