X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fllncs.layout;h=a612935ec836b70c82ab94267d21586fdd1f386b;hb=9c8955ffd9df1a38a617bcbdf011c7b890ea23d1;hp=f1f34ed1bdea822229a4b12e3c04356ff4d46afb;hpb=12d02d04b2b26bdd49ca8dfcc0c53529c8a20f9d;p=lyx.git diff --git a/lib/layouts/llncs.layout b/lib/layouts/llncs.layout index f1f34ed1bd..a612935ec8 100644 --- a/lib/layouts/llncs.layout +++ b/lib/layouts/llncs.layout @@ -1,26 +1,28 @@ #% 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 -# Transposed by Pascal André +# Transposed by Pascal André # 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 + + +Format 45 Columns 1 Sides 1 PageStyle Plain -MaxCounter Counter_Section -# Standard style definition + Style Standard + Category MainText Margin Static LatexType Paragraph LatexName dummy @@ -31,80 +33,80 @@ Style Standard LabelType No_Label End -# The standard sections + +Input stdinsets.inc Input stdsections.inc -# Chapter style definition + Style Chapter 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 + TocLevel 1 End -# Subsection style definition + Style Subsection - LabelType Counter_Subsection - LabelFont + Font Series Bold Size Normal EndFont + TocLevel 2 End -# Subsubsection style definition + Style Subsubsection - # standard font definition - LabelFont + Font Series Bold Size Normal EndFont + TocLevel 3 End -# Paragraph style definition + Style Paragraph -# standard font definition - Font + 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 + 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 Input stdlayouts.inc Input stdlists.inc -# Title style definition + Style Title + Category FrontMatter Margin Static LatexType Command InTitle 1 @@ -114,22 +116,18 @@ 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 - - # standard font definition - Font + Font Family Sans Series Bold Size Largest EndFont - + HTMLTitle true End -# Title style definition + Style Subtitle Margin Static LatexType Command @@ -142,19 +140,15 @@ Style Subtitle BottomSep 0 ParSep 0 Align Left - AlignPossible Left LabelType No_Label - - # standard font definition - Font + Font Family Sans Series Bold Size Large EndFont - End -# Title_Running style definition + Style Running_LaTeX_Title Margin Static InTitle 1 @@ -168,29 +162,26 @@ Style Running_LaTeX_Title BottomSep 0.7 ParSep 0.7 Align Left - AlignPossible Left LabelType Static - LabelString "Running title: " - - # standard font definition - LabelFont + LabelString "Running Title:" + LabelFont Series Bold Shape Italic Color Red EndFont - End -# TOC_Title style definition + Style TOC_Title - CopyStyle "Running LaTeX Title" + CopyStyle Running_LaTeX_Title LatexName toctitle - LeftMargin "TOC title:xxx" - LabelString "TOC title: " + LeftMargin "TOC Title:xxx" + LabelString "TOC Title:" End -# Author style definition + Style Author + Category FrontMatter Margin Static LatexType Command InTitle 1 @@ -202,35 +193,32 @@ Style Author ItemSep 0 ParSep 0 Align Left - AlignPossible Left LabelType No_Label - - # standard font definition - Font + Font Series Bold Shape Italic EndFont - End -# AuthorRunning style definition + Style Author_Running - CopyStyle "Running LaTeX Title" + CopyStyle Running_LaTeX_Title LatexName authorrunning LeftMargin "Author Running:xxx" - LabelString "Author Running: " + LabelString "Author Running:" End -# TOC_Author style definition + Style TOC_Author - CopyStyle "Running LaTeX Title" + CopyStyle Running_LaTeX_Title LatexName tocauthor LeftMargin "TOC Author:xxx" - LabelString "TOC Author: " + LabelString "TOC Author:" End -# Institute style definition + Style Institute + Category FrontMatter Margin Static LatexType Command InTitle 1 @@ -241,28 +229,23 @@ Style Institute BottomSep 0.7 ParSep 0.7 Align Left - AlignPossible Left LabelType No_Label - - # Std. font definition - Font + Font Size Small EndFont - End -# -# -# Correspondence address style definition + Style Email - CopyStyle "Running LaTeX Title" - LatexName email + CopyStyle Running_LaTeX_Title + LatexName email LeftMargin "Email:xxx" - LabelString "Email: " + LabelString "Email:" End -# Abstract style definition -Style Abstract + +Style Abstract + Category FrontMatter Margin First_Dynamic LatexType Environment LatexName abstract @@ -275,19 +258,16 @@ Style Abstract ParSep 0 Align Block AlignPossible Block, Left - LabelType Top_Environment - LabelString Abstract. - - # label font definition - LabelFont + LabelType Above + LabelString "Abstract." + LabelFont Series Bold EndFont -End +End -# -# Bibliography style definition Style Bibliography + Category BackMatter Margin First_Dynamic LatexType Bib_Environment LatexName thebibliography @@ -301,19 +281,17 @@ Style Bibliography Align Block AlignPossible Block, Left LabelType Bibliography - LabelString References + LabelString "References" LabelBottomSep 0.7 - - # label font definition - LabelFont + LabelFont Series Bold EndFont - End -# Mathematics-like definitions: +# Mathematics-like definitions: Style Case + Category Reasoning Margin First_Dynamic LatexType Environment LatexName case @@ -327,125 +305,131 @@ Style Case Align Block AlignPossible Block, Left LabelType Static - LabelString Case #. - - # font & label font definition - - LabelFont + LabelString "Case #." + LabelFont Shape Italic EndFont - 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