X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Faa.layout;h=6804ecf5a113d8c0b6f6510437ceefd7c7ffda41;hb=42c2a25fb873727d87ce753b3a3ac4e913e36fe0;hp=049803b03557eb3a9a92a288e563c0ca9089da49;hpb=72ee3a1b17a79b9098d14b2815d4c9ab4d85bf43;p=lyx.git diff --git a/lib/layouts/aa.layout b/lib/layouts/aa.layout index 049803b035..6804ecf5a1 100644 --- a/lib/layouts/aa.layout +++ b/lib/layouts/aa.layout @@ -1,5 +1,5 @@ #% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass[aa]{Astronomy & Astrophysics} +# \DeclareLaTeXClass[aa,answers.sty]{Astronomy & Astrophysics} # \DeclareCategory{Articles} # # Author: Peter Sütterlin @@ -15,90 +15,37 @@ # 2008-06-09 Implement \inst and \email as char styles, # implement paragraph style keywords # 2008-10-26 Updated for aa.cls version 6.1 +# 2013-05-26 Updated for aa.cls version 8.2 -Format 36 -Columns 2 -Sides 2 -SecNumDepth 3 -TocDepth 0 -PageStyle Plain +Format 99 +Columns 2 +Sides 2 +SecNumDepth 3 +TocDepth 0 +PageStyle Plain +# Pre-loaded packages +Provides inputenc 1 +Provides natbib 1 -Style Standard - Margin Static - LatexType Paragraph - LatexName dummy - ParIndent MM - ParSkip 0.4 - Align Block - AlignPossible Block, Left, Right, Center - LabelType No_Label -End - - -# I want to keep the entries in a logical order. -# Therefore I'll define the entries first, then fill them - -Style Section - TocLevel 1 -End - -Style Subsection - TocLevel 2 -End - -Style Subsubsection - TocLevel 3 -End - -Style Itemize -End - -Style Enumerate -End - -Style Description -End - -Style List -End - - -Style Title -End - -Style Subtitle -End - -Style Author -End - -Style Address +ClassOptions + Other utf8 End -Style Offprint -End - -Style Mail -End - -Style Date -End - -Style Abstract -End - -Style Acknowledgement -End - -Style Bibliography +Style Standard + Category MainText + Margin Static + LatexType Paragraph + LatexName dummy + ParIndent MM + ParSkip 0.4 + Align Block + AlignPossible Block, Left, Right, Center + LabelType No_Label + DocBookTag para End - -# OK, now we have a more or less consistent Ordering. Now fill the -# definitions. First, the standard includes - Input stdinsets.inc Input stdlists.inc Input stdsections.inc @@ -115,318 +62,381 @@ NoStyle Subparagraph NoCounter subparagraph NoStyle Part NoCounter part +NoStyle Abstract +NoStyle Bibliography Style Subtitle - Margin Static - LatexType Command - InTitle 1 - LatexName subtitle - Category FrontMatter - NextNoIndent 1 - ParSkip 0.4 - ItemSep 0 - TopSep 1.3 - BottomSep 1.3 - ParSep 1 - Align Center - LabelType No_Label + Margin Static + LatexType Command + InTitle 1 + LatexName subtitle + Category FrontMatter + NextNoIndent 1 + ParSkip 0.4 + ItemSep 0 + TopSep 1.3 + BottomSep 1.3 + ParSep 1 + Align Center + LabelType No_Label Font - Family Sans - Size Larger - Series Bold + Family Sans + Size Larger + Series Bold EndFont + DocBookTag subtitle + DocBookInInfo maybe End Style Address - LeftMargin MMM - Margin Static - LatexType Command - InTitle 1 - LatexName institute - Category FrontMatter - ParSkip 0.4 - #BottomSep 0.4 - Align Left - LabelType No_Label + LeftMargin MMM + Margin Static + LatexType Command + InTitle 1 + LatexName institute + Category FrontMatter + ParSkip 0.4 + #BottomSep 0.4 + Align Left + LabelType No_Label Font - Family Roman - Size Small + Family Roman + Size Small EndFont + DocBookTag address + DocBookInInfo always End Style Offprint - Margin Static - LatexType Command - Category FrontMatter - InTitle 1 - LatexName offprints - Align Left - LeftMargin "Offprint Requests to:M" - LabelType Static - LabelString "Offprint Requests to:" - LabelSep M + Margin Static + LatexType Command + Category FrontMatter + InTitle 1 + LatexName offprints + Align Left + LeftMargin "Offprint Requests to:M" + LabelType Static + LabelString "Offprint Requests to:" + LabelSep M Font - Family Roman - Size Small + Family Roman + Size Small EndFont LabelFont - Family Roman - Size Small - Shape Slanted + Family Roman + Size Small + Shape Slanted EndFont + DocBookTag personname + DocBookTagType paragraph + DocBookWrapperTag author + DocBookWrapperAttr role='offprint' + DocBookWrapperTagType inline + DocBookInInfo always End Style Mail - Margin Static - LatexType Command - InTitle 1 - Category FrontMatter - LatexName mail - Align Left - LeftMargin "Correspondence to:M" - LabelType Static - LabelString "Correspondence to:" - LabelSep M + Margin Static + LatexType Command + InTitle 1 + Category FrontMatter + LatexName mail + Align Left + LeftMargin "Correspondence to:M" + LabelType Static + LabelString "Correspondence to:" + LabelSep M Font - Family Roman - Size Small + Family Roman + Size Small EndFont LabelFont - Family Roman - Size Small - Shape Slanted + Family Roman + Size Small + Shape Slanted EndFont + DocBookTag author + DocBookAttr role='mail' + DocBookTagType paragraph + DocBookInInfo always End Style Acknowledgement - Margin First_Dynamic - LatexType Environment - LatexName acknowledgements - Category BackMatter - NextNoIndent 0 - ItemSep 0 - TopSep 1.2 - BottomSep 0 - ParSep 0 - Align Block - LabelType Static - LabelString "Acknowledgements." - LabelSep M + Margin First_Dynamic + LatexType Environment + LatexName acknowledgements + Category BackMatter + NextNoIndent 0 + ItemSep 0 + TopSep 1.2 + BottomSep 0 + ParSep 0 + Align Block + LabelType Static + LabelString "Acknowledgements." + LabelSep M Font - Size Small + Size Small EndFont LabelFont - Size Small - Shape Italic + Size Small + Shape Italic EndFont + DocBookTag para + DocBookWrapperTag acknowledgements + DocBookSection true End Style Section - TopSep 2.0 - BottomSep 1.3 Font - Family Sans - Size Large + Family Sans + Size Large EndFont TocLevel 1 End Style Subsection - TopSep 1.7 - BottomSep 1.1 Font - Family Sans - Series Medium - Size Large - Shape Slanted + Family Sans + Series Medium + Size Normal + Shape Slanted EndFont TocLevel 2 End Style Subsubsection - TopSep 1.7 - BottomSep 1.1 Font - Series Medium - Size Normal + Series Medium + Size Normal EndFont TocLevel 3 End Style Title - TopSep 2 - BottomSep 1.3 - Align Center - AlignPossible Left + TopSep 2 + BottomSep 1.3 + Align Center + AlignPossible Left Font - Family Sans - Series Bold + Family Sans + Series Bold EndFont + DocBookTag title + DocBookTagType paragraph + DocBookInInfo maybe End Style Author - Align Center - LabelType No_Label - BottomSep 1.5 + Align Center + LabelType No_Label + BottomSep 1.5 Font - Size Large - Series Medium + Size Large + Series Medium EndFont + DocBookTag personname + DocBookTagType paragraph + DocBookWrapperTag author + DocBookWrapperTagType inline + DocBookInInfo always End Style Date - InTitle 1 - LeftMargin MMM - LabelSep "" - TopSep 1.2 - Align Left + InTitle 1 + LeftMargin MMM + LabelSep "" + TopSep 1.2 + Align Left Font - Size Small + Size Small EndFont + DocBookTag date + DocBookTagType paragraph + DocBookInInfo always + DocBookNoFontInside true End InsetLayout "Flex:institutemark" - LyxType custom - LatexType command - LatexName inst - LabelString "institute mark" + LyxType custom + LatexType command + LatexName inst + LabelString "Institute Mark" Font - Color foreground - Size Small - Family Roman - Shape Up - Series Medium - Misc No_Emph - Misc No_Noun - Misc No_Bar + Color foreground + Size Small + Family Roman + Shape Up + Series Medium + Misc No_Emph + Misc No_Noun + Misc No_Bar EndFont LabelFont - Color green - Size Small + Color textlabel2 + Size Small EndFont - MultiPar true -End - - -Style Abstract - Margin First_Dynamic - LatexType Command - LatexName abstract - Category FrontMatter - InTitle 1 - NextNoIndent 1 - LeftMargin MMM - RightMargin MMM - ParIndent "" - ItemSep 0 - TopSep 1.2 - BottomSep 0.7 - ParSep 0 - Align Block - LabelType static - LabelString "Abstract" - LabelSep M - LabelBottomSep 0 + MultiPar true +End + + +Style Abstract_(unstructured) + LatexType Command + LatexName abstract + Category FrontMatter + InTitle 1 + NextNoIndent 1 + Margin Static + LeftMargin MMM + RightMargin MMM + ParIndent "" + ItemSep 0 + TopSep 1.2 + BottomSep 0.7 + ParSep 0 + Align Left + LabelType Centered + LabelString "ABSTRACT" + LabelBottomSep 0.7 Font - Size Small + Size Small EndFont LabelFont - Family Sans - Series Bold - Size Small + Family Sans + Series Bold + Size Small EndFont + DocBookTag para + DocBookWrapperTag abstract + DocBookWrapperAttr role='unstructured' + DocBookWrapperMergeWithPrevious true + DocBookInInfo always End -Style Keywords - Margin First_Dynamic - LatexType Command - LatexName keywords - InTitle 1 - NextNoIndent 1 - LeftMargin MMM - RightMargin MMM - ParIndent "" - ItemSep 0 - TopSep 1.2 - BottomSep 0.7 - ParSep 0 - Align Block - LabelType static - LabelString "Key words." - LabelSep M - LabelBottomSep 0 - Font - Size Small - EndFont - LabelFont - Family Sans - Series Bold - Size Small - EndFont +Style Abstract + ObsoletedBy Abstract_(unstructured) +End + + +Style Abstract_(structured) + CopyStyle Abstract_(unstructured) + Argument 1 + Mandatory 1 + LabelString "Context" + Tooltip "Context of your work (optional, can be left empty)" + EndArgument + Argument 2 + Mandatory 1 + LabelString "Aims" + Tooltip "Aims of your work" + EndArgument + Argument 3 + Mandatory 1 + LabelString "Methods" + Tooltip "Methods used in your work" + EndArgument + Argument 4 + Mandatory 1 + LabelString "Results" + Tooltip "Results of your work" + EndArgument + DocBookTag para + DocBookWrapperTag abstract + DocBookWrapperAttr role='structured' + DocBookWrapperMergeWithPrevious true + DocBookInInfo always End -Style Bibliography - Align Left +Style Keywords + Margin First_Dynamic + LatexType Command + LatexName keywords + Category FrontMatter + InTitle 1 + NextNoIndent 1 + LeftMargin MMM + RightMargin MMM + ParIndent "" + ItemSep 0 + TopSep 1.2 + BottomSep 0.7 + ParSep 0 + Align Block + LabelType static + LabelString "Key words." + LabelSep M + LabelBottomSep 0 + Font + Size Small + EndFont LabelFont - Series Bold + Family Sans + Series Bold + Size Small EndFont + DocBookTag keyword + DocBookTagType paragraph + DocBookWrapperTag keywordset + DocBookInInfo always End InsetLayout Flex:Institute - LyXType charstyle - LatexType command - LatexName inst - Font - Color blue - EndFont + LyXType charstyle + LatexType command + LatexName inst + Font + Color textlabel1 + EndFont + ResetsFont true End InsetLayout Flex:E-Mail - LyXType charstyle - LatexType command - LatexName email - Font - Family Typewriter - Color blue - EndFont + LyXType charstyle + LatexType command + LatexName email + Font + Family Typewriter + Color textlabel1 + EndFont + ResetsFont true End InsetLayout "Flex:Email" - LyxType custom - LatexType command - LatexName email - LabelString "email" + LyxType custom + LatexType command + LatexName email + LabelString "Email" Font - Color foreground - Size Small - Family Roman - Shape Up - Series Medium - Misc No_Emph - Misc No_Noun - Misc No_Bar + Color foreground + Size Small + Family Roman + Shape Up + Series Medium + Misc No_Emph + Misc No_Noun + Misc No_Bar EndFont LabelFont - Color urllabel - Size Small + Color urllabel + Size Small EndFont - MultiPar true + MultiPar true End