]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/foils.layout
Add shortcuts to some Theorem argumentsnts (as requested in #8809)
[lyx.git] / lib / layouts / foils.layout
index ab545df328f9041d37bc7cc5dc52a01b70e2b35e..d5cfcf698a0815b73f145abfffdbec5e88f6ba84 100644 (file)
@@ -1,11 +1,13 @@
 #% 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.
 
 
+Format 48
 Columns                 1
 Sides                   1
 
@@ -27,6 +29,7 @@ End
 
 
 Style Standard
+       Category              MainText
        Margin                Static
        LatexType             Paragraph
        LatexName             dummy
@@ -39,6 +42,7 @@ End
 
 
 Style Foilhead
+       TocLevel              1
        Margin                Static
        LatexType             Command
        LatexName             foilhead
@@ -48,9 +52,8 @@ Style Foilhead
        BottomSep             0.7
        ParSep                0.7
        Align                 Center
-       AlignPossible         Center
        LabelType             No_Label
-       Font 
+       Font
          Series              Bold
          Size                Large
        EndFont
@@ -92,11 +95,9 @@ 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
@@ -113,11 +114,9 @@ Style CrossList
        ParSep                0.3
        Align                 Block
        AlignPossible         Block, Left
-       LabelType             Static
-       LabelString           ><
-       Preamble
-         \usepackage{pifont}
-       EndPreamble
+       LabelType             Itemize
+       LabelString           "><"
+       Requires              pifont
 End
 
 
@@ -126,7 +125,7 @@ Input stdstruct.inc
 
 
 Style Title
-       Font 
+       Font
          Series              Bold
          Size                Largest
        EndFont
@@ -134,25 +133,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
@@ -167,10 +166,9 @@ Style My_Logo
        LeftMargin            My_Logo:xx
        LabelSep              xxx
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
        LabelString           "My Logo:"
-       LabelFont             
+       LabelFont
          Series              Bold
          Shape               Italic
          Color               red
@@ -179,7 +177,7 @@ End
 
 
 Style Restriction
-       CopyStyle             "My Logo"
+       CopyStyle             My_Logo
        LatexName             Restriction
        LeftMargin            Restriction:xx
        LabelString           "Restriction:"
@@ -187,7 +185,7 @@ End
 
 
 Style Left_Header
-       CopyStyle             "My Logo"
+       CopyStyle             My_Logo
        LatexName             leftheader
        LeftMargin            Left_Header:xx
        LabelString           "Left Header:"
@@ -195,7 +193,7 @@ End
 
 
 Style Right_Header
-       CopyStyle             "My Logo"
+       CopyStyle             My_Logo
        LatexName             rightheader
        LeftMargin            Right_Header:xx
        LabelString           "Right Header:"
@@ -203,7 +201,7 @@ End
 
 
 Style Right_Footer
-       CopyStyle             "My Logo"
+       CopyStyle             My_Logo
        LatexName             rightfooter
        LeftMargin            Right_Footer:xx
        LabelString           "Right Footer:"
@@ -212,14 +210,15 @@ End
 
 
 Style Bibliography
-       LabelFont 
+       LabelFont
          Size                Larger
-         Series              Bold    
+         Series              Bold
        EndFont
 End
 
 
 Style Theorem
+       Category              Reasoning
        Margin                First_Dynamic
        LatexType             Environment
        LatexName             Theorem
@@ -248,21 +247,21 @@ 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
@@ -290,7 +289,7 @@ Style Proof
          Shape               Up
          Series              Bold
        EndFont
-End  
+End
 
 
 Style Theorem*
@@ -304,21 +303,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*
@@ -331,4 +330,6 @@ End
 Input stdlayouts.inc
 Input stdfloats.inc
 Input stdcounters.inc
+Input stdinsets.inc
 Input lyxmacros.inc
+Input theorems-refprefix.inc