]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/paper.layout
Add support for the europasscv class
[lyx.git] / lib / layouts / paper.layout
index bb7fccd47a7bfc5f6b95c85c2c866a3139901790..87f9b7b04da222502ab41a7d88aa38703c933c47 100644 (file)
@@ -1,16 +1,18 @@
 #% 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)
 
 
+Format 54
 Columns                 1
 Sides                   1
 SecNumDepth             3
 TocDepth                3
 
-
 Style Standard
+       Category              MainText
        Margin                Static
        LatexType             Paragraph
        LatexName             dummy
@@ -19,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
@@ -42,7 +58,7 @@ End
 
 
 Style Section
-       Font 
+       Font
          Family              Sans
          Series              Bold
          Size                Large
@@ -51,7 +67,7 @@ End
 
 
 Style Subsection
-       Font 
+       Font
          Family              Sans
          Series              Bold
          Size                Large
@@ -60,7 +76,7 @@ End
 
 
 Style Subsubsection
-       Font 
+       Font
          Family              Sans
          Series              Bold
          Size                Normal
@@ -69,7 +85,7 @@ End
 
 
 Style Paragraph
-       Font 
+       Font
          Family              Sans
          Series              Bold
          Size                Normal
@@ -78,32 +94,16 @@ End
 
 
 Style Subparagraph
-       Font 
+       Font
          Family              Sans
          Size                Normal
        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 
+       LabelFont
          Family              Sans
-         Series              Bold
+         Series              Medium
        EndFont
 End
 
@@ -111,8 +111,7 @@ End
 # The \maketitle stuff is by default left justified.
 Style Title
        Align                 Left
-       AlignPossible         Left
-       Font 
+       Font
          Family              Sans
          Series              Bold
          Size                Largest
@@ -122,9 +121,7 @@ End
 
 Style Author
        Align                 Left
-       AlignPossible         Left
-
-       Font 
+       Font
          Size                Larger
          Family              Sans
          Shape               Italic
@@ -133,12 +130,18 @@ End
 
 
 Style Abstract
-       Align                 Left
-       AlignPossible         Left
-       Font 
+       Font
          Size                Small
+       EndFont
+       LabelType             Above
+       LabelFont
+         Series              Bold
          Family              Sans
+         Size                Small
        EndFont
+       LeftMargin            ""
+       RightMargin           ""
+       ParIndent             ""
 End
 
 
@@ -146,22 +149,25 @@ End
 Style SubTitle
        CopyStyle             Title
        LatexName             subtitle
-       Font 
+       Font
          Family              Sans
          Series              Medium
          Size                Large
        EndFont
+       HTMLTitle             false
 End
 
 
 Style Institution
        CopyStyle             Title
        LatexName             institution
-       Font 
+       Font
          Family              Sans
          Series              Medium
          Size                Normal
        EndFont
+       HTMLTag               div
+       HTMLTitle             false
 End