- // Insert the latex builtin float-types
-
- // table
- Floating table("table", "htbp", "lot", "", "plain", "Table", true);
- list[table.type()] = table;
-
- // figure
- Floating figure("figure", "htbp", "lof", "", "plain", "Figure", true);
- list[figure.type()] = figure;
-
- // And we add algorithm too since LyX has
- // supported that for a long time,
- // but support for this should probably be moved to a layout file.
- Floating algorithm("algorithm", "htbp", "loa",
- "", "ruled", "Algorithm");
- list[algorithm.type()] = algorithm;