]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/tufte-book.layout
use LatexParam where appropriate
[lyx.git] / lib / layouts / tufte-book.layout
index 2e29595d5851193de328890e8d0c9599b5261ac2..cbaeb1c1f564a3dd9a79c38ba2291070f1d98a0b 100644 (file)
@@ -1,10 +1,11 @@
 #% Do not delete the line below; configure depends on this
-#  \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)}
+#  \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]{Tufte Book}
+#  \DeclareCategory{Books}
 # 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 31
+Format 41
 
 Provides geometry 1
 Provides natbib-internal 1
@@ -47,7 +48,6 @@ NoStyle Abstract
 NoStyle Chapter
 NoCounter chapter
 NoStyle Section
-NoCounter section
 NoStyle Subsection
 NoCounter subsection
 NoStyle Subsubsection
@@ -76,7 +76,10 @@ Style Chapter
        ParSep          0.8
        Align           Block
        RefPrefix chap
-       OptionalArgs    1
+       Argument 1
+         LabelString   "Short Title|S"
+         Tooltip       "The chapter as it appears in the table of contents/running headers"
+       EndArgument
        Font
          Series        Bold
          Size          Huge
@@ -100,7 +103,10 @@ Style Section
        ParSep          0.7
        Align           Block
        RefPrefix sec
-       OptionalArgs    1
+       Argument 1
+         LabelString   "Short Title|S"
+         Tooltip       "The section as it appears in the table of contents/running headers"
+       EndArgument
        Font
          Series        Bold
          Size          Larger
@@ -121,7 +127,7 @@ Style Subsection
        EndFont
 End
 
-InsetLayout Sidenote
+InsetLayout Flex:Sidenote
        LyxType         custom
        LatexType       command
        LatexName       sidenote
@@ -140,8 +146,8 @@ InsetLayout Sidenote
        EndFont
 End
 
-InsetLayout Marginnote
-       CopyStyle       Sidenote
+InsetLayout Flex:Marginnote
+       CopyStyle       Flex:Sidenote
        LatexName       marginnote
        Decoration      classic
        LabelString     "marginnote"
@@ -153,7 +159,7 @@ InsetLayout Marginnote
        MultiPar        true
 End
 
-InsetLayout NewThought
+InsetLayout Flex:NewThought
        LyXType         charstyle
        LatexType       Command
        LatexName       newthought
@@ -167,8 +173,8 @@ InsetLayout NewThought
        EndFont
 End
 
-InsetLayout AllCaps
-       CopyStyle       NewThought
+InsetLayout Flex:AllCaps
+       CopyStyle       Flex:NewThought
        LatexName       allcaps
        LabelString     "allcaps"
        Font
@@ -180,8 +186,8 @@ InsetLayout AllCaps
        EndFont
 End
 
-InsetLayout SmallCaps
-       CopyStyle       NewThought
+InsetLayout Flex:SmallCaps
+       CopyStyle       Flex:NewThought
        LatexName       smallcaps
        LabelString     "smallcaps"
        LabelFont
@@ -221,7 +227,9 @@ Float
        NumberWithin    none
        Style           plain
        ListName        "List of Tables"
-       NeedsFloatPkg false
+       ListCommand     listoftables
+       IsPredefined true
+       UsesFloatPkg false
 End
 
 Float
@@ -232,14 +240,16 @@ Float
        NumberWithin    none
        Style           plain
        ListName        "List of Figures"
-       NeedsFloatPkg false
+       ListCommand     listoffigures
+       IsPredefined true
+       UsesFloatPkg false
 End
 
 Style Bibliography
-       TopSep                4
-       LabelString           "Bibliography"
+       TopSep          4
+       LabelString     "Bibliography"
        LabelFont
-         Series              Bold
-         Size                Huge
+         Series        Bold
+         Size          Huge
        EndFont
 End