X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftufte-handout.layout;h=e683e6ab388feb22136e30ffeba0247a59fac7b1;hb=c476c3766cf74b3c95ca91f2fb0a0fd7f5df1110;hp=879a31b740e605cb0fa1202e090b4b362ca45d77;hpb=1762b5cb9d5457f45ad97a9ea1d8f025fd068296;p=lyx.git diff --git a/lib/layouts/tufte-handout.layout b/lib/layouts/tufte-handout.layout index 879a31b740..e683e6ab38 100644 --- a/lib/layouts/tufte-handout.layout +++ b/lib/layouts/tufte-handout.layout @@ -1,136 +1,79 @@ #% 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 , 2008/10/22 -# Modified by Uwe Stöhr , 2009/10/27 +# Modified by Uwe Stöhr , 2009/11/15 -Format 11 - -Provides geometry 1 -Provides natbib-internal 1 +Format 76 # import other layouts Input stdlayouts.inc Input article.layout +Input tufte-book.layout -NoStyle Subsubsection -NoStyle Subsubsection* -NoStyle Paragraph -NoStyle Paragraph* -NoStyle Subparagraph -NoStyle Subparagraph* - -InsetLayout Sidenote - LyxType custom - LatexType command - LatexName sidenote - Decoration classic - LabelString "sidenote" - Font - Color foreground - Size Small - Misc No_Emph - Misc No_Noun - Misc No_Bar - EndFont - LabelFont - Color marginlabel - Size Small - EndFont -End +Sides 1 +PageStyle plain -InsetLayout Marginnote - CopyStyle Sidenote - LatexName marginnote - Decoration classic - LabelString "marginnote" - Font - Family Roman - Shape Up - Series Medium - EndFont - MultiPar true -End +NoStyle Part +NoCounter part +NoStyle Chapter +NoStyle Chapter* -InsetLayout NewThought - LyXType charstyle +Style Part + Category Sectioning + Margin Dynamic + LabelType No_Label + TocLevel -1 LatexType Command - LatexName newthought - LabelString "new thought" - Font - Shape SmallCaps - EndFont - LabelFont - Family Roman - Color red - EndFont -End - -InsetLayout AllCaps - CopyStyle NewThought - LatexName allcaps - LabelString "allcaps" + LatexName part + NeedProtect 1 + NextNoIndent 1 + Labelsep xxx + ParSkip 0.4 + TopSep 4 + BottomSep 4 + 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 - Shape Up - Misc Noun - EndFont - LabelFont - Color blue + Series Bold + Size Huge EndFont End -InsetLayout SmallCaps - CopyStyle NewThought - LatexName smallcaps - LabelString "smallcaps" - LabelFont - Color green - EndFont -End - -Style Full_Width +Style Abstract Margin Static - LaTeXType environment - LaTeXName fullwidth - Category MainText + LatexType Environment + LatexName abstract + Category FrontMatter NextNoIndent 1 - ParSkip 0 + LeftMargin MMM + RightMargin MMM + ParIndent MM ItemSep 0 - TopSep 0.5 - BottomSep 0.5 + TopSep 0.7 + BottomSep 0.7 ParSep 0 Align Block - AlignPossible Block, Left, Right, Center - LabelType No_Label -End - -# this steps the counters -Counter - Name marginfigure -End -Counter - Name margintable + LabelType Centered + LabelString "Abstract" + LabelBottomSep 0.5 + Font + Size Small + EndFont + LabelFont + Series Bold + Size Large + EndFont End -# define the floats -Float - Type margintable - GuiName MarginTable - Placement tbp - Extension lot - NumberWithin none - Style plain - ListName "List of Tables" - LaTeXBuiltin true +Style Bibliography + TocLevel 1 End - -Float - Type marginfigure - GuiName MarginFigure - Placement tbp - Extension lof - NumberWithin none - Style plain - ListName "List of Figures" - LaTeXBuiltin true -End \ No newline at end of file