]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/tufte-handout.layout
latexfonts: more minor fixes
[lyx.git] / lib / layouts / tufte-handout.layout
index 0e95635f610ae9f5e3f7f948418c6c8822f60a0f..e683e6ab388feb22136e30ffeba0247a59fac7b1 100644 (file)
@@ -1,10 +1,11 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[tufte-handout,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]{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/15
 
-Format 35
+Format 76
 
 # import other layouts
 Input stdlayouts.inc
@@ -20,11 +21,10 @@ NoStyle Chapter
 NoStyle Chapter*
 
 Style Part
-       Category        Section
+       Category        Sectioning
        Margin          Dynamic
        LabelType       No_Label
-       TocLevel        0
-       LabelCounter    part
+       TocLevel        -1
        LatexType       Command
        LatexName       part
        NeedProtect     1
@@ -36,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
@@ -56,7 +62,7 @@ Style Abstract
        BottomSep       0.7
        ParSep          0
        Align           Block
-       LabelType       Centered_Top_Environment
+       LabelType       Centered
        LabelString     "Abstract"
        LabelBottomSep  0.5
        Font
@@ -67,3 +73,7 @@ Style Abstract
          Size          Large
        EndFont
 End
+
+Style Bibliography
+       TocLevel        1
+End