X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Felsart.layout;h=0dc7270a175835f22b7d5c0f512470ea037f30f1;hb=55a3dd7b346d29a52ba305a4558e9e380ef50f47;hp=b2dbff4e6f9da57544adeeb3b46054e42e079922;hpb=18299149f5c0bd7890f0d450c177653505350ada;p=lyx.git diff --git a/lib/layouts/elsart.layout b/lib/layouts/elsart.layout index b2dbff4e6f..0dc7270a17 100644 --- a/lib/layouts/elsart.layout +++ b/lib/layouts/elsart.layout @@ -1,5 +1,5 @@ #% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass[elsart,amssymb.sty]{article (Elsevier)} +# \DeclareLaTeXClass[elsart,amssymb.sty,latexsym.sty]{article (obsolete Elsevier version)} # Author: Rod Pinna # The Elsevier doc style also duplicates the theorem # environments used by the AMS. The definitions here have been @@ -22,7 +22,7 @@ # numbered sections, as does the class file. -Format 5 +Format 36 Columns 1 Sides 2 PageStyle headings @@ -36,13 +36,11 @@ End TitleLatexType Environment TitleLatexName frontmatter -Counter - Name summ +Counter summ End -Counter - Name case +Counter case End @@ -107,6 +105,7 @@ Style Title Series Bold Size Largest EndFont + HTMLTitle true End @@ -122,7 +121,6 @@ Style Author ItemSep 0 ParSep 0 Align Center - AlignPossible Center OptionalArgs 1 Font Series Bold @@ -131,12 +129,11 @@ End Style Author_Address - Margin Static + Margin Dynamic LatexType Command InTitle 1 LatexName address Align Center - AlignPossible Center Labeltype Static LabelSep M LabelString "Address:" @@ -148,13 +145,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:" @@ -169,14 +166,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:" @@ -196,6 +193,7 @@ Style Thanks LatexType Command LatexName thanks InTitle 1 + OptionalArgs 1 Font Size Small Family Typewriter @@ -218,7 +216,6 @@ Style Abstract BottomSep 0.7 ParSep 0 Align Block - AlignPossible Block LabelType Centered_Top_Environment LabelString "Abstract" LabelBottomSep 0.5 @@ -232,9 +229,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. +# Theorem 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 @@ -255,8 +252,7 @@ End # - Acknowledgement # - Case -Counter - Name theorem +Counter theorem End @@ -438,3 +434,5 @@ Style Acknowledgement Series Bold EndFont End + +Input theorems-refprefix.inc