]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/paper.layout
Further translations of French Additional manual
[lyx.git] / lib / layouts / paper.layout
index d10631d35852b17188a980ebe30e5e4ecb8065a0..759bf3b505ab570931e69dd931ebc24f30b3b052 100644 (file)
@@ -1,16 +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 22
+Format 104
 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
@@ -24,6 +38,7 @@ Style Standard
                        margin-bottom: 2ex;
                }
        EndHTMLStyle
+       DocBookTag            para
 End
 
 Input stdtitle.inc
@@ -31,16 +46,12 @@ Input stdstruct.inc
 Input lyxmacros.inc
 Input stdlayouts.inc
 Input stdfloats.inc
-Input stdsections.inc
-Input stdstarsections.inc
 Input stdlists.inc
 Input stdcounters.inc
 
-# There are no chapters in a paper.
-NoStyle                 Chapter
-NoStyle                 Chapter*
+###### 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
@@ -59,6 +70,7 @@ Style Section
          Series              Bold
          Size                Large
        EndFont
+       TocLevel 1
 End
 
 
@@ -68,6 +80,7 @@ Style Subsection
          Series              Bold
          Size                Large
        EndFont
+       TocLevel 2
 End
 
 
@@ -77,6 +90,7 @@ Style Subsubsection
          Series              Bold
          Size                Normal
        EndFont
+       TocLevel 3
 End
 
 
@@ -86,6 +100,7 @@ Style Paragraph
          Series              Bold
          Size                Normal
        EndFont
+       TocLevel 4
 End
 
 
@@ -94,17 +109,26 @@ Style Subparagraph
          Family              Sans
          Size                Normal
        EndFont
+       TocLevel 5
 End
 
 Style Description
        LabelFont
          Family              Sans
-         Series              Bold
+         Series              Medium
        EndFont
 End
 
+Input stdstarsections.inc
+
+# There are no chapters in a paper.
+NoStyle                 Chapter
+NoCounter               chapter
+NoStyle                 Chapter*
+
+
 
-# The \maketitle stuff is by default left justified.
+###### The \maketitle stuff is by default left justified.
 Style Title
        Align                 Left
        Font
@@ -112,6 +136,9 @@ Style Title
          Series              Bold
          Size                Largest
        EndFont
+       DocBookTag            title
+       DocBookTagType        paragraph
+       DocBookInInfo         maybe
 End
 
 
@@ -129,7 +156,7 @@ Style Abstract
        Font
          Size                Small
        EndFont
-       LabelType             Top_Environment
+       LabelType             Above
        LabelFont
          Series              Bold
          Family              Sans
@@ -151,6 +178,8 @@ Style SubTitle
          Size                Large
        EndFont
        HTMLTitle             false
+       DocBookTag            subtitle
+       DocBookInInfo         maybe
 End
 
 
@@ -162,6 +191,7 @@ Style Institution
          Series              Medium
          Size                Normal
        EndFont
+       HTMLTag               div
        HTMLTitle             false
 End
 
@@ -170,4 +200,8 @@ Style Keywords
        CopyStyle             Abstract
        LatexName             keywords
        LabelString           "Keywords:"
+       DocBookTag         keyword
+       DocBookTagType     paragraph
+       DocBookWrapperTag  keywordset
+       DocBookInInfo      always
 End