X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fachemso.layout;h=9f23ee9c829baacc544d518bafb22b89c3a04bb0;hb=c8c1c15631712d458e98b612ba8c049a7ae4d260;hp=d634ba19a61439ebf17288ab80210085310650a6;hpb=b6a041643db81094a24c7f80813d0edbb6e5f70e;p=lyx.git diff --git a/lib/layouts/achemso.layout b/lib/layouts/achemso.layout index d634ba19a6..9f23ee9c82 100644 --- a/lib/layouts/achemso.layout +++ b/lib/layouts/achemso.layout @@ -1,24 +1,23 @@ #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[achemso,caption.sty,courier.sty,cleveref.sty,float.sty,helvet.sty,mathptmx.sty,mciteplus.sty,natbib.sty,natmove.sty,setspace.sty,xkeyval.sty]{American Chemical Society (ACS)} # \DeclareCategory{Articles} -# achemso textclass definition file. +# textclass definition file for achemso 3.8 and 3.9 # Author: Uwe Stöhr (uwestoehr@web.de) -Format 40 +Format 98 -Columns 1 -Sides 1 -SecNumDepth 3 -TocDepth 3 -DefaultStyle Standard +Columns 1 +Sides 1 +SecNumDepth 3 +TocDepth 3 +DefaultStyle Standard -Provides float 1 +Provides float 1 ClassOptions FontSize 10|11|12 end - # This is just to show how to declare the default font. # The defaults are exactly those shown here. DefaultFont @@ -29,19 +28,19 @@ DefaultFont Color None EndFont - Style Standard + Category MainText Margin Static LatexType Paragraph LatexName dummy ParIndent MM ParSkip 0.4 Align Block - AlignPossible Block, Left, Right, Center + AlignPossible Block, Left, Right, Center LabelType No_Label + DocBookTag para End - Input stdcounters.inc Input stdfloats.inc Input stdlists.inc @@ -53,173 +52,271 @@ NoCounter chapter NoStyle Chapter* Style Title - Margin Static - LatexType Command - Category FrontMatter - InTitle 1 - InPreamble 1 - LatexName title - ParSkip 0.4 - ItemSep 0 - TopSep 0 - BottomSep 1 - ParSep 1 - Align Center - LabelType No_Label - Font - Family Sans - Size Largest - EndFont - HTMLTag h1 - HTMLTitle true - Argument 1 - LabelString "Short Title" - Shortcut S - Tooltip "Short title which appears in the running headers" - EndArgument -End + Margin Static + LatexType Command + Category FrontMatter + InPreamble 1 + LatexName title + ParSkip 0.4 + ItemSep 0 + TopSep 0 + BottomSep 0.7 + ParSep 1 + Align Center + LabelType No_Label + Font + Family Sans + Size Largest + Series Bold + EndFont + HTMLTag h1 + HTMLTitle true + Argument 1 + LabelString "Short Title|S" + Tooltip "Short title which will appear in the running header" + InsertCotext 1 + EndArgument + DocBookTag title + DocBookTagType paragraph + DocBookInInfo maybe +End Style Author - LatexType command - LatexName author - InTitle 1 - InPreamble 1 - Align Center - Font - Family Sans - Size Large - EndFont + LatexType command + LatexName author + Category FrontMatter + InPreamble 1 + TopSep 0.7 + Align Center + Font + Family Sans + Size Large + EndFont + DocBookTag personname + DocBookTagType paragraph + DocBookWrapperTag author + DocBookWrapperTagType block + # Don't merge with the previous, as the author name indicates a new author. + DocBookInInfo always End Style Email - CopyStyle Author - LatexName email + CopyStyle Author + LatexName email + TopSep 1 + Font + Size Normal + EndFont End Style Affiliation - CopyStyle Author - LatexName affiliation - Argument 1 - LabelString "Short Affiliation" - Shortcut S - Tooltip "Short version of the affiliation" - EndArgument + CopyStyle Email + LatexName affiliation + Font + Shape Italic + EndFont + Argument 1 + LabelString "Short name" + Tooltip "Short name which appears in the footer of the title page" + InsertCotext 1 + EndArgument + DocBookTag affiliation + DocBookWrapperTag author + DocBookWrapperMergeWithPrevious true + DocBookItemTag orgname + DocBookItemTagType paragraph + DocBookInInfo always End Style Alt_Affiliation - CopyStyle Author - LatexName altaffiliation + CopyStyle Affiliation + LatexName altaffiliation + TopSep 0.7 + DocBookTag affiliation + DocBookAttr role='alternate' + DocBookWrapperTag author + DocBookWrapperMergeWithPrevious true + DocBookItemTag orgname + DocBookItemTagType paragraph + DocBookInInfo always End Style Also_Affiliation - CopyStyle Author - LatexName alsoaffiliation + CopyStyle Affiliation + LatexName alsoaffiliation + TopSep 0.5 + DocBookTag affiliation + DocBookAttr role='also' + DocBookWrapperTag author + DocBookWrapperMergeWithPrevious true + DocBookItemTag orgname + DocBookItemTagType paragraph + DocBookInInfo always End Style Fax - CopyStyle Author - LatexName fax + CopyStyle Email + LatexName fax + TopSep 0 + LabelSep xx + LabelType Static + LabelString "Fax:" + DocBookTag address + DocBookTagType paragraph + DocBookWrapperTag author + DocBookWrapperMergeWithPrevious true + DocBookItemTag phone + DocBookItemTagType paragraph + DocBookInInfo always End Style Phone - CopyStyle Author - LatexName phone + CopyStyle Fax + LatexName phone + LabelString "Phone:" + TopSep 0.5 + DocBookTag address + DocBookTagType paragraph + DocBookWrapperTag author + DocBookWrapperMergeWithPrevious true + DocBookItemTag fax + DocBookItemTagType paragraph + DocBookInInfo always +End + +Style Abbreviations + CopyStyle Fax + Margin Dynamic + LatexName abbreviations + TopSep 1 + Align Left + LabelString "Abbreviations:" + LabelFont + Color textlabel1 + EndFont +End + +Style Keywords + CopyStyle Abbreviations + LatexName keywords + LabelString "Keywords:" + TopSep 0.3 End +OutlinerName scheme "Schemes" #no AddToToc + Float Type scheme GuiName Scheme Placement tbp Extension los - NumberWithin none + NumberWithin none + AllowsSideways 0 Style plain ListName "List of Schemes" - IsPredefined true - UsesFloatPkg true + IsPredefined true + UsesFloatPkg true End InsetLayout scheme LabelString Scheme LabelFont - Color collapsable + Color collapsible Size Small EndFont MultiPar true End +OutlinerName chart "Charts" #no AddToToc Float Type chart GuiName Chart Placement tbp Extension loc - NumberWithin none + NumberWithin none + AllowsSideways 0 Style plain ListName "List of Charts" - IsPredefined true - UsesFloatPkg true + IsPredefined true + UsesFloatPkg true End InsetLayout chart LabelString Chart LabelFont - Color collapsable + Color collapsible Size Small EndFont MultiPar true End +OutlinerName graph "Graphs[[mathematical]]" #no AddToToc Float + # We need the [[mathematical]] context, since graph in the sense of + # diagram is not meant (chart is used for this, see above). Type graph - GuiName Graph + GuiName Graph[[mathematical]] Placement tbp Extension loh - NumberWithin none + NumberWithin none + AllowsSideways 0 Style plain - ListName "List of Graphs" - IsPredefined true - UsesFloatPkg true + ListName "List of Graphs[[mathematical]]" + IsPredefined true + UsesFloatPkg true End InsetLayout graph - LabelString Graph + LabelString Graph[[mathematical]] LabelFont - Color collapsable + Color collapsible Size Small EndFont MultiPar true End +# insert Abtract and Bibliography style +Input stdstruct.inc -Style Abstract - Margin Static - LatexType Environment - LatexName abstract - Category FrontMatter - InTitle 1 - NextNoIndent 1 - LeftMargin MMM - RightMargin MMM - ParIndent MM - ItemSep 0 - TopSep 0.7 +Style Acknowledgement + CopyStyle Abstract + LatexName acknowledgement + Category BackMatter + InTitle 0 BottomSep 0.7 - ParSep 0 - Align Block - AlignPossible Block - LabelType Centered_Top_Environment - LabelString "Abstract" - LabelBottomSep 0.5 + LabelType Above + LabelString "Acknowledgement" Font - Size Small + Size Normal EndFont LabelFont Series Bold Size Large EndFont + DocBookTag para + DocBookWrapperTag acknowledgements End +Style SupplementalInfo + CopyStyle Acknowledgement + LatexName suppinfo + LabelString "Supporting Information Available" + DocBookTag para + DocBookWrapperTag sidebar + DocBookWrapperMergeWithPrevious true +End + +Style TOC_entry + CopyStyle Acknowledgement + LatexName tocentry + ParSep 0.3 + LabelString "Graphical TOC Entry" + DocBookTag para + DocBookWrapperTag sidebar + DocBookWrapperMergeWithPrevious true +End InsetLayout Flex:Bibnote LyxType custom @@ -241,32 +338,9 @@ InsetLayout Flex:Bibnote Size Small EndFont MultiPar true + ResetsFont true End - -Style Bibliography - Margin First_Dynamic - LatexType Bib_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 1.2 - LabelFont - Series Bold - Size Larger - EndFont -End - - InsetLayout Flex:Chemistry CopyStyle Flex:Bibnote LatexName ce @@ -275,7 +349,16 @@ InsetLayout Flex:Chemistry \usepackage[version=3]{mhchem} EndPreamble LabelFont - Color blue + Color textlabel1 EndFont MultiPar false + DocBookTag phrase + DocBookAttr role='chemistry' +End + +InsetLayout Flex:Latin + CopyStyle Flex:Bibnote + LatexName latin + LabelString "Latin" + MultiPar false End