]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/llncs.layout
Move the CSS for the TOC to its own InsetLayout.
[lyx.git] / lib / layouts / llncs.layout
index a762b0cd1d0370d699c82db69bb1efaeefc42d04..a612935ec836b70c82ab94267d21586fdd1f386b 100644 (file)
@@ -1,11 +1,12 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass{Springer - Lecture Notes in Comp. Sci.}
+#  \DeclareLaTeXClass[llncs,aliascnt.sty,multicol.sty]{Lecture Notes in Comp. Science (LNCS)}
+#  \DeclareCategory{Articles}
 # 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.
 
 
+Format 45
 Columns                 1
 Sides                   1
 PageStyle               Plain
 
 
 Style Standard
+       Category              MainText
        Margin                Static
        LatexType             Paragraph
        LatexName             dummy
@@ -31,42 +34,41 @@ Style Standard
 End
 
 
+Input stdinsets.inc
 Input stdsections.inc
-Input numarticle.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
 
 
@@ -76,6 +78,7 @@ Style Paragraph
          Shape               Italic
          Size                Normal
        EndFont
+       TocLevel 4
 End
 
 
@@ -85,6 +88,7 @@ Style Subparagraph
          Shape               Up
          Size                Normal
        EndFont
+       TocLevel 5
 End
 
 
@@ -102,6 +106,7 @@ Input stdlists.inc
 
 
 Style Title
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        InTitle               1
@@ -114,13 +119,12 @@ Style Title
        Align                 Center
        AlignPossible         Block, Center, Left, Right
        LabelType             No_Label
-       Fill_Top              1
-       Fill_Bottom           1
        Font
          Family              Sans
          Series              Bold
          Size                Largest
        EndFont
+       HTMLTitle             true
 End
 
 
@@ -136,7 +140,6 @@ Style Subtitle
        BottomSep             0
        ParSep                0
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
        Font
          Family              Sans
@@ -159,9 +162,8 @@ Style Running_LaTeX_Title
        BottomSep             0.7
        ParSep                0.7
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           "Running title: "
+       LabelString           "Running Title:"
        LabelFont
          Series              Bold
          Shape               Italic
@@ -173,12 +175,13 @@ End
 Style TOC_Title
        CopyStyle             Running_LaTeX_Title
        LatexName             toctitle
-       LeftMargin            "TOC title:xxx"
-       LabelString           "TOC title: "
+       LeftMargin            "TOC Title:xxx"
+       LabelString           "TOC Title:"
 End
 
 
 Style Author
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        InTitle               1
@@ -190,7 +193,6 @@ Style Author
        ItemSep               0
        ParSep                0
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
        Font
          Series              Bold
@@ -203,7 +205,7 @@ Style Author_Running
        CopyStyle             Running_LaTeX_Title
        LatexName             authorrunning
        LeftMargin            "Author Running:xxx"
-       LabelString           "Author Running: "
+       LabelString           "Author Running:"
 End
 
 
@@ -211,11 +213,12 @@ Style TOC_Author
        CopyStyle             Running_LaTeX_Title
        LatexName             tocauthor
        LeftMargin            "TOC Author:xxx"
-       LabelString           "TOC Author: "
+       LabelString           "TOC Author:"
 End
 
 
 Style Institute
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        InTitle               1
@@ -226,7 +229,6 @@ Style Institute
        BottomSep             0.7
        ParSep                0.7
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
        Font
          Size                Small
@@ -238,11 +240,12 @@ Style Email
        CopyStyle             Running_LaTeX_Title
        LatexName             email
        LeftMargin            "Email:xxx"
-       LabelString           "Email: "
+       LabelString           "Email:"
 End
 
 
 Style Abstract
+       Category              FrontMatter
        Margin                First_Dynamic
        LatexType             Environment
        LatexName             abstract
@@ -255,8 +258,8 @@ Style Abstract
        ParSep                0
        Align                 Block
        AlignPossible         Block, Left
-       LabelType             Top_Environment
-       LabelString           Abstract.
+       LabelType             Above
+       LabelString           "Abstract."
        LabelFont
          Series              Bold
        EndFont
@@ -264,6 +267,7 @@ End
 
 
 Style Bibliography
+       Category              BackMatter
        Margin                First_Dynamic
        LatexType             Bib_Environment
        LatexName             thebibliography
@@ -277,7 +281,7 @@ Style Bibliography
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Bibliography
-       LabelString           References
+       LabelString           "References"
        LabelBottomSep    0.7
        LabelFont
          Series              Bold
@@ -287,6 +291,7 @@ End
 
 # Mathematics-like definitions:
 Style Case
+       Category              Reasoning
        Margin                First_Dynamic
        LatexType             Environment
        LatexName             case
@@ -300,7 +305,7 @@ Style Case
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Static
-       LabelString           Case #.
+       LabelString           "Case #."
        LabelFont
          Shape               Italic
        EndFont
@@ -310,21 +315,21 @@ 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 #. "
+       LabelString           "Corollary #."
        Font
          Shape               Italic
        EndFont
@@ -338,91 +343,93 @@ 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 #. "
+       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
+Input stdinsets.inc
+Input theorems-refprefix.inc