mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-08 10:11:21 +00:00
honor float placement for algorithm
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_1_6@3660 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4f147ebcff
commit
ca51332c41
@ -1,3 +1,8 @@
|
||||
2002-03-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
|
||||
|
||||
* src/paragraph.C (TeXFootnote): honor float placement for
|
||||
algorithms too.
|
||||
|
||||
2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
|
||||
|
||||
* config/lyxinclude.m4 (LYX_PROG_CXX): use -dumpversion to get gcc
|
||||
|
@ -3606,7 +3606,12 @@ LyXParagraph * LyXParagraph::TeXFootnote(Buffer const * buf,
|
||||
}
|
||||
break;
|
||||
case LyXParagraph::ALGORITHM:
|
||||
os << "\\begin{algorithm}\n";
|
||||
os << "\\begin{algorithm}";
|
||||
if (!bparams.float_placement.empty()) {
|
||||
os << '[' << bparams.float_placement << "]\n";
|
||||
} else {
|
||||
os << '\n';
|
||||
}
|
||||
break;
|
||||
}
|
||||
texrow.newline();
|
||||
|
Loading…
Reference in New Issue
Block a user