X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Famsdefs.inc;h=6afe03ee99b9477c5f55f78d9b045bd2967cca53;hb=0d30333ec6cc3947c37f19a49c5b5fa8f3812876;hp=4a3ec9fa2c1fae9d52e6040b2fcdde15068c1ea0;hpb=27de1486ca34aaad446adb798d71a77d6f6304da;p=lyx.git diff --git a/lib/layouts/amsdefs.inc b/lib/layouts/amsdefs.inc index 4a3ec9fa2c..6afe03ee99 100644 --- a/lib/layouts/amsdefs.inc +++ b/lib/layouts/amsdefs.inc @@ -1,18 +1,13 @@ # 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 +Format 59 -# The AMS documentclasses use the package amsmath and provide the -# functionality of makeidx.sty. -ProvidesAmsmath 1 -ProvidesMakeidx 1 - - -# the environnements copied from the old amsart.layout are : -# - Proof, +# the environments copied from the old amsart.layout are: # - Bibliography # - Title # - Author @@ -23,343 +18,208 @@ ProvidesMakeidx 1 # - Keywords # - Subjectclass -# Proof style declaration -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." - - # standard font definition - Font - Shape Up - Size Normal - EndFont - - # label font definition - 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 - -# Title style definition Style Title - Margin Static - LatexType Command - InTitle 1 - LatexName title - ParSkip 0.4 - ItemSep 0 - TopSep 0 - BottomSep 1 - ParSep 1 - Align Center - AlignPossible Center - LabelType No_Label - - # standard font definition - Font - Shape Smallcaps - Series Bold - Size Larger - EndFont + Category FrontMatter + Margin Static + LatexType Command + InTitle 1 + LatexName title + ParSkip 0.4 + ItemSep 0 + TopSep 0 + BottomSep 1 + ParSep 1 + Align 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 -# Author style definition -Style Author - Margin Static - LatexType Command - InTitle 1 - LatexName author - LabelSep xxx - ParSkip 0.4 - TopSep 1.3 - BottomSep 0.7 - ParSep 0.7 - Align Center - AlignPossible Center - LabelType No_Label - - # standard font definition - Font - Size Large - Shape Smallcaps - EndFont +Style Author + Category FrontMatter + Margin Static + LatexType Command + InTitle 1 + LatexName author + LabelSep xxx + ParSkip 0.4 + TopSep 1.3 + BottomSep 0.7 + ParSep 0.7 + Align Center + LabelType No_Label + Font + Size Large + Shape Smallcaps + EndFont End -# Date style definition -Style Date - Margin Dynamic - LatexType Command - InTitle 1 - LatexName date - LabelSep xxx - ParSkip 0.4 - TopSep 0.9 - BottomSep 0.5 - ParSep 1 - Align Center - AlignPossible Center - LabelType Static - LabelString "Date: " - - # standard font definition - Font - Size Large - EndFont - LabelFont - Shape Italic - Size Large - EndFont +Style Date + Category FrontMatter + Margin Dynamic + LatexType Command + InTitle 1 + LatexName date + LabelSep xxx + ParSkip 0.4 + TopSep 0.9 + BottomSep 0.5 + ParSep 1 + Align Center + LabelType Static + LabelString "Date:" + Font + Size Large + EndFont + LabelFont + Shape Italic + Size Large + EndFont End -# Abstract style definition -Style Abstract - Margin First_Dynamic - LatexType Environment - InTitle 1 - LatexName abstract - LeftMargin MMM - LabelIndent MMM - RightMargin MMM - ParIndent MM - TopSep 0.7 - BottomSep 0.7 - Align Block - AlignPossible Block - LabelType Static - LabelString Abstract. - LabelSep M - # standard font definition - Font - Size Small - EndFont +Style Abstract + Category FrontMatter + Margin First_Dynamic + LatexType Environment + InTitle 1 + LatexName abstract + LeftMargin MMM + LabelIndent MMM + RightMargin MMM + ParIndent MM + TopSep 0.7 + BottomSep 0.7 + Align Block + LabelType Static + LabelString "Abstract." + LabelSep M + Font + Size Small + EndFont + LabelFont + Shape Smallcaps + EndFont +End - # label font definition - LabelFont - Shape Smallcaps - EndFont -End +# Clear Address definition from lyxmacros +NoStyle Address -# Address style definition Style Address - Margin Dynamic - LatexType Command - InTitle 1 - LatexName address - ParSkip 0.4 - BottomSep 1.5 - ParSep 1.5 - Align Left - AlignPossible Block, Left, Right, Center - LabelType Static - LabelString "Address: " - # label font definition - LabelFont - Shape Italic - EndFont -End + Category FrontMatter + Margin Dynamic + LatexType Command + InTitle 1 + LatexName address + ParSkip 0.4 + BottomSep 1.5 + ParSep 1.5 + Align Left + AlignPossible Block, Left, Right, Center + LabelType Static + LabelString "Address:" + LabelSep M + LabelFont + Shape Italic + EndFont +End + -# Current Address style definition Style Current_Address - Margin Dynamic - LatexType Command - InTitle 1 - LatexName curraddr - ParSkip 0.4 - BottomSep 1.5 - ParSep 1.5 - Align Left - AlignPossible Block, Left, Right, Center - LabelType Static - LabelString "Current address: " - # label font definition - LabelFont - Shape Italic - EndFont -End + CopyStyle Address + LatexName curraddr + LabelString "Current address:" +End + -# Email style definition Style Email - Margin First_Dynamic - LatexType Command - InTitle 1 - LatexName email - ParSkip 0.4 - BottomSep 1.5 - ParSep 1.5 - Align Left - AlignPossible Block, Left, Right, Center - LabelType Static - labelString "E-mail address: " - LabelFont - Shape Italic - EndFont + CopyStyle Address + Margin First_Dynamic + LatexName email + LabelString "E-mail address:" End -# URL style definition + Style URL - Margin First_Dynamic - LatexType Command - InTitle 1 - LatexName urladdr - ParSkip 0.4 - BottomSep 1.5 - ParSep 1.5 - Align Left - AlignPossible Block, Left, Right, Center - LabelType Static - labelString "URL: " - LabelFont - Shape Italic - EndFont + CopyStyle Address + Margin First_Dynamic + LatexName urladdr + LabelString "URL:" End -# Keywords style definition + Style Keywords - Margin Dynamic - LatexType Command - InTitle 1 - LatexName keywords - ParSkip 0.4 - BottomSep 1.5 - ParSep 1.5 - Align Left - AlignPossible Block, Left, Right, Center - LabelType Static - LabelString "Key words and phrases: " - # label font definition - LabelFont - Shape Italic - EndFont -End + CopyStyle Address + LatexName keywords + LabelString "Key words and phrases:" +End + -# Thanks style definition Style Thanks - Margin Dynamic - LatexType Command - InTitle 1 - LatexName thanks - ParSkip 0.4 - BottomSep 1.5 - ParSep 1.5 - Align Left - AlignPossible Block, Left, Right, Center - LabelType Static - LabelString "Thanks: " - # label font definition - LabelFont - Shape Italic - EndFont -End + CopyStyle Address + LatexName thanks + LabelString "Thanks:" +End + -# Dedicatory style definition Style Dedicatory - Margin Dynamic - LatexType Command - InTitle 1 - LatexName dedicatory - ParSkip 0.4 - BottomSep 1.5 - ParSep 1.5 - Align Left - AlignPossible Block, Left, Right, Center - LabelType Static - LabelString "Dedication: " - # label font definition - LabelFont - Shape Italic - EndFont -End + CopyStyle Address + LatexName dedicatory + LabelString "Dedication:" +End -# Translator style definition Style Translator - Margin Dynamic - LatexType Command - InTitle 1 - LatexName translator - ParSkip 0.4 - BottomSep 1.5 - ParSep 1.5 - Align Left - AlignPossible Block, Left, Right, Center - LabelType Static - LabelString "Translator: " - # label font definition - LabelFont - Shape Italic - EndFont -End + CopyStyle Address + LatexName translator + LabelString "Translator:" +End + -# Subjectclass style definition Style Subjectclass - Margin Dynamic - LatexType Command - InTitle 1 - LatexName subjclass - ParSkip 0.4 - BottomSep 1.5 - ParSep 1.5 - Align Left - AlignPossible Block, Left, Right, Center - LabelType Static - LabelString "1991 Mathematics Subject Classification: " - # label font definition - LabelFont - Shape Italic - EndFont -End + CopyStyle Address + LatexName subjclass[2000] + LabelString "2000 Mathematics Subject Classification:" +End -# Bibliography style definition Style Bibliography - Margin First_Dynamic - LatexType Item_Environment - LatexName thebibliography - NextNoIndent 1 - LeftMargin MM - ParSkip 0.4 - ItemSep 0 - TopSep 0.7 - BottomSep 0.7 - ParSep 0.5 - Align Block - AlignPossible Block, Left - LabelType Bibliography - LabelString References - LabelBottomSep 0.7 - - # standard font definition - Font - Size Small - EndFont - - # label font definition - LabelFont - Size Normal - Shape Smallcaps - EndFont + Category BackMatter + Margin First_Dynamic + LatexType Bib_Environment + LatexName thebibliography + NextNoIndent 1 + ToggleIndent Never + LeftMargin MM + ParSkip 0.4 + ItemSep 0 + TopSep 0.7 + BottomSep 0.7 + ParSep 0.5 + Align Block + AlignPossible Block, Left + LabelType Bibliography + LabelString "References" + LabelBottomSep 0.7 + Font + Size Small + EndFont + LabelFont + Size Normal + Shape Smallcaps + EndFont End -