]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/paper.layout
Use \babelfonts only if babel >= 3.15 is available.
[lyx.git] / lib / layouts / paper.layout
index fb39c13dadc12fcee3dea6b33d233569ad9bc86f..336d64fa67bdf8e16fb6000790342ac59c3a5479 100644 (file)
@@ -1,17 +1,18 @@
 #% 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 2
+Format 76
 Columns                 1
 Sides                   1
 SecNumDepth             3
 TocDepth                3
 
-
 Style Standard
+       Category              MainText
        Margin                Static
        LatexType             Paragraph
        LatexName             dummy
@@ -20,18 +21,26 @@ Style Standard
        Align                 Block
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
+       HTMLStyle
+               div.standard {
+                       margin-bottom: 2ex;
+               }
+       EndHTMLStyle
 End
 
-
+Input stdtitle.inc
+Input stdstruct.inc
+Input lyxmacros.inc
+Input stdlayouts.inc
+Input stdfloats.inc
 Input stdlists.inc
-Input stdsections.inc
-Input numarticle.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
-       AlignPossible         Left
        TopSep                2
        BottomSep             1.5
        Font
@@ -85,34 +94,25 @@ 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
-       AlignPossible         Left
        Font
          Family              Sans
          Series              Bold
@@ -123,8 +123,6 @@ End
 
 Style Author
        Align                 Left
-       AlignPossible         Left
-
        Font
          Size                Larger
          Family              Sans
@@ -134,12 +132,18 @@ End
 
 
 Style Abstract
-       Align                 Left
-       AlignPossible         Left
        Font
          Size                Small
+       EndFont
+       LabelType             Above
+       LabelFont
+         Series              Bold
          Family              Sans
+         Size                Small
        EndFont
+       LeftMargin            ""
+       RightMargin           ""
+       ParIndent             ""
 End
 
 
@@ -152,6 +156,7 @@ Style SubTitle
          Series              Medium
          Size                Large
        EndFont
+       HTMLTitle             false
 End
 
 
@@ -163,6 +168,8 @@ Style Institution
          Series              Medium
          Size                Normal
        EndFont
+       HTMLTag               div
+       HTMLTitle             false
 End