Author: uwestoehr
Date: Tue Jun 21 01:56:26 2011
New Revision: 39167
URL: http://www.lyx.org/trac/changeset/39167

Log:
layout files: backport Julien's fixes (that don't change strings) to branch

Modified:
   lyx-devel/branches/BRANCH_2_0_X/lib/layouts/revtex4.layout
   lyx-devel/branches/BRANCH_2_0_X/lib/layouts/stdsections.inc
   lyx-devel/branches/BRANCH_2_0_X/lib/layouts/stdstarsections.inc
   lyx-devel/branches/BRANCH_2_0_X/lib/layouts/tufte-handout.layout

Modified: lyx-devel/branches/BRANCH_2_0_X/lib/layouts/revtex4.layout
==============================================================================
--- lyx-devel/branches/BRANCH_2_0_X/lib/layouts/revtex4.layout  Tue Jun 21 
01:55:39 2011        (r39166)
+++ lyx-devel/branches/BRANCH_2_0_X/lib/layouts/revtex4.layout  Tue Jun 21 
01:56:26 2011        (r39167)
@@ -8,14 +8,18 @@
 #          Marc Mengel (RevTeX)
 #          Amir Karger (LyX v11.34 style modifications)
 #          Amir Karger (RevTeX 4 beta) 9/1999, 7/2000
-
+# Heavily modifed and enhanced by serveral developers.
 
 Format 35
-Columns                 1
-Sides                   1
-PageStyle               Headers
-Provides natbib-internal       1
-Provides url           1
+
+Columns                   1
+Sides                     1
+PageStyle                 Headers
+Provides natbib-internal  1
+Provides url              1
+
+SecNumDepth               4
+TocDepth                  3
 
 # Default textclass options. The user may need to modify this.
 ClassOptions
@@ -33,11 +37,12 @@
         \definecolor{CYAN}{cmyk}{1,0,0,0}
         \definecolor{MAGENTA}{cmyk}{0,1,0,0}
         \definecolor{YELLOW}{cmyk}{0,0,1,0}
-        }
+       }
 EndPreamble
 
 
 Style Standard
+       Category              MainText
        Margin                Static
        LatexType             Paragraph
        LatexName             dummy
@@ -60,11 +65,8 @@
        Align                 Center
        AlignPossible         Block, Center, Left
        Font
-         Series              Medium
          Shape               Smallcaps
-         Size                Large
        EndFont
-       TocLevel 1
 End
 
 
@@ -79,21 +81,17 @@
 
 Style Subsubsection
        Font
+         Series              Medium
          Shape               Italic
-         Size                Normal
        EndFont
-       TocLevel 3
 End
 
 
 Style Paragraph
-       TopSep                0.7
-       ParSep                0.4
        Font
+         Series              Medium
          Shape               Italic
-         Size                Normal
        EndFont
-       TocLevel 4
 End
 
 # then define the unumbered sections, based on the numbered ones.
@@ -111,6 +109,7 @@
 
 
 Style Preprint
+       Category              FrontMatter
        Margin                Right_Address_Box
        LatexType             Command
        InTitle               1
@@ -143,19 +142,17 @@
        LabelString           "Date:"
        LabelFont
          Shape               Italic
-         Size                Large
        EndFont
 End
 
 
 Style Affiliation
+       Category              FrontMatter
        Margin                Dynamic
        LatexType             Command
        InTitle               1
        LatexName             affiliation
        ParSkip               0.4
-#  BottomSep            1.5
-#  ParSep               1.5
        Align                 Center
        AlignPossible         Block, Left, Right, Center
        LabelType             Static
@@ -224,31 +221,30 @@
        InTitle               1
        ItemSep               0.2
        ParSep                0.3
-       LabelFont
-         Size                Large
-       EndFont
 End
 
 
 Style Acknowledgments
+       Category              BackMatter
        LatexType             Environment
        LatexName             acknowledgments
        ParIndent             MM
        ParSkip               0.4
+       TopSep                0.7
        Align                 Block
        AlignPossible         Block, Left, Right, Center
        LabelType             Centered_Top_Environment
        LabelString           "acknowledgments"
        LabelBottomSep        0.5
        LabelFont
-         Series              Medium
-         Shape               Smallcaps
+         Series              Bold
          Size                Large
        EndFont
 End
 
 
 Style PACS
+       Category              FrontMatter
        Margin                Dynamic
        LatexType             Command
        InTitle               1

Modified: lyx-devel/branches/BRANCH_2_0_X/lib/layouts/stdsections.inc
==============================================================================
--- lyx-devel/branches/BRANCH_2_0_X/lib/layouts/stdsections.inc Tue Jun 21 
01:55:39 2011        (r39166)
+++ lyx-devel/branches/BRANCH_2_0_X/lib/layouts/stdsections.inc Tue Jun 21 
01:56:26 2011        (r39167)
@@ -27,6 +27,7 @@
        ParSep                0.8
        Align                 Center
        Alignpossible         Center
