]> 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 cc3255f33828aec329f7cf2d4ae4fadcb775b29f..a612935ec836b70c82ab94267d21586fdd1f386b 100644 (file)
 #% 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]{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.
 #
 # --------
 # Based on ejour2.layout.
 # ejour2 made originally by Martin Vermeer based on article.layout.
 # Modified for LyX 12 by Jean-Marc Lasgouttes and MV.
-#
-# General textclass parameters
-Columns                        1
-Sides                  1
-PageStyle              Plain
-MaxCounter             Counter_Section
 
-# Standard style definition
+
+Format 45
+Columns                 1
+Sides                   1
+PageStyle               Plain
+
+
 Style Standard
-  Margin               Static
-  LatexType            Paragraph
-  LatexName            dummy
-  ParIndent            MM
-  ParSkip              0.4
-  Align                Block
-  AlignPossible        Block, Left, Right, Center
-  LabelType            No_Label
+       Category              MainText
+       Margin                Static
+       LatexType             Paragraph
+       LatexName             dummy
+       ParIndent             MM
+       ParSkip               0.4
+       Align                 Block
+       AlignPossible         Block, Left, Right, Center
+       LabelType             No_Label
 End
 
-# The standard sections
+
+Input stdinsets.inc
 Input stdsections.inc
 
-# Chapter style definition
+
 Style Chapter
-  Align                Center
-  AlignPossible        Block,Left,Center
+       Align         Center
+       AlignPossible Block,Left,Center
+       TocLevel 0
 End
 
-# Section style definition
+
 Style Section
-  # standard font definition
-  LabelFont
-    Series             Bold
-    Size               Large
-  EndFont
-  Font
-    Series             Bold
-    Size               Large
-  EndFont
-End
-
-# Subsection style definition
+       Font
+         Series              Bold
+         Size                Large
+       EndFont
+       TocLevel 1
+End
+
+
 Style Subsection
-  LabelType            Counter_Subsection
-  LabelFont
-    Series             Bold
-    Size               Normal
-  EndFont
+       Font
+         Series              Bold
+         Size                Normal
+       EndFont
+       TocLevel 2
 End
 
-# Subsubsection style definition
+
 Style Subsubsection
-  # standard font definition
-  LabelFont 
-    Series             Bold
-    Size               Normal
-  EndFont
+       Font
+         Series              Bold
+         Size                Normal
+       EndFont
+       TocLevel 3
 End
 
-# Paragraph style definition
+
 Style Paragraph
-# standard font definition
-  Font 
-    Series             Medium
-    Shape              Italic
-    Size               Normal
-  EndFont
+       Font
+         Series              Medium
+         Shape               Italic
+         Size                Normal
+       EndFont
+       TocLevel 4
 End
 
-# Subparagraph style definition
+
 Style Subparagraph
-  # standard font definition
-  Font
-    Series             Medium
-    Shape              Up
-    Size               Normal
-  EndFont
+       Font
+         Series              Medium
+         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 Part
+NoStyle Part*
+NoStyle Chapter
+
 
 # Some standard things
 Input stdlayouts.inc
 Input stdlists.inc
 
-# Title style definition
+
 Style Title
-  Margin               Static
-  LatexType            Command
-  InTitle              1
-  LatexName            title
-  NextNoIndent         1
-  ParSkip              0.4
-  TopSep               1.3
-  BottomSep            0.7
-  ParSep               0.7
-  Align                        Center          
-  AlignPossible                Block, Center, Left, Right
-  LabelType            No_Label
-  Fill_Top             1
-  Fill_Bottom          1
-
-  # standard font definition
-  Font 
-    Family             Sans
-    Series             Bold
-    Size               Largest
-  EndFont
-
-End
-
-# Title style definition
+       Category              FrontMatter
+       Margin                Static
+       LatexType             Command
+       InTitle               1
+       LatexName             title
+       NextNoIndent          1
+       ParSkip               0.4
+       TopSep                1.3
+       BottomSep             0.7
+       ParSep                0.7
+       Align                 Center
+       AlignPossible         Block, Center, Left, Right
+       LabelType             No_Label
+       Font
+         Family              Sans
+         Series              Bold
+         Size                Largest
+       EndFont
+       HTMLTitle             true
+End
+
+
 Style Subtitle
