]> 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 83b9216300e19185b30f476d8f05093d1bed22d4..a96725ef555912cb1beaab22e174e81899234c0f 100644 (file)
@@ -1,17 +1,30 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass{article (paper)}
+#  \DeclareLaTeXClass{Paper (Standard Class)}
+#  \DeclareCategory{Articles}
 # Paper textclass definition file.
 # Created by Jean-Marc Lasgouttes (Jean-Marc.Lasgouttes@inria.fr)
 
 
-Format 6
+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
        LatexType             Paragraph
        LatexName             dummy
@@ -20,15 +33,25 @@ Style Standard
        Align                 Block
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
+       HTMLStyle
+               div.standard {
+                       margin-bottom: 2ex;
+               }
+       EndHTMLStyle
+       DocBookTag            para
 End
 
-
-Input stdinsets.inc
+Input stdtitle.inc
+Input stdstruct.inc
+Input lyxmacros.inc
+Input stdlayouts.inc
+Input stdfloats.inc
 Input stdlists.inc
-Input stdsections.inc
+Input stdcounters.inc
 
+###### All the section headings now use sans serif
+Input stdsections.inc
 
-# All the section headings now use sans serif
 Style Part
        Align                 Left
        TopSep                2
@@ -84,31 +107,23 @@ Style Subparagraph
        EndFont
 End
 
+Style Description
+       LabelFont
+         Family              Sans
+         Series              Medium
+       EndFont
+End
 
 Input stdstarsections.inc
 
-
 # There are no chapters in a paper.
 NoStyle                 Chapter
+NoCounter               chapter
 NoStyle                 Chapter*
 
-Input stdtitle.inc
-Input stdstruct.inc
-Input lyxmacros.inc
-Input stdlayouts.inc
-Input stdfloats.inc
-Input stdcounters.inc
-
-
-Style Description
-       LabelFont
-         Family              Sans
-         Series              Bold
-       EndFont
-End
 
 
-# The \maketitle stuff is by default left justified.
+###### The \maketitle stuff is by default left justified.
 Style Title
        Align                 Left
        Font
@@ -116,6 +131,9 @@ Style Title
          Series              Bold
          Size                Largest
        EndFont
+       DocBookTag            title
+       DocBookTagType        paragraph
+       DocBookInInfo         maybe
 End
 
 
@@ -133,7 +151,7 @@ Style Abstract
        Font
          Size                Small
        EndFont
-       LabelType             Top_Environment
+       LabelType             Above
        LabelFont
          Series              Bold
          Family              Sans
@@ -154,6 +172,9 @@ Style SubTitle
          Series              Medium
          Size                Large
        EndFont
+       HTMLTitle             false
+       DocBookTag            subtitle
+       DocBookInInfo         maybe
 End
 
 
@@ -165,6 +186,8 @@ Style Institution
          Series              Medium
          Size                Normal
        EndFont
+       HTMLTag               div
+       HTMLTitle             false
 End
 
 
@@ -172,4 +195,8 @@ Style Keywords
        CopyStyle             Abstract
        LatexName             keywords
        LabelString           "Keywords:"
+       DocBookTag         keyword
+       DocBookTagType     paragraph
+       DocBookWrapperTag  keywordset
+       DocBookInInfo      always
 End