]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/tufte-book.layout
Add Stéphane Mourey as contributor
[lyx.git] / lib / layouts / tufte-book.layout
index 2e3f7a83b070b532fdcbcfe62e3092d179ab0a76..c48ce0ada30ff12eac53df78e645f9dc0563d7d5 100644 (file)
@@ -1,10 +1,11 @@
 #% Do not delete the line below; configure depends on this
-#  \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)}
+#  \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 35
+Format 49
 
 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
@@ -62,7 +62,7 @@ NoStyle Subparagraph*
 
 Style Chapter
        Margin          Static
-       Category        Section
+       Category        Sectioning
        LabelType       No_Label
        LabelCounter    chapter
        TocLevel        0
@@ -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
@@ -84,7 +87,7 @@ Style Chapter
 End
 
 Style Section
-       Category        Section
+       Category        Sectioning
        Margin          Dynamic
        LabelType       No_Label
        LabelCounter    section
@@ -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
@@ -138,6 +144,7 @@ InsetLayout Flex:Sidenote
          Color         marginlabel
          Size          Small
        EndFont
+       ResetsFont true
 End
 
 InsetLayout Flex:Marginnote
@@ -165,6 +172,7 @@ InsetLayout Flex:NewThought
          Family        Roman
          Color         red
        EndFont
+       ResetsFont true
 End
 
 InsetLayout Flex:AllCaps
@@ -240,10 +248,10 @@ Float
 End
 
 Style Bibliography
-       TopSep                4
-       LabelString           "Bibliography"
+       TopSep          4
+       LabelString     "Bibliography"
        LabelFont
-         Series              Bold
-         Size                Huge
+         Series        Bold
+         Size          Huge
        EndFont
 End