]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/tufte-book.layout
Now update layout format.
[lyx.git] / lib / layouts / tufte-book.layout
index c99a56c70b1cea35a9bdd4bb001359f8a2125da7..411c613d66421b1adfcce711afa44922d3884770 100644 (file)
@@ -1,10 +1,10 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[tufte-book]{book (Tufte)}
+#  \DeclareLaTeXClass[tufte-book,bibentry.sty,fancyhdr.sty,multicol.sty,natbib.sty,optparams.sty,paralist.sty,placeins.sty,ragged2e.sty,setspace.sty,textcase.sty,titlesec.sty,titletoc.sty,xcolor.sty,xifthen.sty,xkeyval.sty]{book (Tufte)}
 # tufte-book textclass definition file.
 # Jason Waskiewicz <jason.waskiewicz@sendit.nodak.edu>, 2009/10/18
 # Modified by Uwe Stöhr <uwestoehr@web.de>, 2009/11/15
 
-Format 22
+Format 29
 
 Provides geometry 1
 Provides natbib-internal 1
@@ -31,6 +31,18 @@ End
 Input stdlayouts.inc
 Input stdclass.inc
 
+Style Title
+       InPreamble      1
+End
+
+Style Author
+       InPreamble      1
+End
+
+Style Date
+       InPreamble      1
+End
+
 NoStyle Abstract
 NoStyle Chapter
 NoStyle Section
@@ -45,7 +57,7 @@ NoStyle Subparagraph*
 Style Chapter
        Margin          Static
        Category        Section
-       LabelType       None
+       LabelType       No_Label
        LabelCounter    chapter
        TocLevel        0
        LatexType       Command
@@ -57,6 +69,7 @@ Style Chapter
        BottomSep       0.8
        ParSep          0.8
        Align           Block
+       RefPrefix chap
        OptionalArgs    1
        Font
          Series        Bold
@@ -67,7 +80,7 @@ End
 Style Section
        Category        Section
        Margin          Dynamic
-       LabelType       None
+       LabelType       No_Label
        LabelCounter    section
        TocLevel        1
        LatexType       Command
@@ -80,6 +93,7 @@ Style Section
        BottomSep       0.7
        ParSep          0.7
        Align           Block
+       RefPrefix sec
        OptionalArgs    1
        Font
          Series        Bold
@@ -94,6 +108,7 @@ Style Subsection
        TopSep          0.9
        BottomSep       0.5
        ParSep          0.5
+       RefPrefix sub
        Font
          Series        Bold
          Size          Large
@@ -200,7 +215,7 @@ Float
        NumberWithin    none
        Style           plain
        ListName        "List of Tables"
-       LaTeXBuiltin    true
+       NeedsFloatPkg false
 End
 
 Float
@@ -211,7 +226,7 @@ Float
        NumberWithin    none
        Style           plain
        ListName        "List of Figures"
-       LaTeXBuiltin    true
+       NeedsFloatPkg false
 End
 
 Style Bibliography