]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/llncs.layout
Fix several layout related problems revealed by -dbg tclass.
[lyx.git] / lib / layouts / llncs.layout
index efac7ac2132558286354e7999df19a46803030e6..f77c3955af0be3504e226893a0fd201c0be25588 100644 (file)
@@ -1,11 +1,11 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass{Springer - Lecture Notes in Comp. Sci.}
-# llncs (article) textclass definition file. 
+#  \DeclareLaTeXClass[llncs,aliascnt.sty,multicol.sty]{article (Springer LNCS)}
+# llncs (article) textclass definition file.
 # --------
 #
 # Taken from initial LyX source code
 # Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
-# Transposed by Pascal André <andre@via.ecp.fr>
+# Transposed by Pascal André <andre@via.ecp.fr>
 # Heavily modified and enhanced by serveral developers.
 #
 # --------
 # Modified for LyX 12 by Jean-Marc Lasgouttes and MV.
 
 
-# General textclass parameters
+Format 31
 Columns                 1
 Sides                   1
 PageStyle               Plain
-MaxCounter              Counter_Section
 
 
 Style Standard
@@ -32,51 +31,52 @@ Style Standard
        LabelType             No_Label
 End
 
-# The standard sections
+
+Input stdinsets.inc
 Input stdsections.inc
 
 
 Style Chapter
        Align         Center
        AlignPossible Block,Left,Center
+       TocLevel 0
 End
 
 
 Style Section
-       LabelFont
-         Series              Bold
-         Size                Large
-       EndFont
        Font
          Series              Bold
          Size                Large
        EndFont
+       TocLevel 1
 End
 
 
 Style Subsection
-       LabelType             Counter_Subsection
-       LabelFont
+       Font
          Series              Bold
          Size                Normal
        EndFont
+       TocLevel 2
 End
 
 
 Style Subsubsection
-       LabelFont 
+       Font
          Series              Bold
          Size                Normal
        EndFont
+       TocLevel 3
 End
 
 
 Style Paragraph
-       Font 
+       Font
          Series              Medium
          Shape               Italic
          Size                Normal
        EndFont
+       TocLevel 4
 End
 
 
@@ -86,17 +86,16 @@ Style Subparagraph
          Shape               Up
          Size                Normal
        EndFont
+       TocLevel 5
 End
 
 
 # Now define the starred versions from the normal ones.
 Input stdstarsections.inc
 
-
-# Remove the ones that we do not want
-NoStyle         Part
-NoStyle         Part*
-NoStyle         Chapter
+NoStyle Part
+NoStyle Part*
+NoStyle Chapter
 
 
 # Some standard things
@@ -114,17 +113,17 @@ Style Title
        TopSep                1.3
        BottomSep             0.7
        ParSep                0.7
-       Align                 Center          
+       Align                 Center
        AlignPossible         Block, Center, Left, Right
        LabelType             No_Label
        Fill_Top              1
        Fill_Bottom           1
-
-       Font 
+       Font
          Family              Sans
          Series              Bold
          Size                Largest
        EndFont
+       HTMLTitle             true
 End
 
 
@@ -140,10 +139,8 @@ Style Subtitle
        BottomSep             0
        ParSep                0
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
-
-       Font 
+       Font
          Family              Sans
          Series              Bold
          Size                Large
@@ -164,11 +161,9 @@ Style Running_LaTeX_Title
        BottomSep             0.7
        ParSep                0.7
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           "Running title: "
-
-       LabelFont 
+       LabelString           "Running title:"
+       LabelFont
          Series              Bold
          Shape               Italic
          Color               Red
@@ -177,10 +172,10 @@ End
 
 
 Style TOC_Title
-       CopyStyle             "Running LaTeX Title"
+       CopyStyle             Running_LaTeX_Title
        LatexName             toctitle
        LeftMargin            "TOC title:xxx"
-       LabelString           "TOC title: "
+       LabelString           "TOC title:"
 End
 
 
@@ -196,30 +191,27 @@ Style Author
        ItemSep               0
        ParSep                0
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
-
-       Font 
+       Font
          Series              Bold
          Shape               Italic
        EndFont
-
 End
 
 
 Style Author_Running
-       CopyStyle             "Running LaTeX Title"
+       CopyStyle             Running_LaTeX_Title
        LatexName             authorrunning
        LeftMargin            "Author Running:xxx"
-       LabelString           "Author Running: "
+       LabelString           "Author Running:"
 End
 
 
 Style TOC_Author
-       CopyStyle             "Running LaTeX Title"
+       CopyStyle             Running_LaTeX_Title
        LatexName             tocauthor
        LeftMargin            "TOC Author:xxx"
