]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/tufte-book.layout
stdstarsections.inc, tufte-handout.layout: whitespace
[lyx.git] / lib / layouts / tufte-book.layout
index 5afd10faeb1b62d4db51fa1ce6330c7f8c813a14..2e3f7a83b070b532fdcbcfe62e3092d179ab0a76 100644 (file)
@@ -1,14 +1,17 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[tufte-book]{book (Tufte)}
+#  \DeclareLaTeXClass[tufte-book,bibentry.sty,changepage.sty,fancyhdr.sty,ifmtarg.sty,letterspace.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/10/27
+# Modified by Uwe Stöhr <uwestoehr@web.de>, 2009/11/15
 
-Format 11
+Format 35
 
 Provides geometry 1
 Provides natbib-internal 1
 
+Sides          2
+PageStyle      Headings
+
 ClassOptions
        Other           nohyper
 end
@@ -26,22 +29,41 @@ End
 
 # import other layouts
 Input stdlayouts.inc
-Input book.layout
+Input stdclass.inc
+
+Style Title
+       InPreamble      1
+End
+
+Style Author
+       InPreamble      1
+End
+
+Style Date
+       InPreamble      1
+End
 
+NoStyle Abstract
 NoStyle Chapter
+NoCounter chapter
 NoStyle Section
+NoCounter section
 NoStyle Subsection
+NoCounter subsection
 NoStyle Subsubsection
+NoCounter subsubsection
 NoStyle Subsubsection*
 NoStyle Paragraph
+NoCounter paragraph
 NoStyle Paragraph*
 NoStyle Subparagraph
+NoCounter subparagraph
 NoStyle Subparagraph*
 
 Style Chapter
        Margin          Static
        Category        Section
-       LabelType       None
+       LabelType       No_Label
        LabelCounter    chapter
        TocLevel        0
        LatexType       Command
@@ -53,6 +75,7 @@ Style Chapter
        BottomSep       0.8
        ParSep          0.8
        Align           Block
+       RefPrefix chap
        OptionalArgs    1
        Font
          Series        Bold
@@ -63,7 +86,7 @@ End
 Style Section
        Category        Section
        Margin          Dynamic
-       LabelType       None
+       LabelType       No_Label
        LabelCounter    section
        TocLevel        1
        LatexType       Command
@@ -76,6 +99,7 @@ Style Section
        BottomSep       0.7
        ParSep          0.7
        Align           Block
+       RefPrefix sec
        OptionalArgs    1
        Font
          Series        Bold
@@ -90,13 +114,14 @@ Style Subsection
        TopSep          0.9
        BottomSep       0.5
        ParSep          0.5
+       RefPrefix sub
        Font
          Series        Bold
          Size          Large
        EndFont
 End
 
-InsetLayout Sidenote
+InsetLayout Flex:Sidenote
        LyxType         custom
        LatexType       command
        LatexName       sidenote
@@ -115,8 +140,8 @@ InsetLayout Sidenote
        EndFont
 End
 
-InsetLayout Marginnote
-       CopyStyle       Sidenote
+InsetLayout Flex:Marginnote
+       CopyStyle       Flex:Sidenote
        LatexName       marginnote
        Decoration      classic
        LabelString     "marginnote"
@@ -128,7 +153,7 @@ InsetLayout Marginnote
        MultiPar        true
 End
 
-InsetLayout NewThought
+InsetLayout Flex:NewThought
        LyXType         charstyle
        LatexType       Command
        LatexName       newthought
@@ -142,8 +167,8 @@ InsetLayout NewThought
        EndFont
 End
 
-InsetLayout AllCaps
-       CopyStyle       NewThought
+InsetLayout Flex:AllCaps
+       CopyStyle       Flex:NewThought
        LatexName       allcaps
        LabelString     "allcaps"
        Font
@@ -155,8 +180,8 @@ InsetLayout AllCaps
        EndFont
 End
 
-InsetLayout SmallCaps
-       CopyStyle       NewThought
+InsetLayout Flex:SmallCaps
+       CopyStyle       Flex:NewThought
        LatexName       smallcaps
        LabelString     "smallcaps"
        LabelFont
@@ -196,7 +221,9 @@ Float
        NumberWithin    none
        Style           plain
        ListName        "List of Tables"
-       LaTeXBuiltin    true
+       ListCommand     listoftables
+       IsPredefined true
+       UsesFloatPkg false
 End
 
 Float
@@ -207,5 +234,16 @@ Float
        NumberWithin    none
        Style           plain
        ListName        "List of Figures"
-       LaTeXBuiltin    true
-End
\ No newline at end of file
+       ListCommand     listoffigures
+       IsPredefined true
+       UsesFloatPkg false
+End
+
+Style Bibliography
+       TopSep                4
+       LabelString           "Bibliography"
+       LabelFont
+         Series              Bold
+         Size                Huge
+       EndFont
+End