X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ffoils.layout;h=21bc6beb717299a118444f644bb1c5a46f4065ec;hb=refs%2Fheads%2F2.3.1-1;hp=6fb7ac6735760f395996031eb1d5293fbf1517e4;hpb=27de1486ca34aaad446adb798d71a77d6f6304da;p=lyx.git diff --git a/lib/layouts/foils.layout b/lib/layouts/foils.layout index 6fb7ac6735..21bc6beb71 100644 --- a/lib/layouts/foils.layout +++ b/lib/layouts/foils.layout @@ -1,356 +1,339 @@ #% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass{slides (FoilTeX)} -# Foils textclass definition file. +# \DeclareLaTeXClass{FoilTeX} +# \DeclareCategory{Presentations} +# Foils textclass definition file. # Created (1.Oct.96): Alejandro Aguilar Sierra # Enhanced (fonts & centering): Jean-Marc Lasgouttes # To do: Define class specific options. -# General textclass parameters -Columns 1 -Sides 1 -MaxCounter Counter_Section + +Format 66 +Columns 1 +Sides 1 + DefaultFont - Family Sans - Series Medium - Shape Up - Size Normal - Color None + Family Sans + Series Medium + Shape Up + Size Normal + Color None EndFont + ClassOptions - FontSize 17|20|25|30 - PageStyle "empty|plain|foilheadings|fancy" - Other "dvips" + FontSize 17|20|25|30 + PageStyle "empty|plain|foilheadings|fancy" + Other "dvips" End -# Standard style definition + Style Standard - Margin Static - LatexType Paragraph - LatexName dummy - ParIndent MM - ParSkip 0.4 - Align Block - AlignPossible Block, Left, Right, Center - LabelType No_Label + Category MainText + Margin Static + LatexType Paragraph + LatexName dummy + ParIndent MM + ParSkip 0.4 + Align Block + AlignPossible Block, Left, Right, Center + LabelType No_Label End -# foilhead style definition -Style Foilhead - Margin Static - LatexType Command - LatexName foilhead - LabelSep xxx - ParSkip 0.4 - TopSep 1.3 - BottomSep 0.7 - ParSep 0.7 - Align Center - AlignPossible Center - LabelType No_Label - - # standard font definition - Font - Series Bold - Size Larger - EndFont +Style Foilhead + Category Sectioning + TocLevel 1 + Margin Static + LatexType Command + LatexName foilhead + LabelSep xxx + ParSkip 0.4 + TopSep 1.3 + BottomSep 0.7 + ParSep 0.7 + Align Center + LabelType No_Label + Font + Series Bold + Size Large + EndFont End -# Shortfoilhead style definition Style ShortFoilhead - Margin Static - LatexType Command - LatexName foilhead - LatexParam "[-0.5in]" - LabelSep xxx - ParSkip 0.4 - TopSep 1.3 - BottomSep 0.7 - ParSep 0.7 - Align Center - AlignPossible Center - LabelType No_Label - - # standard font definition - Font - Series Bold - Size Larger - EndFont - + CopyStyle Foilhead + LatexParam "[-0.5in]" End -# landscape foilhead style definition Style Rotatefoilhead - Margin Static - LatexType Command - LatexName rotatefoilhead - LabelSep xxx - ParSkip 0.4 - TopSep 1.3 - BottomSep 0.7 - ParSep 0.7 - Align Center - AlignPossible Center - LabelType No_Label - - # standard font definition - Font - Series Bold - Size Larger - EndFont - + CopyStyle Foilhead + LatexName rotatefoilhead End -# ShortRotatefoilhead style definition Style ShortRotatefoilhead - Margin Static - LatexType Command - LatexName rotatefoilhead - LatexParam "[-0.5in]" - LabelSep xxx - ParSkip 0.4 - TopSep 1.3 - BottomSep 0.7 - ParSep 0.7 - Align Center - AlignPossible Center - LabelType No_Label - - # standard font definition - Font - Series Bold - Size Larger - EndFont - + CopyStyle Rotatefoilhead + LatexParam "[-0.5in]" End -# then a few lists -Input stdlists.inc # We add there a few additional lists that look good in foils. +Input stdlists.inc -# TickList style definition Style TickList - Margin Static - LatexType Item_Environment - LatexName dinglist - LatexParam "{52}" - NextNoIndent 1 - LeftMargin MMN - LabelSep xx - ItemSep 0.2 - TopSep 0.7 - BottomSep 0.7 - ParSep 0.3 - Align Block - AlignPossible Block, Left - LabelType Static - LabelString _/ - - Preamble - \usepackage{pifont} - EndPreamble + Category List + Margin Static + LatexType Item_Environment + LatexName dinglist + LatexParam "{52}" + NextNoIndent 1 + LeftMargin MMN + LabelSep xx + ItemSep 0.2 + TopSep 0.7 + BottomSep 0.7 + ParSep 0.3 + Align Block + AlignPossible Block, Left + LabelType Itemize + LabelString "_/" + Requires pifont End -# CrossList style definition Style CrossList - Margin Static - LatexType Item_Environment - LatexName dinglist - LatexParam "{56}" - NextNoIndent 1 - LeftMargin MMN - LabelSep xx - ItemSep 0.2 - TopSep 0.7 - BottomSep 0.7 - ParSep 0.3 - Align Block - AlignPossible Block, Left - LabelType Static - LabelString >< - - Preamble - \usepackage{pifont} - EndPreamble + Category List + Margin Static + LatexType Item_Environment + LatexName dinglist + LatexParam "{56}" + NextNoIndent 1 + LeftMargin MMN + LabelSep xx + ItemSep 0.2 + TopSep 0.7 + BottomSep 0.7 + ParSep 0.3 + Align Block + AlignPossible Block, Left + LabelType Itemize + LabelString "><" + Requires pifont End -# Then the Titles stuff. + +Input stdtitle.inc Input stdstruct.inc -# Title style definition. + Style Title - Font - Series Bold - Size Largest - EndFont + Font + Series Bold + Size Largest + EndFont End -# Author style definition + Style Author - Font - Size Large - EndFont + Font + Size Large + EndFont End -# Date style definition + Style Date - Font - Size Large - EndFont + Font + Size Large + EndFont End -# Abstract style definition + Style Abstract - Font - Size Normal - Series Medium - EndFont - - LabelFont - Size Large - Series Bold - EndFont + Font + Size Normal + Series Medium + EndFont + LabelFont + Size Large + Series Bold + EndFont +End + + +# Header definitions: +Style My_Logo + Category FrontMatter + Margin Static + LatexType Command + LatexName MyLogo + LeftMargin My_Logo:xx + LabelSep xxx + Align Left + LabelType Static + LabelString "My Logo:" + LabelFont + Series Bold + Shape Italic + Color red + EndFont +End + + +Style Restriction + CopyStyle My_Logo + LatexName Restriction + LeftMargin Restriction:xx + LabelString "Restriction:" +End + + +Style Left_Header + CopyStyle My_Logo + LatexName leftheader + LeftMargin Left_Header:xx + LabelString "Left Header:" +End + + +Style Right_Header + CopyStyle My_Logo + LatexName rightheader + LeftMargin Right_Header:xx + LabelString "Right Header:" End -# Bibliography style definition + +Style Right_Footer + CopyStyle My_Logo + LatexName rightfooter + LeftMargin Right_Footer:xx + LabelString "Right Footer:" +End + + + Style Bibliography - LabelFont - Size Larger - Series Bold - EndFont + LabelFont + Size Larger + Series Bold + EndFont End -# Theorem-numbered style declaration + Style Theorem - Margin First_Dynamic - LatexType Environment - LatexName Theorem - NextNoIndent 1 - LabelSep xx - ParSkip 0.4 - ItemSep 0.2 - TopSep 0.7 - BottomSep 0.7 - ParSep 0.3 - Align Block - AlignPossible Block, Left - LabelType Static - LabelString "Theorem #." - - - # standard font definition - TextFont - Shape Slanted - Size Normal - EndFont - - # label font definition - LabelFont - Series Bold - EndFont + Category Reasoning + Margin First_Dynamic + LatexType Environment + LatexName Theorem + NextNoIndent 1 + LabelSep xx + ParSkip 0.4 + ItemSep 0.2 + TopSep 0.7 + BottomSep 0.7 + ParSep 0.3 + Align Block + AlignPossible Block, Left + LabelType Static + LabelString "Theorem #." + TextFont + Shape Slanted + Size Normal + EndFont + LabelFont + Series Bold + EndFont End -# Lemma-numbered style declaration + Style Lemma - CopyStyle Theorem - LatexName Lemma - LabelString "Lemma #." -End + CopyStyle Theorem + LatexName Lemma + LabelString "Lemma #." +End + -# Corollary-numbered style declaration Style Corollary - CopyStyle Theorem - LatexName Corollary - LabelString "Corollary #." -End + CopyStyle Theorem + LatexName Corollary + LabelString "Corollary #." +End + -# Proposition-numbered style declaration Style Proposition - CopyStyle Theorem - LatexName Proposition - LabelString "Proposition #." -End + CopyStyle Theorem + LatexName Proposition + LabelString "Proposition #." +End + -# Definition-numbered style declaration Style Definition - CopyStyle Theorem - LatexName Definition - LabelString "Definition #." - - # standard font definition - Font - Shape Up - EndFont - - # label font definition - LabelFont - Shape Up - Series Bold - EndFont + CopyStyle Theorem + LatexName Definition + LabelString "Definition #." + Font + Shape Up + EndFont + LabelFont + Shape Up + Series Bold + EndFont End -# Proof style declaration + Style Proof - CopyStyle Theorem - LatexName Proof - LabelString "Proof." - - # standard font definition - Font - Shape Up - EndFont - - # label font definition - LabelFont - Shape Up - Series Bold - EndFont -End - - -# Theorem-numbered style declaration + CopyStyle Theorem + LatexName Proof + LabelString "Proof." + Font + Shape Up + EndFont + LabelFont + Shape Up + Series Bold + EndFont +End + + Style Theorem* - CopyStyle Theorem - LatexName Theorem* - LabelString "Theorem." - End + CopyStyle Theorem + LatexName Theorem* + LabelString "Theorem." +End + -# Lemma-numbered style declaration Style Lemma* - CopyStyle Lemma - LatexName Lemma* - LabelString "Lemma." -End + CopyStyle Lemma + LatexName Lemma* + LabelString "Lemma." +End + -# Corollary-numbered style declaration Style Corollary* - CopyStyle Corollary - LatexName Corollary* - LabelString "Corollary." -End + CopyStyle Corollary + LatexName Corollary* + LabelString "Corollary." +End + -# Proposition-numbered style declaration Style Proposition* - CopyStyle Proposition - LatexName Proposition* - LabelString "Proposition." -End + CopyStyle Proposition + LatexName Proposition* + LabelString "Proposition." +End + -# Definition-numbered style declaration Style Definition* - CopyStyle Definition - LatexName Definition* - LabelString "Definition." + CopyStyle Definition + LatexName Definition* + LabelString "Definition." End -# all the standard LaTeX environments -Input stdlayouts.inc -# Finally add a few weird LyX environments. +Input stdlayouts.inc +Input stdfloats.inc +Input stdcounters.inc +Input stdinsets.inc Input lyxmacros.inc +Input theorems-refprefix.inc