]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/paper.layout
Add support for the europasscv class
[lyx.git] / lib / layouts / paper.layout
index 5234ad1c72a0738ef93971d3bba4225b47fcceb0..87f9b7b04da222502ab41a7d88aa38703c933c47 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 54
 Columns                 1
 Sides                   1
 SecNumDepth             3
 TocDepth                3
 
-
 Style Standard
+       Category              MainText
        Margin                Static
        LatexType             Paragraph
        LatexName             dummy
@@ -20,18 +21,32 @@ Style Standard
        Align                 Block
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
+       HTMLStyle
+               div.standard {
+                       margin-bottom: 2ex;
+               }
+       EndHTMLStyle
 End
 
-
-Input stdlists.inc
+Input stdtitle.inc
+Input stdstruct.inc
+Input lyxmacros.inc
+Input stdlayouts.inc
+Input stdfloats.inc
 Input stdsections.inc
-Input numarticle.inc
+Input stdstarsections.inc
+Input stdlists.inc
+Input stdcounters.inc
+Input stdciteformats.inc
 
+# There are no chapters in a paper.
+NoStyle                 Chapter
+NoCounter               chapter
+NoStyle                 Chapter*
 
 # All the section headings now use sans serif
 Style Part
        Align                 Left
-       AlignPossible         Left
        TopSep                2
        BottomSep             1.5
        Font
@@ -85,26 +100,10 @@ Style Subparagraph
        EndFont
 End
 
-
-Input stdstarsections.inc
-
-
-# There are no chapters in a paper.
-NoStyle                 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
+         Series              Medium
        EndFont
 End
 
@@ -112,7 +111,6 @@ End
 # The \maketitle stuff is by default left justified.
 Style Title
        Align                 Left
-       AlignPossible         Left
        Font
          Family              Sans
          Series              Bold
@@ -123,8 +121,6 @@ End
 
 Style Author
        Align                 Left
-       AlignPossible         Left
-
        Font
          Size                Larger
          Family              Sans
@@ -137,7 +133,7 @@ Style Abstract
        Font
          Size                Small
        EndFont
-       LabelType             Top_Environment
+       LabelType             Above
        LabelFont
          Series              Bold
          Family              Sans
@@ -158,6 +154,7 @@ Style SubTitle
          Series              Medium
          Size                Large
        EndFont
+       HTMLTitle             false
 End
 
 
@@ -169,6 +166,8 @@ Style Institution
          Series              Medium
          Size                Normal
        EndFont
+       HTMLTag               div
+       HTMLTitle             false
 End