X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Felsart.layout;h=af1a0d24741a631a7250745e21e0661f88492de3;hb=9e425a0547a2861dc41b130a32b62fc7ff7072c8;hp=f87284cf7a2ec4cdf31ad897f0024bdca0463998;hpb=4a7f4fb7bf5aaeec0769f8dd430fd793582b3b8f;p=lyx.git diff --git a/lib/layouts/elsart.layout b/lib/layouts/elsart.layout index f87284cf7a..af1a0d2474 100644 --- a/lib/layouts/elsart.layout +++ b/lib/layouts/elsart.layout @@ -1,5 +1,6 @@ #% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass[elsart,amssymb.sty]{article (elsevier)} +# \DeclareLaTeXClass[elsart,amssymb.sty,latexsym.sty]{Elsevier (Obsolete Version)} +# \DeclareCategory{Articles} # Author: Rod Pinna # The Elsevier doc style also duplicates the theorem # environments used by the AMS. The definitions here have been @@ -22,6 +23,7 @@ # numbered sections, as does the class file. +Format 45 Columns 1 Sides 2 PageStyle headings @@ -35,17 +37,16 @@ End TitleLatexType Environment TitleLatexName frontmatter -Counter - Name summ +Counter summ End -Counter - Name case +Counter case End Style Standard + Category MainText LatexName dummy LatexType Paragraph Margin Static @@ -79,8 +80,8 @@ Style Keywords End +Input stdinsets.inc Input stdsections.inc -Input numarticle.inc Input stdstarsections.inc Input stdlists.inc Input stdstruct.inc @@ -90,6 +91,7 @@ Input stdcounters.inc Style Title + Category FrontMatter Margin Static LatexType Command InTitle 1 @@ -106,10 +108,12 @@ Style Title Series Bold Size Largest EndFont + HTMLTitle true End Style Author + Category FrontMatter Margin Static LatexType Command InTitle 1 @@ -121,8 +125,10 @@ Style Author ItemSep 0 ParSep 0 Align Center - AlignPossible Center - OptionalArgs 1 + Argument 1 + LabelString "Author Option" + Tooltip "Optional argument for the author" + EndArgument Font Series Bold EndFont @@ -130,16 +136,18 @@ End Style Author_Address - Margin Static + Margin Dynamic LatexType Command InTitle 1 LatexName address Align Center - AlignPossible Center Labeltype Static LabelSep M LabelString "Address:" - OptionalArgs 1 + Argument 1 + LabelString "Address Option" + Tooltip "Optional argument for the address" + EndArgument LabelFont Shape Italic EndFont @@ -147,13 +155,13 @@ End Style Author_Email - Margin Static + Margin Dynamic LatexType Command InTitle 1 PassThru 1 + ParbreakIsNewline 1 LatexName ead Align Center - AlignPossible Center Labeltype Static LabelSep M LabelString "Email:" @@ -168,14 +176,14 @@ End Style Author_URL - Margin Static + Margin Dynamic LatexType Command InTitle 1 PassThru 1 + ParbreakIsNewline 1 LatexName ead LatexParam "[url]" Align Center - AlignPossible Center Labeltype Static LabelSep M LabelString "URL:" @@ -195,6 +203,10 @@ Style Thanks LatexType Command LatexName thanks InTitle 1 + Argument 1 + LabelString "Thanks Option" + Tooltip "Optional argument for the thanks statement" + EndArgument Font Size Small Family Typewriter @@ -217,8 +229,7 @@ Style Abstract BottomSep 0.7 ParSep 0 Align Block - AlignPossible Block - LabelType Centered_Top_Environment + LabelType Centered LabelString "Abstract" LabelBottomSep 0.5 Font @@ -231,9 +242,9 @@ Style Abstract End -# Theorem environments have been copied over from the amsmaths.inc file. It -# could not be input as it does some stuff which is incompatible with the -# Elsevier stlye: it redefines the theorem* environments in the preamble. +# Reasoning environments have been copied over from the theorem modules. They +# could not be input as they do some stuff which is incompatible with the +# Elsevier stlye: redefine the theorem* environments in the preamble. # The environments defined are : # - Theorem @@ -254,12 +265,12 @@ End # - Acknowledgement # - Case -Counter - Name theorem +Counter theorem End Style Theorem + Category Reasoning Margin First_Dynamic LatexType Environment LatexName thm @@ -273,7 +284,7 @@ Style Theorem ParSep 0.3 Align Block AlignPossible Block, Left - LabelType Counter + LabelType Static LabelCounter theorem LabelString "Theorem \arabic{theorem}" Font @@ -289,6 +300,7 @@ End # Proof style declaration - from email by Stacy Prowell (sprowell@cs.utk.edu) Style Proof + Category Reasoning Margin First_Dynamic LatexType Environment # elsart defines the unusual environment pf for proofs. @@ -428,12 +440,14 @@ Style Acknowledgement Margin Static LatexType environment LatexName ack - Labeltype Top_Environment + LabelType Above LabelBottomsep 1 - LabelString "Acknowledgement \arabic{theorem}" + LabelString "Acknowledgements" parsep 0.3 LabelFont Size large Series Bold EndFont End + +Input theorems-refprefix.inc