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=6d63aeb80603ddcddb12e1d50fc8196805813d0c;hpb=28f4beaefac5839f6ba7fae615d46a6ba107486d;p=lyx.git diff --git a/lib/layouts/foils.layout b/lib/layouts/foils.layout index 6d63aeb806..21bc6beb71 100644 --- a/lib/layouts/foils.layout +++ b/lib/layouts/foils.layout @@ -1,15 +1,15 @@ #% 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 +Format 66 Columns 1 Sides 1 -MaxCounter Counter_Section DefaultFont @@ -22,13 +22,14 @@ 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 Style Standard + Category MainText Margin Static LatexType Paragraph LatexName dummy @@ -41,6 +42,8 @@ End Style Foilhead + Category Sectioning + TocLevel 1 Margin Static LatexType Command LatexName foilhead @@ -50,10 +53,8 @@ Style Foilhead BottomSep 0.7 ParSep 0.7 Align Center - AlignPossible Center LabelType No_Label - - Font + Font Series Bold Size Large EndFont @@ -78,13 +79,11 @@ Style ShortRotatefoilhead End -# then a few lists -Input stdlists.inc - - # We add there a few additional lists that look good in foils. +Input stdlists.inc Style TickList + Category List Margin Static LatexType Item_Environment LatexName dinglist @@ -98,16 +97,13 @@ Style TickList ParSep 0.3 Align Block AlignPossible Block, Left - LabelType Static - LabelString _/ - - Preamble - \usepackage{pifont} - EndPreamble + LabelType Itemize + LabelString "_/" + Requires pifont End - Style CrossList + Category List Margin Static LatexType Item_Environment LatexName dinglist @@ -121,22 +117,18 @@ Style CrossList ParSep 0.3 Align Block AlignPossible Block, Left - LabelType Static - LabelString >< - - Preamble - \usepackage{pifont} - EndPreamble + LabelType Itemize + LabelString "><" + Requires pifont End -# Then the Titles stuff. Input stdtitle.inc Input stdstruct.inc Style Title - Font + Font Series Bold Size Largest EndFont @@ -144,26 +136,25 @@ End Style Author - Font + Font Size Large EndFont End Style Date - Font + Font Size Large EndFont End Style Abstract - Font + Font Size Normal Series Medium EndFont - - LabelFont + LabelFont Size Large Series Bold EndFont @@ -172,66 +163,66 @@ End # Header definitions: Style My_Logo - Margin Static - LatexType Command - LatexName MyLogo - LeftMargin My_Logo:xx - LabelSep xxx - Align Left - AlignPossible Left - LabelType Static - LabelString "My Logo:" - - # standard font definition + 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 + Series Bold + Shape Italic + Color red EndFont - End Style Restriction - CopyStyle "My Logo" - LatexName Restriction - LeftMargin Restriction:xx - LabelString "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:" + 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:" + CopyStyle My_Logo + LatexName rightheader + LeftMargin Right_Header:xx + LabelString "Right Header:" End + Style Right_Footer - CopyStyle "My Logo" - LatexName rightfooter - LeftMargin Right_Footer:xx - LabelString "Right Footer:" + CopyStyle My_Logo + LatexName rightfooter + LeftMargin Right_Footer:xx + LabelString "Right Footer:" End + Style Bibliography - LabelFont + LabelFont Size Larger - Series Bold + Series Bold EndFont End Style Theorem + Category Reasoning Margin First_Dynamic LatexType Environment LatexName Theorem @@ -246,12 +237,10 @@ Style Theorem AlignPossible Block, Left LabelType Static LabelString "Theorem #." - TextFont Shape Slanted Size Normal EndFont - LabelFont Series Bold EndFont @@ -262,32 +251,30 @@ Style Lemma CopyStyle Theorem LatexName Lemma LabelString "Lemma #." -End +End Style Corollary CopyStyle Theorem LatexName Corollary LabelString "Corollary #." -End +End Style Proposition CopyStyle Theorem LatexName Proposition LabelString "Proposition #." -End +End Style Definition CopyStyle Theorem LatexName Definition LabelString "Definition #." - Font Shape Up EndFont - LabelFont Shape Up Series Bold @@ -299,16 +286,14 @@ Style Proof CopyStyle Theorem LatexName Proof LabelString "Proof." - Font Shape Up EndFont - LabelFont Shape Up Series Bold EndFont -End +End Style Theorem* @@ -322,21 +307,21 @@ Style Lemma* CopyStyle Lemma LatexName Lemma* LabelString "Lemma." -End +End Style Corollary* CopyStyle Corollary LatexName Corollary* LabelString "Corollary." -End +End Style Proposition* CopyStyle Proposition LatexName Proposition* LabelString "Proposition." -End +End Style Definition* @@ -346,11 +331,9 @@ Style Definition* End -# all the standard LaTeX environments Input stdlayouts.inc Input stdfloats.inc Input stdcounters.inc - - -# Finally add a few weird LyX environments. +Input stdinsets.inc Input lyxmacros.inc +Input theorems-refprefix.inc