commit a830e51c8ae7d3ab0da4694a7c1d3499db66878f
Author: Uwe Stöhr <[email protected]>
Date:   Fri May 22 21:52:59 2015 +0200

    layout files: add the new AllowedPlacement

diff --git a/lib/layouts/powerdot.layout b/lib/layouts/powerdot.layout
index 9195d88..aa6ad79 100644
--- a/lib/layouts/powerdot.layout
+++ b/lib/layouts/powerdot.layout
@@ -497,6 +497,55 @@ Style Pause
 End
 
 ###
+# Float definitions
+###
+Float
+       Type                  table
+       GuiName               Table
+       Placement             tbp
+       AllowedPlacement      H
+       Extension             lot
+       NumberWithin          none
+       Style                 plain
+       ListName              "List of Tables"
+       IsPredefined          true
+       UsesFloatPkg          false
+       ListCommand           listoftables
+       RefPrefix             tab
+End
+
+
+Float
+       Type                  figure
+       GuiName               Figure
+       Placement             tbp
+       AllowedPlacement      H
+       Extension             lof
+       NumberWithin          none
+       Style                 plain
+       ListName              "List of Figures"
+       IsPredefined          true
+       UsesFloatPkg          false
+       ListCommand           listoffigures
+       RefPrefix             fig
+End
+
+
+Float
+       Type                  algorithm
+       GuiName               Algorithm
+       Placement             tbp
+       AllowedPlacement      H
+       Extension             loa
+       NumberWithin          none
+       Style                 ruled
+       ListName              "List of Algorithms"
+       IsPredefined          false
+       UsesFloatPkg          true
+       RefPrefix             alg
+End
+
+###
 # Counters definitions
 ###
 Counter enumi
diff --git a/lib/layouts/sciposter.layout b/lib/layouts/sciposter.layout
index b682116..6aad017 100644
--- a/lib/layouts/sciposter.layout
+++ b/lib/layouts/sciposter.layout
@@ -86,6 +86,7 @@ Float
        Type                  algorithm
        GuiName               Algorithm
        Placement             tbp
+       AllowedPlacement      !htbp
        Extension             loa
        NumberWithin          none
        Style                 none
diff --git a/lib/layouts/tufte-book.layout b/lib/layouts/tufte-book.layout
index a510a00..178f3d6 100644
--- a/lib/layouts/tufte-book.layout
+++ b/lib/layouts/tufte-book.layout
@@ -227,6 +227,7 @@ Float
        Type                    margintable
        GuiName                 MarginTable
        Placement               tbp
+       AllowedPlacement none
        Extension               lot
        NumberWithin    none
        Style                   plain
@@ -240,6 +241,7 @@ Float
        Type                    marginfigure
        GuiName                 MarginFigure
        Placement               tbp
+       AllowedPlacement none
        Extension               lof
        NumberWithin    none
        Style                   plain

Reply via email to