-  Margin               Static
-  LatexType            Command
-  InTitle              1
-  LatexName            subtitle
-  NextNoIndent         1
-  ParSkip              0.4
-  ItemSep              0
-  TopSep               0
-  BottomSep            0
-  ParSep               0
-  Align                        Left
-  AlignPossible                Left
-  LabelType            No_Label
-
-  # standard font definition
-  Font 
-    Family             Sans
-    Series             Bold
-    Size               Large
-  EndFont
-
-End
-
-# Title_Running style definition
+       Margin                Static
+       LatexType             Command
+       InTitle               1
+       LatexName             subtitle
+       NextNoIndent          1
+       ParSkip               0.4
+       ItemSep               0
+       TopSep                0
+       BottomSep             0
+       ParSep                0
+       Align                 Left
+       LabelType             No_Label
+       Font
+         Family              Sans
+         Series              Bold
+         Size                Large
+       EndFont
+End
+
+
 Style Running_LaTeX_Title
-  Margin               Static
-  InTitle              1
-  LatexType            Command
-  LatexName            titlerunning
-  NextNoIndent         1
-  LeftMargin           "Running title:xxx"
-  LabelSep             xxx
-  ParSkip              0.4
-  TopSep               1.3
-  BottomSep            0.7
-  ParSep               0.7
-  Align                        Left
-  AlignPossible                Left
-  LabelType            Static
-  LabelString          "Running title: "
-
-  # standard font definition
-  LabelFont 
-    Series             Bold
-    Shape              Italic
-    Color              Red
-  EndFont
-
-End
-
-# TOC_Title style definition
+       Margin                Static
+       InTitle               1
+       LatexType             Command
+       LatexName             titlerunning
+       NextNoIndent          1
+       LeftMargin            "Running title:xxx"
+       LabelSep              xxx
+       ParSkip               0.4
+       TopSep                1.3
+       BottomSep             0.7
+       ParSep                0.7
+       Align                 Left
+       LabelType             Static
+       LabelString           "Running Title:"
+       LabelFont
+         Series              Bold
+         Shape               Italic
+         Color               Red
+       EndFont
+End
+
+
 Style TOC_Title
-  CopyStyle            "Running LaTeX Title"
-  LatexName            toctitle
-  LeftMargin           "TOC title:xxx"
-  LabelString          "TOC title: "
+       CopyStyle             Running_LaTeX_Title
+       LatexName             toctitle
+       LeftMargin            "TOC Title:xxx"
+       LabelString           "TOC Title:"
 End
 
-# Author style definition
+
 Style Author
-  Margin               Static
-  LatexType            Command
-  InTitle              1
-  LatexName            author
-  NextNoIndent         1
-  ParSkip              0.4
-  TopSep               0.7
-  BottomSep            0.7
-  ItemSep              0
-  ParSep               0
-  Align                        Left
-  AlignPossible                Left
-  LabelType            No_Label
-
-  # standard font definition
-  Font 
-    Series             Bold
-    Shape              Italic
-  EndFont
-
-End
-
-# AuthorRunning style definition
+       Category              FrontMatter
+       Margin                Static
+       LatexType             Command
+       InTitle               1
+       LatexName             author
+       NextNoIndent          1
+       ParSkip               0.4
+       TopSep                0.7
+       BottomSep             0.7
+       ItemSep               0
+       ParSep                0
+       Align                 Left
+       LabelType             No_Label
+       Font
+         Series              Bold
+         Shape               Italic
+       EndFont
+End
+
+
 Style Author_Running
-  CopyStyle            "Running LaTeX Title"
-  LatexName            authorrunning
-  LeftMargin           "Author Running:xxx"
-  LabelString          "Author Running: "
+       CopyStyle             Running_LaTeX_Title
+       LatexName             authorrunning
+       LeftMargin            "Author Running:xxx"
+       LabelString           "Author Running:"
 End
 
-# TOC_Author style definition
+
 Style TOC_Author
-  CopyStyle            "Running LaTeX Title"
-  LatexName            tocauthor
-  LeftMargin           "TOC Author :xxx"
-  LabelString          "TOC Author: "
+       CopyStyle             Running_LaTeX_Title
+       LatexName             tocauthor
+       LeftMargin            "TOC Author:xxx"
+       LabelString           "TOC Author:"
 End
 
