tex2lyx/text.cpp: set correct default horizontal position for \framebox

This commit is contained in:
Uwe Stöhr 2015-05-17 21:59:29 +02:00
parent b0d6eb8dfb
commit f1832074f0

View File

@ -950,6 +950,9 @@ void parse_box(Parser & p, ostream & os, unsigned outer_flags,
<< " for " << outer_type << endl; << " for " << outer_type << endl;
hor_pos = "c"; hor_pos = "c";
} }
} else {
if (outer_type == "framebox")
hor_pos = "c";
} }
} }
} else if (inner_type != "makebox") } else if (inner_type != "makebox")