X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ffoils.layout;h=e360e672a0f77b726cf721059420ba22871cdb24;hb=1a89f89337413adb6188e6265c6e1c49e0969f65;hp=afda283585015c6469b97088aa0f2dfff3b25009;hpb=12d02d04b2b26bdd49ca8dfcc0c53529c8a20f9d;p=lyx.git diff --git a/lib/layouts/foils.layout b/lib/layouts/foils.layout index afda283585..e360e672a0 100644 --- a/lib/layouts/foils.layout +++ b/lib/layouts/foils.layout @@ -1,14 +1,16 @@ #% 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 60 Columns 1 Sides 1 -MaxCounter Counter_Section + DefaultFont Family Sans @@ -18,14 +20,16 @@ DefaultFont 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 + Category MainText Margin Static LatexType Paragraph LatexName dummy @@ -36,8 +40,10 @@ Style Standard LabelType No_Label End -# foilhead style definition + Style Foilhead + Category Sectioning + TocLevel 1 Margin Static LatexType Command LatexName foilhead @@ -47,45 +53,37 @@ Style Foilhead BottomSep 0.7 ParSep 0.7 Align Center - AlignPossible Center LabelType No_Label - - # standard font definition - Font + Font Series Bold Size Large EndFont - End -# Shortfoilhead style definition Style ShortFoilhead CopyStyle Foilhead LatexParam "[-0.5in]" End -# landscape foilhead style definition Style Rotatefoilhead CopyStyle Foilhead LatexName rotatefoilhead End -# ShortRotatefoilhead style definition Style ShortRotatefoilhead 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 + Category List Margin Static LatexType Item_Environment LatexName dinglist @@ -99,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 -# CrossList style definition Style CrossList + Category List Margin Static LatexType Item_Environment LatexName dinglist @@ -122,114 +117,112 @@ 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 -# Title style definition. + Style Title - Font + Font Series Bold Size Largest EndFont End -# Author style definition + Style Author - Font + Font Size Large EndFont End -# Date style definition + Style Date - Font + Font Size Large EndFont End -# Abstract style definition + Style Abstract - Font + Font Size Normal Series Medium EndFont - - LabelFont + LabelFont Size Large Series Bold EndFont 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 -# Bibliography style definition + Style Bibliography - LabelFont + LabelFont Size Larger - Series Bold + Series Bold EndFont End -# Theorem-numbered style declaration + Style Theorem + Category Reasoning Margin First_Dynamic LatexType Environment LatexName Theorem @@ -244,117 +237,103 @@ Style Theorem AlignPossible Block, Left LabelType Static LabelString "Theorem #." - - - # standard font definition TextFont Shape Slanted Size Normal EndFont - - # label font definition LabelFont Series Bold EndFont End -# Lemma-numbered style declaration + Style Lemma CopyStyle Theorem LatexName Lemma LabelString "Lemma #." -End +End + -# Corollary-numbered style declaration Style Corollary CopyStyle Theorem LatexName Corollary LabelString "Corollary #." -End +End + -# Proposition-numbered style declaration Style Proposition CopyStyle Theorem LatexName Proposition LabelString "Proposition #." -End +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 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 +End -# Theorem-numbered style declaration Style Theorem* CopyStyle Theorem LatexName Theorem* LabelString "Theorem." - End +End + -# Lemma-numbered style declaration Style Lemma* CopyStyle Lemma LatexName Lemma* LabelString "Lemma." -End +End + -# Corollary-numbered style declaration Style Corollary* CopyStyle Corollary LatexName Corollary* LabelString "Corollary." -End +End + -# Proposition-numbered style declaration Style Proposition* CopyStyle Proposition LatexName Proposition* LabelString "Proposition." -End +End + -# Definition-numbered style declaration Style Definition* CopyStyle Definition LatexName Definition* LabelString "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