X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Famsdefs.inc;h=9fc907e42e9b9dd02fb2c66c27167417ff1408f4;hb=9c97021623b6db5239715eb543d65a5e779084b6;hp=0f95811e8dcbe13185e41a516d14dca5fe95b7c7;hpb=fb0be050d192a963849cfb33d78b58345662c559;p=lyx.git diff --git a/lib/layouts/amsdefs.inc b/lib/layouts/amsdefs.inc index 0f95811e8d..9fc907e42e 100644 --- a/lib/layouts/amsdefs.inc +++ b/lib/layouts/amsdefs.inc @@ -1,18 +1,16 @@ # Author : David L. Johnson # Probably broken by Jean-Marc Lasgouttes # modified and modularized by Emmanuel GUREGHIAN +# Tinkered with Sep. '07 by Paul Rubin +# Modularized Jan '08 by Richard Heck # Including the maths stuff -Input amsmaths.inc - -# The AMS documentclasses use the package amsmath and provide the -# functionality of makeidx.sty. -ProvidesAmsmath 1 -ProvidesMakeidx 1 +Format 80 +# By default AMS articles & books use leqno option (as SIAM journals). +Provides leqno 1 # the environments copied from the old amsart.layout are: -# - Proof # - Bibliography # - Title # - Author @@ -24,39 +22,10 @@ ProvidesMakeidx 1 # - Subjectclass -Style Proof - Margin First_Dynamic - LatexType Environment - LatexName proof - NextNoIndent 1 - LabelSep xx - ParIndent MMM - ParSkip 0.4 - ItemSep 0.2 - TopSep 0.7 - BottomSep 0.7 - ParSep 0.3 - Align Block - AlignPossible Block, Left - LabelType Static - LabelString "Proof." - EndLabelType Box - Font - Shape Up - Size Normal - EndFont - LabelFont - Shape Italic - EndFont - # We don't want the preamble from Theorem - Preamble - EndPreamble -End - - ### Now the title stuff. We copy do not use stdstruct.inc to keep ### things in the right order Style Title + Category FrontMatter Margin Static LatexType Command InTitle 1 @@ -67,17 +36,23 @@ Style Title BottomSep 1 ParSep 1 Align Center - AlignPossible Center LabelType No_Label + Argument 1 + LabelString "Short Title|S" + Tooltip "Short title which appears in the running headers" + InsertCotext 1 + EndArgument Font Shape Smallcaps Series Bold Size Larger EndFont + HTMLTitle true End Style Author + Category FrontMatter Margin Static LatexType Command InTitle 1 @@ -88,7 +63,6 @@ Style Author BottomSep 0.7 ParSep 0.7 Align Center - AlignPossible Center LabelType No_Label Font Size Large @@ -98,6 +72,7 @@ End Style Date + Category FrontMatter Margin Dynamic LatexType Command InTitle 1 @@ -108,10 +83,9 @@ Style Date BottomSep 0.5 ParSep 1 Align Center - AlignPossible Center LabelType Static - LabelString "Date: " - Font + LabelString "Date:" + Font Size Large EndFont LabelFont @@ -121,7 +95,8 @@ Style Date End -Style Abstract +Style Abstract + Category FrontMatter Margin First_Dynamic LatexType Environment InTitle 1 @@ -133,20 +108,22 @@ Style Abstract TopSep 0.7 BottomSep 0.7 Align Block - AlignPossible Block LabelType Static - LabelString Abstract. + LabelString "Abstract." LabelSep M - Font + Font Size Small EndFont LabelFont Shape Smallcaps EndFont -End +End +# Clear Address definition from lyxmacros +NoStyle Address Style Address + Category FrontMatter Margin Dynamic LatexType Command InTitle 1 @@ -157,25 +134,26 @@ Style Address Align Left AlignPossible Block, Left, Right, Center LabelType Static - LabelString "Address: " + LabelString "Address:" + LabelSep M LabelFont Shape Italic EndFont -End +End Style Current_Address CopyStyle Address LatexName curraddr - LabelString "Current address: " -End + LabelString "Current address:" +End Style Email CopyStyle Address Margin First_Dynamic LatexName email - labelString "E-mail address: " + LabelString "E-mail address:" End @@ -183,50 +161,52 @@ Style URL CopyStyle Address Margin First_Dynamic LatexName urladdr - labelString "URL: " + LabelString "URL:" End Style Keywords CopyStyle Address LatexName keywords - LabelString "Key words and phrases: " -End + LabelString "Key words and phrases:" +End Style Thanks CopyStyle Address LatexName thanks - LabelString "Thanks: " -End + LabelString "Thanks:" +End Style Dedicatory CopyStyle Address LatexName dedicatory - LabelString "Dedication: " -End + LabelString "Dedication:" +End Style Translator CopyStyle Address LatexName translator - LabelString "Translator: " -End + LabelString "Translator:" +End Style Subjectclass CopyStyle Address - LatexName subjclass - LabelString "1991 Mathematics Subject Classification: " -End + LatexName subjclass[2000] + LabelString "2000 Mathematics Subject Classification:" +End Style Bibliography + Category BackMatter Margin First_Dynamic LatexType Bib_Environment LatexName thebibliography NextNoIndent 1 + ToggleIndent Never LeftMargin MM ParSkip 0.4 ItemSep 0 @@ -236,7 +216,7 @@ Style Bibliography Align Block AlignPossible Block, Left LabelType Bibliography - LabelString References + LabelString "References" LabelBottomSep 0.7 Font Size Small @@ -245,4 +225,16 @@ Style Bibliography Size Normal Shape Smallcaps EndFont + TocLevel 1 + IsTocCaption 0 + Argument listpreamble:1 + LabelString "Bib preamble" + MenuString "Bibliography Preamble" + Tooltip "LaTeX code to be inserted before the first bibliography item" + PassThru 1 + Font + Family typewriter + Color latex + EndFont + EndArgument End