-       LabelString           "TOC Author: "
+       LabelString           "TOC Author:"
 End
 
 
@@ -234,24 +226,22 @@ Style Institute
        BottomSep             0.7
        ParSep                0.7
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
-
-       Font 
+       Font
          Size                Small
        EndFont
 End
 
 
 Style Email
-       CopyStyle             "Running LaTeX Title"
-       LatexName             email   
+       CopyStyle             Running_LaTeX_Title
+       LatexName             email
        LeftMargin            "Email:xxx"
-       LabelString           "Email: "
+       LabelString           "Email:"
 End
 
 
-Style Abstract 
+Style Abstract
        Margin                First_Dynamic
        LatexType             Environment
        LatexName             abstract
@@ -265,12 +255,11 @@ Style Abstract
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Top_Environment
-       LabelString           Abstract. 
-
-       LabelFont 
+       LabelString           "Abstract."
+       LabelFont
          Series              Bold
        EndFont
-End 
+End
 
 
 Style Bibliography
@@ -287,16 +276,15 @@ Style Bibliography
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Bibliography
-       LabelString           References 
+       LabelString           "References"
        LabelBottomSep    0.7
-
-       LabelFont 
+       LabelFont
          Series              Bold
        EndFont
 End
 
-# Mathematics-like definitions:
 
+# Mathematics-like definitions:
 Style Case
        Margin                First_Dynamic
        LatexType             Environment
@@ -311,9 +299,8 @@ Style Case
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Static
-       LabelString           Case #. 
-
-       LabelFont 
+       LabelString           "Case #."
+       LabelFont
          Shape               Italic
        EndFont
 End
@@ -322,129 +309,121 @@ End
 Style Claim
        CopyStyle             Case
        LatexName             claim
-       LabelString           "Claim. " 
+       LabelString           "Claim."
 End
 
 
 Style Conjecture
        CopyStyle             Case
        LatexName             conjecture
-       LabelString           "Conjecture #. " 
+       LabelString           "Conjecture #."
 End
 
 
 Style Corollary
        CopyStyle             Case
        LatexName             corollary
-       LabelString           "Corollary #. " 
-
-       # font & label font definition
-       Font 
+       LabelString           "Corollary #."
+       Font
          Shape               Italic
        EndFont
-
-       LabelFont 
+       LabelFont
          Shape               Up
          Series              Bold
        EndFont
-
 End
 
 
 Style Definition
        CopyStyle             Corollary
        LatexName             definition
-       LabelString           "Definition #. "
+       LabelString           "Definition #."
 End
 
 
 Style Example
        CopyStyle             Case
        LatexName             example
-       LabelString           "Example #. "
+       LabelString           "Example #."
 End
 
 
 Style Exercise
        CopyStyle             Case
        LatexName             exercise
-       LabelString           "Exercise #. "
+       LabelString           "Exercise #."
 End
 
 
 Style Lemma
        CopyStyle             Corollary
        LatexName             lemma
-       LabelString           "Lemma #. "
+       LabelString           "Lemma #."
 End
 
-
 Style Note
        CopyStyle             Case
        LatexName             note
-       LabelString           "Note #. "
+       LabelString           "Note #."
 End
 
 
 Style Problem
        CopyStyle             Exercise
        LatexName             problem
-       LabelString           "Problem #. "
+       LabelString           "Problem #."
 End
 
 
 Style Proof
        CopyStyle             Claim
        LatexName             proof
-       LabelString           "Proof. "
+       LabelString           "Proof."
 End
 
 
 Style Property
        CopyStyle             Case
        LatexName             property
-       LabelString           "Property #. "
+       LabelString           "Property #."
 End
 
 
 Style Proposition
        CopyStyle             Corollary
        LatexName             proposition
-       LabelString           "Proposition #. "
+       LabelString           "Proposition #."
 End
 
-
 Style Question
        CopyStyle             Case
-       LatexName             question        
-       LabelString           "Question #. "
+       LatexName             question
+       LabelString           "Question #."
 End
 
 
 Style Remark
        CopyStyle             Case
        LatexName             remark
-       LabelString           "Remark #. "
+       LabelString           "Remark #."
 End
 
 
 Style Solution
        CopyStyle             Case
        LatexName             solution
-       LabelString           "Solution #. "
+       LabelString           "Solution #."
 End
 
 
 Style Theorem
        CopyStyle             Corollary
        LatexName             theorem
-       LabelString           "Theorem #. "
+       LabelString           "Theorem #."
 End
 
 
 Input stdfloats.inc
 Input stdcounters.inc
-
-
-#Finally a few older definitions for compatibility
-Input obsolete.inc
+Input stdinsets.inc
+Input theorems-refprefix.inc