+       OptionalArgs          1
        Font
          Series              Bold
          Size                Huge

Modified: lyx-devel/branches/BRANCH_2_0_X/lib/layouts/stdstarsections.inc
==============================================================================
--- lyx-devel/branches/BRANCH_2_0_X/lib/layouts/stdstarsections.inc     Tue Jun 
21 01:55:39 2011        (r39166)
+++ lyx-devel/branches/BRANCH_2_0_X/lib/layouts/stdstarsections.inc     Tue Jun 
21 01:56:26 2011        (r39167)
@@ -11,76 +11,77 @@
 
 Format 35
 Style Part*
-       CopyStyle             Part
-       Category              Unnumbered
-       Margin                Static
-       LatexName             part*
-       LabelType             No_Label
-       LabelCounter          ""
+       CopyStyle       Part
+       Category        Unnumbered
+       Margin          Static
+       LatexName       part*
+       LabelType       No_Label
+       LabelCounter    ""
+       OptionalArgs    0
 End
 
 
 Style Chapter*
-       CopyStyle             Chapter
-       Category              Unnumbered
-       Margin                Static
-       LatexName             chapter*
-       LabelType             No_Label
-       LabelCounter          ""
-       OptionalArgs          0
+       CopyStyle       Chapter
+       Category        Unnumbered
+       Margin          Static
+       LatexName       chapter*
+       LabelType       No_Label
+       LabelCounter    ""
+       OptionalArgs    0
 End
 
 
 Style Section*
-       CopyStyle             Section
-       Category              Unnumbered
-       Margin                Static
-       LatexName             section*
-       LabelType             No_Label
-       LabelCounter          ""
-       OptionalArgs          0
+       CopyStyle       Section
+       Category        Unnumbered
+       Margin          Static
+       LatexName       section*
+       LabelType       No_Label
+       LabelCounter    ""
+       OptionalArgs    0
 End
 
 
 Style Subsection*
-       CopyStyle             Subsection
-       Category              Unnumbered
-       Margin                Static
-       LatexName             subsection*
-       LabelType             No_Label
-       LabelCounter          ""
-       OptionalArgs          0
+       CopyStyle       Subsection
+       Category        Unnumbered
+       Margin  Static
+       LatexName       subsection*
+       LabelType       No_Label
+       LabelCounter    ""
+       OptionalArgs    0
 End
 
 
 Style Subsubsection*
-       CopyStyle             Subsubsection
-       Category              Unnumbered
-       Margin                Static
-       LatexName             subsubsection*
-       LabelType             No_Label
-       LabelCounter          ""
-       OptionalArgs          0
+       CopyStyle       Subsubsection
+       Category        Unnumbered
+       Margin          Static
+       LatexName       subsubsection*
+       LabelType       No_Label
+       LabelCounter    ""
+       OptionalArgs    0
 End
 
 
 Style Paragraph*
-       CopyStyle             Paragraph
-       Category              Unnumbered
-       Margin                Static
-       LatexName             paragraph*
-       LabelType             No_Label
-       LabelCounter          ""
-       OptionalArgs          0
+       CopyStyle       Paragraph
+       Category        Unnumbered
+       Margin          Static
+       LatexName       paragraph*
+       LabelType       No_Label
+       LabelCounter    ""
+       OptionalArgs    0
 End
 
 
 Style Subparagraph*
-       CopyStyle             Subparagraph
-       Category              Unnumbered
-       Margin                Static
-       LatexName             subparagraph*
-       LabelType             No_Label
-       LabelCounter          ""
-       OptionalArgs          0
+       CopyStyle       Subparagraph
+       Category        Unnumbered
+       Margin          Static
+       LatexName       subparagraph*
+       LabelType       No_Label
+       LabelCounter    ""
+       OptionalArgs    0
 End

Modified: lyx-devel/branches/BRANCH_2_0_X/lib/layouts/tufte-handout.layout
==============================================================================
--- lyx-devel/branches/BRANCH_2_0_X/lib/layouts/tufte-handout.layout    Tue Jun 
21 01:55:39 2011        (r39166)
+++ lyx-devel/branches/BRANCH_2_0_X/lib/layouts/tufte-handout.layout    Tue Jun 
21 01:56:26 2011        (r39167)
@@ -24,7 +24,6 @@
        Margin          Dynamic
        LabelType       No_Label
        TocLevel        0
-       LabelCounter    part
        LatexType       Command
        LatexName       part
        NeedProtect     1
@@ -36,6 +35,7 @@
        ParSep          0.8
        Align           Center
        Alignpossible   Center
+       OptionalArgs    1
        Font
          Series        Bold
          Size          Huge

Reply via email to