X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Felsart.layout;h=af1a0d24741a631a7250745e21e0661f88492de3;hb=9e425a0547a2861dc41b130a32b62fc7ff7072c8;hp=417884ea8de24fc36ba1d437e48bfa689102ee37;hpb=e69c9c8363536ec040fe958dfc464c3a75ed6415;p=lyx.git diff --git a/lib/layouts/elsart.layout b/lib/layouts/elsart.layout index 417884ea8d..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,15 +136,18 @@ End Style Author_Address - Margin Static + Margin Dynamic LatexType Command InTitle 1 LatexName address Align Center - AlignPossible Center Labeltype Static - LabelString "Address: " - OptionalArgs 1 + LabelSep M + LabelString "Address:" + Argument 1 + LabelString "Address Option" + Tooltip "Optional argument for the address" + EndArgument LabelFont Shape Italic EndFont @@ -146,15 +155,16 @@ End Style Author_Email - Margin Static + Margin Dynamic LatexType Command InTitle 1 PassThru 1 + ParbreakIsNewline 1 LatexName ead Align Center - AlignPossible Center Labeltype Static - LabelString "Email: " + LabelSep M + LabelString "Email:" TextFont Family Typewriter EndFont @@ -166,16 +176,17 @@ 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 - LabelString "URL: " + LabelSep M + LabelString "URL:" TextFont Family Typewriter EndFont @@ -192,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 @@ -214,9 +229,8 @@ Style Abstract BottomSep 0.7 ParSep 0 Align Block - AlignPossible Block - LabelType Centered_Top_Environment - LabelString Abstract + LabelType Centered + LabelString "Abstract" LabelBottomSep 0.5 Font Size Small @@ -228,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 @@ -251,12 +265,12 @@ End # - Acknowledgement # - Case -Counter - Name theorem +Counter theorem End Style Theorem + Category Reasoning Margin First_Dynamic LatexType Environment LatexName thm @@ -270,7 +284,7 @@ Style Theorem ParSep 0.3 Align Block AlignPossible Block, Left - LabelType Counter + LabelType Static LabelCounter theorem LabelString "Theorem \arabic{theorem}" Font @@ -286,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. @@ -425,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