-# Institute style definition
-Style Institute
-  Margin               Static
-  LatexType            Command
-  InTitle              1
-  LatexName            institute
-  NextNoIndent         1
-  ParSkip              0.4
-  TopSep               1.3
-  BottomSep            0.7
-  ParSep               0.7
-  Align                        Left
-  AlignPossible                Left
-  LabelType            No_Label
-
-  # Std. font definition
-  Font 
-    Size               Small
-  EndFont
 
+Style Institute
+       Category              FrontMatter
+       Margin                Static
+       LatexType             Command
+       InTitle               1
+       LatexName             institute
+       NextNoIndent          1
+       ParSkip               0.4
+       TopSep                1.3
+       BottomSep             0.7
+       ParSep                0.7
+       Align                 Left
+       LabelType             No_Label
+       Font
+         Size                Small
+       EndFont
+End
+
+
+Style Email
+       CopyStyle             Running_LaTeX_Title
+       LatexName             email
+       LeftMargin            "Email:xxx"
+       LabelString           "Email:"
+End
+
+
+Style Abstract
+       Category              FrontMatter
+       Margin                First_Dynamic
+       LatexType             Environment
+       LatexName             abstract
+       NextNoIndent          0
+       ParIndent             MM
+       LabelSep              xx
+       ItemSep               0
+       TopSep                0.7
+       BottomSep             0.7
+       ParSep                0
+       Align                 Block
+       AlignPossible         Block, Left
+       LabelType             Above
+       LabelString           "Abstract."
+       LabelFont
+         Series              Bold
+       EndFont
 End
 
-#
-#
-# Correspondence address style definition
-Style Mail
-  CopyStyle            "Running LaTeX Title"
-  LatexName            mail    
-  LeftMargin           "Corr Author:xx."
-  LabelString          "Corr Author: "
-End
-
-# Abstract style definition
-Style Abstract 
-  Margin               First_Dynamic
-  LatexType            Environment
-  LatexName            abstract
-  NextNoIndent         0
-  ParIndent            MM
-  LabelSep             xx
-  ItemSep              0
-  TopSep               0.7
-  BottomSep            0.7
-  ParSep               0
-  Align                        Block
-  AlignPossible                Block, Left
-  LabelType            Top_Environment
-  LabelString          Abstract. 
-
-  # label font definition
-  LabelFont 
-    Series             Bold
-  EndFont
-End 
-
 
-#
-# Bibliography style definition
 Style Bibliography
-  Margin               First_Dynamic
-  LatexType            Bib_Environment
-  LatexName            thebibliography
-  NextNoIndent         1
-  LeftMargin           MM
-  ParSkip              0.4
-  ItemSep              0
-  TopSep               0.7
-  BottomSep            0.7
-  ParSep               0.5
-  Align                        Block
-  AlignPossible                Block, Left
-  LabelType            Bibliography
-  LabelString          References 
-  LabelBottomSep    0.7
-
-  # label font definition
-  LabelFont 
-    Series             Bold
-  EndFont
-
+       Category              BackMatter
+       Margin                First_Dynamic
+       LatexType             Bib_Environment
+       LatexName             thebibliography
+       NextNoIndent          1
+       LeftMargin            MM
+       ParSkip               0.4
+       ItemSep               0
+       TopSep                0.7
+       BottomSep             0.7
+       ParSep                0.5
+       Align                 Block
+       AlignPossible         Block, Left
+       LabelType             Bibliography
+       LabelString           "References"
+       LabelBottomSep    0.7
+       LabelFont
+         Series              Bold
+       EndFont
 End
 
-# Mathematics-like definitions:
 
+# Mathematics-like definitions:
 Style Case
-  Margin               First_Dynamic
-  LatexType            Environment
-  LatexName            case
-  NextNoIndent         0
-  ParIndent            MM
-  LabelSep             xx
-  ItemSep              0
-  TopSep               0.5
-  BottomSep            0.5
-  ParSep               0
-  Align                        Block
-  AlignPossible                Block, Left
-  LabelType            Static
-  LabelString          Case #. 
-
-  # font & label font definition
-
-  LabelFont 
-    Shape              Italic
-  EndFont
-
+       Category              Reasoning
+       Margin                First_Dynamic
+       LatexType             Environment
+       LatexName             case
+       NextNoIndent          0
+       ParIndent             MM
+       LabelSep              xx
+       ItemSep               0
+       TopSep                0.5
+       BottomSep             0.5
+       ParSep                0
+       Align                 Block
+       AlignPossible         Block, Left
+       LabelType             Static
+       LabelString           "Case #."
+       LabelFont
+         Shape               Italic
+       EndFont
 End
 
