mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
tex2lyx: support rotated algorithm floats
LyX knows algorithm floats since ages. tex2lyx's support for rotated algorithm floats has simply been forgotten.
This commit is contained in:
parent
d2ac0d2cf4
commit
818373ce4f
@ -1466,13 +1466,16 @@ void parse_environment(Parser & p, ostream & os, bool outer,
|
||||
}
|
||||
|
||||
else if (unstarred_name == "sidewaysfigure"
|
||||
|| unstarred_name == "sidewaystable") {
|
||||
|| unstarred_name == "sidewaystable"
|
||||
|| unstarred_name == "sidewaysalgorithm") {
|
||||
eat_whitespace(p, os, parent_context, false);
|
||||
parent_context.check_layout(os);
|
||||
if (unstarred_name == "sidewaysfigure")
|
||||
begin_inset(os, "Float figure\n");
|
||||
else
|
||||
else if (unstarred_name == "sidewaystable")
|
||||
begin_inset(os, "Float table\n");
|
||||
else if (unstarred_name == "sidewaysalgorithm")
|
||||
begin_inset(os, "Float algorithm\n");
|
||||
os << "wide " << convert<string>(is_starred)
|
||||
<< "\nsideways true"
|
||||
<< "\nstatus open\n\n";
|
||||
|
Loading…
Reference in New Issue
Block a user