]> 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 74e36a88b913ee56605150bdbd90addbfb22caff..2e3f7a83b070b532fdcbcfe62e3092d179ab0a76 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,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/11/15
 
-Format 24
+Format 35
 
 Provides geometry 1
 Provides natbib-internal 1
@@ -31,21 +31,39 @@ 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
+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
@@ -57,6 +75,7 @@ Style Chapter
        BottomSep       0.8
        ParSep          0.8
        Align           Block
+       RefPrefix chap
        OptionalArgs    1
        Font
          Series        Bold
@@ -67,7 +86,7 @@ End
 Style Section
        Category        Section
        Margin          Dynamic
-       LabelType       None
+       LabelType       No_Label
        LabelCounter    section
        TocLevel        1
        LatexType       Command
@@ -80,6 +99,7 @@ Style Section
        BottomSep       0.7
        ParSep          0.7
        Align           Block
+       RefPrefix sec
        OptionalArgs    1
        Font
          Series        Bold
@@ -94,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
@@ -119,8 +140,8 @@ InsetLayout Sidenote
        EndFont
 End
 
-InsetLayout Marginnote
-       CopyStyle       Sidenote
+InsetLayout Flex:Marginnote
+       CopyStyle       Flex:Sidenote
        LatexName       marginnote
        Decoration      classic
        LabelString     "marginnote"
@@ -132,7 +153,7 @@ InsetLayout Marginnote
        MultiPar        true
 End
 
-InsetLayout NewThought
+InsetLayout Flex:NewThought
        LyXType         charstyle
        LatexType       Command
        LatexName       newthought
@@ -146,8 +167,8 @@ InsetLayout NewThought
        EndFont
 End
 
-InsetLayout AllCaps
-       CopyStyle       NewThought
+InsetLayout Flex:AllCaps
+       CopyStyle       Flex:NewThought
        LatexName       allcaps
        LabelString     "allcaps"
        Font
@@ -159,8 +180,8 @@ InsetLayout AllCaps
        EndFont
 End
 
-InsetLayout SmallCaps
-       CopyStyle       NewThought
+InsetLayout Flex:SmallCaps
+       CopyStyle       Flex:NewThought
        LatexName       smallcaps
        LabelString     "smallcaps"
        LabelFont
@@ -200,7 +221,9 @@ Float
        NumberWithin    none
        Style           plain
        ListName        "List of Tables"
-       NeedsFloatPkg false
+       ListCommand     listoftables
+       IsPredefined true
+       UsesFloatPkg false
 End
 
 Float
@@ -211,7 +234,9 @@ Float
        NumberWithin    none
        Style           plain
        ListName        "List of Figures"
-       NeedsFloatPkg false
+       ListCommand     listoffigures
+       IsPredefined true
+       UsesFloatPkg false
 End
 
 Style Bibliography