]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/paper.layout
Move RevTeX section in Additional.lyx into Chapter 3 Document classes
[lyx.git] / lib / layouts / paper.layout
index 6673643ff661a69a7f9f12608a45e4301edde546..a96725ef555912cb1beaab22e174e81899234c0f 100644 (file)
@@ -5,12 +5,24 @@
 # Created by Jean-Marc Lasgouttes (Jean-Marc.Lasgouttes@inria.fr)
 
 
-Format 84
+Format 98
 Columns                 1
 Sides                   1
 SecNumDepth             3
 TocDepth                3
 
+AddToPreamble
+  % Save and disable \example as this might
+  % clash with theorems
+  \let\paperclassexample\example
+  \let\endpaperclassexample\endexample
+  \let\example\relax
+  % If theorems hasn't been loaded, restore example
+  \AtBeginDocument{%
+    \@ifundefined{example}{\let\example\paperclassexample}{}
+  }
+EndPreamble
+
 Style Standard
        Category              MainText
        Margin                Static
@@ -26,6 +38,7 @@ Style Standard
                        margin-bottom: 2ex;
                }
        EndHTMLStyle
+       DocBookTag            para
 End
 
 Input stdtitle.inc
@@ -57,7 +70,6 @@ Style Section
          Series              Bold
          Size                Large
        EndFont
-       TocLevel 1
 End
 
 
@@ -67,7 +79,6 @@ Style Subsection
          Series              Bold
          Size                Large
        EndFont
-       TocLevel 2
 End
 
 
@@ -77,7 +88,6 @@ Style Subsubsection
          Series              Bold
          Size                Normal
        EndFont
-       TocLevel 3
 End
 
 
@@ -87,7 +97,6 @@ Style Paragraph
          Series              Bold
          Size                Normal
        EndFont
-       TocLevel 4
 End
 
 
@@ -96,7 +105,6 @@ Style Subparagraph
          Family              Sans
          Size                Normal
        EndFont
-       TocLevel 5
 End
 
 Style Description
@@ -123,6 +131,9 @@ Style Title
          Series              Bold
          Size                Largest
        EndFont
+       DocBookTag            title
+       DocBookTagType        paragraph
+       DocBookInInfo         maybe
 End
 
 
@@ -162,6 +173,8 @@ Style SubTitle
          Size                Large
        EndFont
        HTMLTitle             false
+       DocBookTag            subtitle
+       DocBookInInfo         maybe
 End
 
 
@@ -182,4 +195,8 @@ Style Keywords
        CopyStyle             Abstract
        LatexName             keywords
        LabelString           "Keywords:"
+       DocBookTag         keyword
+       DocBookTagType     paragraph
+       DocBookWrapperTag  keywordset
+       DocBookInInfo      always
 End