]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/paper.layout
Fix bug #10273
[lyx.git] / lib / layouts / paper.layout
index 4cc067aafde77875fcca7ac0495e479530e00532..bb089653f642ce6c6185c7edac6a38efa9951643 100644 (file)
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass{article (paper)}
-# Paper textclass definition file. 
+#  \DeclareLaTeXClass{Paper (Standard Class)}
+#  \DeclareCategory{Articles}
+# Paper textclass definition file.
 # Created by Jean-Marc Lasgouttes (Jean-Marc.Lasgouttes@inria.fr)
 
 
-# General textclass parameters
-MaxCounter             Counter_Section
-Columns                        1
-Sides                  1
-SecNumDepth            3
-TocDepth               3
+Format 60
+Columns                 1
+Sides                   1
+SecNumDepth             3
+TocDepth                3
 
-# Standard style definition
 Style Standard
-  Margin               Static
-  LatexType            Paragraph
-  LatexName            dummy
-  ParIndent            MM
-  ParSkip              0.4
-  Align                Block
-  AlignPossible        Block, Left, Right, Center
-  LabelType            No_Label
+       Category              MainText
+       Margin                Static
+       LatexType             Paragraph
+       LatexName             dummy
+       ParIndent             MM
+       ParSkip               0.4
+       Align                 Block
+       AlignPossible         Block, Left, Right, Center
+       LabelType             No_Label
+       HTMLStyle
+               div.standard {
+                       margin-bottom: 2ex;
+               }
+       EndHTMLStyle
 End
 
-# A few lists
+Input stdtitle.inc
+Input stdstruct.inc
+Input lyxmacros.inc
+Input stdlayouts.inc
+Input stdfloats.inc
 Input stdlists.inc
+Input stdcounters.inc
+Input stdciteformats.inc
 
-# Standard sections.
+###### 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
-    Family             Sans
-    Series             Bold
-    Size               Largest
-  EndFont
+       Align                 Left
+       TopSep                2
+       BottomSep             1.5
+       Font
+         Family              Sans
+         Series              Bold
+         Size                Largest
+       EndFont
 End
 
+
 Style Section
-  Font 
-    Family              Sans
-    Series              Bold
-    Size                Large
-  EndFont
+       Font
+         Family              Sans
+         Series              Bold
+         Size                Large
+       EndFont
 End
 
+
 Style Subsection
-  Font 
-    Family              Sans
-    Series              Bold
-    Size                Large
-  EndFont
+       Font
+         Family              Sans
+         Series              Bold
+         Size                Large
+       EndFont
 End
 
+
 Style Subsubsection
-  Font 
-    Family              Sans
-    Series              Bold
-    Size                Normal
-  EndFont
+       Font
+         Family              Sans
+         Series              Bold
+         Size                Normal
+       EndFont
 End
 
+
 Style Paragraph
-  Font 
-    Family              Sans
-    Series              Bold
-    Size                Normal
-  EndFont
+       Font
+         Family              Sans
+         Series              Bold
+         Size                Normal
+       EndFont
 End
 
+
 Style Subparagraph
-  Font 
-    Family              Sans
-    Size                Normal
-  EndFont
+       Font
+         Family              Sans
+         Size                Normal
+       EndFont
+End
+
+Style Description
+       LabelFont
+         Family              Sans
+         Series              Medium
+       EndFont
 End
 
-# Starred versions of the sectioning layouts.
 Input stdstarsections.inc
 
 # There are no chapters in a paper.
-NoStyle                        Chapter
-NoStyle                        Chapter*
+NoStyle                 Chapter
+NoCounter               chapter
+NoStyle                 Chapter*
 
-# Some standard layouts 
-Input stdtitle.inc
-Input stdstruct.inc
-Input lyxmacros.inc
-Input stdlayouts.inc
-Input obsolete.inc
 
-### The description environment also uses sans serif labels.
-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
-    Size                Largest
-  EndFont
+       Align                 Left
+       Font
+         Family              Sans
+         Series              Bold
+         Size                Largest
+       EndFont
 End
 
+
 Style Author
-  Align                 Left
-  AlignPossible         Left
-
-  Font 
-    Size                Larger
-    Family              Sans
-    Shape               Italic
-  EndFont
+       Align                 Left
+       Font
+         Size                Larger
+         Family              Sans
+         Shape               Italic
+       EndFont
 End
 
-Style Abstract
-  Align                 Left
-  AlignPossible         Left
 
-  Font 
-    Size                Small
-    Family              Sans
-  EndFont
+Style Abstract
+       Font
+         Size                Small
+       EndFont
+       LabelType             Above
+       LabelFont
+         Series              Bold
+         Family              Sans
+         Size                Small
+       EndFont
+       LeftMargin            ""
+       RightMargin           ""
+       ParIndent             ""
 End
 
+
 ### A few new things defined only in the paper document class
 Style SubTitle
-  CopyStyle            Title
-  LatexName            subtitle
-
-  Font 
-    Family              Sans
-    Series              Medium
-    Size                Large
-  EndFont
+       CopyStyle             Title
+       LatexName             subtitle
+       Font
+         Family              Sans
+         Series              Medium
+         Size                Large
+       EndFont
+       HTMLTitle             false
 End
 
+
 Style Institution
-  CopyStyle            Title
-  LatexName            institution
-
-  Font 
-    Family              Sans
-    Series              Medium
-    Size                Normal
-  EndFont
+       CopyStyle             Title
+       LatexName             institution
+       Font
+         Family              Sans
+         Series              Medium
+         Size                Normal
+       EndFont
+       HTMLTag               div
+       HTMLTitle             false
 End
 
+
 Style Keywords
-  CopyStyle            Abstract
-  LatexName            keywords
-  LabelString          "Keywords:"
+       CopyStyle             Abstract
+       LatexName             keywords
+       LabelString           "Keywords:"
 End