]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/tufte-handout.layout
Add a pref to disable OS keyboard language support
[lyx.git] / lib / layouts / tufte-handout.layout
index 4d8675d46d7a0c89ae0ed3731a362facb2b4a950..e683e6ab388feb22136e30ffeba0247a59fac7b1 100644 (file)
@@ -1,10 +1,11 @@
 #% 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/15
 
-Format 27
+Format 76
 
 # import other layouts
 Input stdlayouts.inc
@@ -15,15 +16,15 @@ 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
@@ -35,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
@@ -55,7 +62,7 @@ Style Abstract
        BottomSep       0.7
        ParSep          0
        Align           Block
-       LabelType       Centered_Top_Environment
+       LabelType       Centered
        LabelString     "Abstract"
        LabelBottomSep  0.5
        Font
@@ -66,3 +73,7 @@ Style Abstract
          Size          Large
        EndFont
 End
+
+Style Bibliography
+       TocLevel        1
+End