X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftufte-book.layout;h=864726415a520ebcce6d7ee9a83bc10060129404;hb=b4dcad83b2f6e3fce28b4e04cc1abc8d654f9bfe;hp=d6d3b086b08d1a49844882cbb0bc307228240594;hpb=f5e2d7879276d25b1de2cd493db1712bf9d96b0e;p=lyx.git diff --git a/lib/layouts/tufte-book.layout b/lib/layouts/tufte-book.layout index d6d3b086b0..864726415a 100644 --- a/lib/layouts/tufte-book.layout +++ b/lib/layouts/tufte-book.layout @@ -1,10 +1,11 @@ #% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass[tufte-book,book,bibentry.sty,fancyhdr.sty,geometry.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]{book (Tufte)} +# \DeclareLaTeXClass[tufte-book,bibentry.sty,changepage.sty,fancyhdr.sty,hardwrap.sty,ifmtarg.sty,ifplatform.sty,letterspace.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]{Tufte Book} +# \DeclareCategory{Books} # tufte-book textclass definition file. # Jason Waskiewicz , 2009/10/18 # Modified by Uwe Stöhr , 2009/11/15 -Format 27 +Format 60 Provides geometry 1 Provides natbib-internal 1 @@ -32,171 +33,186 @@ Input stdlayouts.inc Input stdclass.inc Style Title - InPreamble 1 + InPreamble 1 End Style Author - InPreamble 1 + InPreamble 1 End Style Date - InPreamble 1 + InPreamble 1 End NoStyle Abstract NoStyle Chapter +NoCounter chapter NoStyle Section NoStyle Subsection +NoCounter subsection NoStyle Subsubsection +NoCounter subsubsection NoStyle Subsubsection* NoStyle Paragraph +NoCounter paragraph NoStyle Paragraph* NoStyle Subparagraph +NoCounter subparagraph NoStyle Subparagraph* Style Chapter - Margin Static - Category Section - LabelType No_Label + Margin Static + Category Sectioning + LabelType No_Label LabelCounter chapter - TocLevel 0 - LatexType Command - LatexName chapter - NeedProtect 1 + TocLevel 0 + LatexType Command + LatexName chapter + NeedProtect 1 NextNoIndent 1 - ParSkip 0.4 - TopSep 4 - BottomSep 0.8 - ParSep 0.8 - Align Block - RefPrefix chap - OptionalArgs 1 + ParSkip 0.4 + TopSep 4 + BottomSep 0.8 + ParSep 0.8 + Align Block + RefPrefix chap + Argument 1 + LabelString "Short Title|S" + Tooltip "The chapter as it appears in the table of contents/running headers" + InsertCotext 1 + EndArgument Font - Series Bold - Size Huge + Series Bold + Size Huge EndFont End Style Section - Category Section - Margin Dynamic - LabelType No_Label + Category Sectioning + Margin Dynamic + LabelType No_Label LabelCounter section - TocLevel 1 - LatexType Command - LatexName section - NeedProtect 1 + 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 - RefPrefix sec - OptionalArgs 1 + LabelSep xxx + ParSkip 0.4 + TopSep 1.3 + BottomSep 0.7 + ParSep 0.7 + Align Block + RefPrefix sec + Argument 1 + LabelString "Short Title|S" + Tooltip "The section as it appears in the table of contents/running headers" + InsertCotext 1 + EndArgument Font - Series Bold - Size Larger + Series Bold + Size Larger EndFont End Style Subsection - CopyStyle Section - TocLevel 2 - LatexName subsection - TopSep 0.9 - BottomSep 0.5 - ParSep 0.5 - RefPrefix sub + CopyStyle Section + TocLevel 2 + LatexName subsection + TopSep 0.9 + BottomSep 0.5 + ParSep 0.5 + RefPrefix subsec Font - Series Bold - Size Large + Series Bold + Size Large EndFont End -InsetLayout Sidenote - LyxType custom - LatexType command - LatexName sidenote - Decoration classic - LabelString "sidenote" +InsetLayout Flex: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 + Color foreground + Size Small + Misc No_Emph + Misc No_Noun + Misc No_Bar EndFont LabelFont - Color marginlabel - Size Small + Color marginlabel + Size Small EndFont + ResetsFont true End -InsetLayout Marginnote - CopyStyle Sidenote - LatexName marginnote - Decoration classic - LabelString "marginnote" +InsetLayout Flex:Marginnote + CopyStyle Flex:Sidenote + LatexName marginnote + Decoration classic + LabelString "marginnote" Font - Family Roman - Shape Up - Series Medium + Family Roman + Shape Up + Series Medium EndFont - MultiPar true + MultiPar true End -InsetLayout NewThought - LyXType charstyle - LatexType Command - LatexName newthought - LabelString "new thought" +InsetLayout Flex:NewThought + LyXType charstyle + LatexType Command + LatexName newthought + LabelString "new thought" Font - Shape SmallCaps + Shape SmallCaps EndFont LabelFont - Family Roman - Color red + Family Roman + Color red EndFont + ResetsFont true End -InsetLayout AllCaps - CopyStyle NewThought - LatexName allcaps - LabelString "allcaps" +InsetLayout Flex:AllCaps + CopyStyle Flex:NewThought + LatexName allcaps + LabelString "allcaps" Font - Shape Up - Misc Noun + Shape Up + Misc Noun EndFont LabelFont - Color blue + Color blue EndFont End -InsetLayout SmallCaps - CopyStyle NewThought - LatexName smallcaps - LabelString "smallcaps" +InsetLayout Flex:SmallCaps + CopyStyle Flex:NewThought + LatexName smallcaps + LabelString "smallcaps" LabelFont - Color green + Color green EndFont End Style Full_Width - Margin Static - LaTeXType environment - LaTeXName fullwidth - Category MainText + Margin Static + LaTeXType environment + LaTeXName fullwidth + Category MainText NextNoIndent 1 - ParSkip 0 - ItemSep 0 - TopSep 0.5 - BottomSep 0.5 - ParSep 0 - Align Block + ParSkip 0 + ItemSep 0 + TopSep 0.5 + BottomSep 0.5 + ParSep 0 + Align Block AlignPossible Block, Left, Right, Center - LabelType No_Label + LabelType No_Label End # this steps the counters @@ -208,32 +224,42 @@ End # define the floats Float - Type margintable - GuiName MarginTable - Placement tbp - Extension lot + Type margintable + GuiName MarginTable + Placement tbp + AllowedPlacement none + AllowsSideways 0 + AllowsWide 0 + Extension lot NumberWithin none - Style plain - ListName "List of Tables" - NeedsFloatPkg false + Style plain + ListName "List of Tables" + ListCommand listoftables + IsPredefined true + UsesFloatPkg false End Float - Type marginfigure - GuiName MarginFigure - Placement tbp - Extension lof + Type marginfigure + GuiName MarginFigure + Placement tbp + AllowedPlacement none + AllowsSideways 0 + AllowsWide 0 + Extension lof NumberWithin none - Style plain - ListName "List of Figures" - NeedsFloatPkg false + Style plain + ListName "List of Figures" + ListCommand listoffigures + IsPredefined true + UsesFloatPkg false End Style Bibliography - TopSep 4 - LabelString "Bibliography" + TopSep 4 + LabelString "Bibliography" LabelFont - Series Bold - Size Huge + Series Bold + Size Huge EndFont End