]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/tufte-book.layout
* linguistics.module:
[lyx.git] / lib / layouts / tufte-book.layout
index 294a9214a68e89fc478412dd57bb8ebbb0d57e50..e96857e75dea171d88e27fdc09ee29d6d6d45d51 100644 (file)
@@ -2,13 +2,20 @@
 #  \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
 
 Provides geometry 1
 Provides natbib-internal 1
 
+Sides          2
+PageStyle      Headings
+
+ClassOptions
+       Other           nohyper
+end
+
 Style Standard
        Margin          Static
        LatexType       Paragraph
@@ -22,8 +29,12 @@ End
 
 # import other layouts
 Input stdlayouts.inc
-Input book.layout
+Input stdclass.inc
 
+NoStyle Abstract
+NoStyle Chapter
+NoStyle Section
+NoStyle Subsection
 NoStyle Subsubsection
 NoStyle Subsubsection*
 NoStyle Paragraph
@@ -31,6 +42,64 @@ NoStyle Paragraph*
 NoStyle Subparagraph
 NoStyle Subparagraph*
 
+Style Chapter
+       Margin          Static
+       Category        Section
+       LabelType       None
+       LabelCounter    chapter
+       TocLevel        0
+       LatexType       Command
+       LatexName       chapter
+       NeedProtect     1
+       NextNoIndent    1
+       ParSkip         0.4
+       TopSep          4
+       BottomSep       0.8
+       ParSep          0.8
+       Align           Block
+       OptionalArgs    1
+       Font
+         Series        Bold
+         Size          Huge
+       EndFont
+End
+
+Style Section
+       Category        Section
+       Margin          Dynamic
+       LabelType       None
+       LabelCounter    section
+       TocLevel        1
+       LatexType       Command
+       LatexName       section
+       NeedProtect     1
+       NextNoIndent    1
+       LabelSep        xxx
+       ParSkip         0.4
+       TopSep          1.3
+       BottomSep       0.7
+       ParSep          0.7
+       Align           Block
+       OptionalArgs    1
+       Font
+         Series        Bold
+         Size          Larger
+       EndFont
+End
+
+Style Subsection
+       CopyStyle       Section
+       TocLevel        2
+       LatexName       subsection
+       TopSep          0.9
+       BottomSep       0.5
+       ParSep          0.5
+       Font
+         Series        Bold
+         Size          Large
+       EndFont
+End
+
 InsetLayout Sidenote
        LyxType         custom
        LatexType       command
@@ -116,11 +185,10 @@ Style Full_Width
 End
 
 # this steps the counters
-Counter
-  Name         marginfigure
+Counter                marginfigure
 End
-Counter
-  Name         margintable
+
+Counter                margintable
 End
 
 # define the floats
@@ -144,4 +212,13 @@ Float
        Style           plain
        ListName        "List of Figures"
        LaTeXBuiltin    true
+End
+
+Style Bibliography
+       TopSep                4
+       LabelString           "Bibliography"
+       LabelFont
+         Series              Bold
+         Size                Huge
+       EndFont
 End
\ No newline at end of file