]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/tufte-handout.layout
Add NeedMBoxProtect [inset]layout option
[lyx.git] / lib / layouts / tufte-handout.layout
index d21f8dc23bbeb3f459974585d453b3648e77c967..84d880214a2dae1621029423b04a30ca0d5dbbf8 100644 (file)
@@ -1,26 +1,30 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[tufte-handout]{handout (Tufte)}
+#  \DeclareLaTeXClass[tufte-handout]{Tufte Handout}
+#  \DeclareCategory{Handouts}
 # tufte-handout textclass definition file.
 # Juergen Spitzmueller <juergen@spitzmueller.org>, 2008/10/22
-# Modified by Uwe Stöhr <uwestoehr@web.de>, 2009/11/01
+# Modified by Uwe Stöhr <uwestoehr@web.de>, 2009/11/15
 
-Format 11
+Format 70
 
 # import other layouts
 Input stdlayouts.inc
 Input article.layout
 Input tufte-book.layout
 
+Sides          1
+PageStyle      plain
+
 NoStyle Part
+NoCounter part
 NoStyle Chapter
 NoStyle Chapter*
 
 Style Part
-       Category        Section
+       Category        Sectioning
        Margin          Dynamic
-       LabelType       None
-       TocLevel        0
-       LabelCounter    part
+       LabelType       No_Label
+       TocLevel        -1
        LatexType       Command
        LatexName       part
        NeedProtect     1
@@ -32,6 +36,12 @@ Style Part
        ParSep          0.8
        Align           Center
        Alignpossible   Center
+       Argument 1
+         LabelString   "Short Title|S"
+         Tooltip       "The part as it appears in the table of contents/running headers"
+         InsertCotext  1
+         IsTocCaption  1
+       EndArgument
        Font
          Series        Bold
          Size          Huge
@@ -52,7 +62,7 @@ Style Abstract
        BottomSep       0.7
        ParSep          0
        Align           Block
-       LabelType       Centered_Top_Environment
+       LabelType       Centered
        LabelString     "Abstract"
        LabelBottomSep  0.5
        Font
@@ -63,3 +73,7 @@ Style Abstract
          Size          Large
        EndFont
 End
+
+Style Bibliography
+       TocLevel        1
+End