]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/tufte-book.layout
Move the RefPrefix definitions to their own file, for easy inclusion in
[lyx.git] / lib / layouts / tufte-book.layout
index 5afd10faeb1b62d4db51fa1ce6330c7f8c813a14..845a6d6443d58e30429ca8e811ca7b1aa0f53cda 100644 (file)
@@ -2,13 +2,16 @@
 #  \DeclareLaTeXClass[tufte-book]{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/10/27
+# Modified by Uwe Stöhr <uwestoehr@web.de>, 2009/11/15
 
-Format 11
+Format 25
 
 Provides geometry 1
 Provides natbib-internal 1
 
+Sides          2
+PageStyle      Headings
+
 ClassOptions
        Other           nohyper
 end
@@ -26,8 +29,9 @@ End
 
 # import other layouts
 Input stdlayouts.inc
-Input book.layout
+Input stdclass.inc
 
+NoStyle Abstract
 NoStyle Chapter
 NoStyle Section
 NoStyle Subsection
@@ -53,6 +57,7 @@ Style Chapter
        BottomSep       0.8
        ParSep          0.8
        Align           Block
+       RefPrefix chap
        OptionalArgs    1
        Font
          Series        Bold
@@ -76,6 +81,7 @@ Style Section
        BottomSep       0.7
        ParSep          0.7
        Align           Block
+       RefPrefix sec
        OptionalArgs    1
        Font
          Series        Bold
@@ -90,6 +96,7 @@ Style Subsection
        TopSep          0.9
        BottomSep       0.5
        ParSep          0.5
+       RefPrefix sub
        Font
          Series        Bold
          Size          Large
@@ -196,7 +203,7 @@ Float
        NumberWithin    none
        Style           plain
        ListName        "List of Tables"
-       LaTeXBuiltin    true
+       NeedsFloatPkg false
 End
 
 Float
@@ -207,5 +214,14 @@ Float
        NumberWithin    none
        Style           plain
        ListName        "List of Figures"
-       LaTeXBuiltin    true
-End
\ No newline at end of file
+       NeedsFloatPkg false
+End
+
+Style Bibliography
+       TopSep                4
+       LabelString           "Bibliography"
+       LabelFont
+         Series              Bold
+         Size                Huge
+       EndFont
+End