+
 Style Claim
-  CopyStyle            Case
-  LatexName            claim
-  LabelString          "Claim. " 
+       CopyStyle             Case
+       LatexName             claim
+       LabelString           "Claim."
 End
 
+
 Style Conjecture
-  CopyStyle            Case
-  LatexName            conjecture
-  LabelString          "Conjecture #. " 
+       CopyStyle             Case
+       LatexName             conjecture
+       LabelString           "Conjecture #."
 End
 
-Style Corollary
-  CopyStyle            Case
-  LatexName            corollary
-  LabelString          "Corollary #. " 
-
-  # font & label font definition
-  Font 
-    Shape              Italic
-  EndFont
-
-  LabelFont 
-    Shape              Up
-    Series             Bold
-  EndFont
 
+Style Corollary
+       CopyStyle             Case
+       LatexName             corollary
+       LabelString           "Corollary #."
+       Font
+         Shape               Italic
+       EndFont
+       LabelFont
+         Shape               Up
+         Series              Bold
+       EndFont
 End
 
+
 Style Definition
-  CopyStyle            Corollary
-  LatexName            definition
-  LabelString          "Definition #. "
+       CopyStyle             Corollary
+       LatexName             definition
+       LabelString           "Definition #."
 End
 
+
 Style Example
-  CopyStyle            Case
-  LatexName            example
-  LabelString          "Example #. "
+       CopyStyle             Case
+       LatexName             example
+       LabelString           "Example #."
 End
 
+
 Style Exercise
-  CopyStyle            Case
-  LatexName            exercise
-  LabelString          "Exercise #. "
+       CopyStyle             Case
+       LatexName             exercise
+       LabelString           "Exercise #."
 End
 
+
 Style Lemma
-  CopyStyle            Corollary
-  LatexName            lemma
-  LabelString          "Lemma #. "
+       CopyStyle             Corollary
+       LatexName             lemma
+       LabelString           "Lemma #."
 End
 
 Style Note
-  CopyStyle            Case
-  LatexName            note
-  LabelString          "Note #. "
+       CopyStyle             Case
+       LatexName             note
+       LabelString           "Note #."
 End
 
+
 Style Problem
-  CopyStyle            Exercise
-  LatexName            problem
-  LabelString          "Problem #. "
+       CopyStyle             Exercise
+       LatexName             problem
+       LabelString           "Problem #."
 End
 
+
 Style Proof
-  CopyStyle            Claim
-  LatexName            proof
-  LabelString          "Proof. "
+       CopyStyle             Claim
+       LatexName             proof
+       LabelString           "Proof."
 End
 
+
 Style Property
-  CopyStyle            Case
-  LatexName            property
-  LabelString          "Property #. "
+       CopyStyle             Case
+       LatexName             property
+       LabelString           "Property #."
 End
 
+
 Style Proposition
-  CopyStyle            Corollary
-  LatexName            proposition
-  LabelString          "Proposition #. "
+       CopyStyle             Corollary
+       LatexName             proposition
+       LabelString           "Proposition #."
 End
 
 Style Question
-  CopyStyle            Case
-  LatexName            question        
-  LabelString          "Question #. "
+       CopyStyle             Case
+       LatexName             question
+       LabelString           "Question #."
 End
 
+
 Style Remark
-  CopyStyle            Case
-  LatexName            remark
-  LabelString          "Remark #. "
+       CopyStyle             Case
+       LatexName             remark
+       LabelString           "Remark #."
 End
 
+
 Style Solution
-  CopyStyle            Case
-  LatexName            solution
-  LabelString          "Solution #. "
+       CopyStyle             Case
+       LatexName             solution
+       LabelString           "Solution #."
 End
 
+
 Style Theorem
-  CopyStyle            Corollary
-  LatexName            theorem
-  LabelString          "Theorem #. "
+       CopyStyle             Corollary
+       LatexName             theorem
+       LabelString           "Theorem #."
 End
 
-Input stdcounters.inc
 
-#Finally a few older definitions for compatibility
-Input obsolete.inc
+Input stdfloats.inc
+Input stdcounters.inc
+Input stdinsets.inc
+Input theorems-refprefix.inc