From: Scott Kostyshak Date: Tue, 20 Aug 2013 19:38:04 +0000 (-0400) Subject: AGUTeX template/layout: support the new cls name X-Git-Tag: 2.1.0beta2~157 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=66dfbab8bb65f5444ca8206302a69b9cb5e7f7cf;p=features.git AGUTeX template/layout: support the new cls name 'agutex.cls' was renamed to 'AGUTeX.cls'. --- diff --git a/lib/layouts/AGUTeX.layout b/lib/layouts/AGUTeX.layout new file mode 100644 index 0000000000..3ba7814689 --- /dev/null +++ b/lib/layouts/AGUTeX.layout @@ -0,0 +1,229 @@ +#% Do not delete the line below; configure depends on this +# \DeclareLaTeXClass[AGUTeX]{American Geophysical Union (AGUTeX)} +# \DeclareCategory{Articles} +# AGUTeX textclass definition file. +# Author: Uwe Stöhr (uwestoehr@web.de) + +Format 48 + +Columns 1 +Sides 1 +SecNumDepth 3 +TocDepth 3 +DefaultStyle Standard +Provides natbib 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 + Family Roman + Series Medium + Shape Up + Size Normal + 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 + LabelType No_Label +End + +Input stdcounters.inc +Input stdfloats.inc +Input stdlists.inc +Input stdsections.inc +Input stdstarsections.inc +Input stdlayouts.inc + +NoStyle Chapter +NoCounter chapter +NoStyle Chapter* + + +Style Title + Margin Static + LatexType Command + LatexName title + Category FrontMatter + ParSkip 0.4 + ItemSep 0 + TopSep 0 + BottomSep 1 + ParSep 1 + Align Center + LabelType No_Label + Font + Size Largest + EndFont +End + + +Style Authors + Margin Static + LatexType Command + Category FrontMatter + LatexName authors + LabelSep xxx + ParSkip 0.4 + TopSep 1.3 + BottomSep 0.7 + ParSep 0.7 + Align Center + LabelType No_Label + Font + Size Large + EndFont +End + + +InsetLayout "Flex:Affiliation Mark" + LyxType custom + LatexType command + LatexName altaffilmark + LabelString "Affiliation Mark" + Font + Color foreground + Size Small + Family Roman + Shape Up + Series Medium + Misc No_Emph + Misc No_Noun + Misc No_Bar + EndFont + LabelFont + Color latex + Size Small + EndFont +End + + +Style "Author affiliation" + Margin Dynamic + LatexType Command + LatexName altaffiltext + Category FrontMatter + ParSkip 0.4 + BottomSep 0.5 + Align Left + Argument 1 + Mandatory 1 + LabelString "Number" + Tooltip "Consecutive number for the author affiliations" + EndArgument + LabelSep xx + LabelType Static + LabelString "Author affiliation:" + LabelFont + Color Green + Series Bold + EndFont +End + + +Style Abstract + Margin Dynamic + LatexType Environment + LatexName abstract + Category FrontMatter + NextNoIndent 1 + LabelSep xxx + ParSkip 0.4 + TopSep 0.7 + BottomSep 0.4 + Align Block + LabelType Static + LabelString "Abstract." + LabelFont + Series Bold + EndFont +End + + +Style Paragraph + CopyStyle Subsection* + Category BackMatter + LatexName paragraph + TocLevel 4 +End + + +Style Notation + Margin Static + LatexType Environment + LatexName notation + Category BackMatter + NextNoIndent 1 + LabelSep xxx + ParSkip 0.4 + TopSep 0.7 + BottomSep 0.4 + Align Block + LabelType Above + LabelString "Notation" + LabelFont + Series Bold + Size Larger + EndFont +End + + +Style Acknowledgments + Margin Dynamic + LatexType Environment + LatexName acknowledgments + Category BackMatter + NextNoIndent 1 + LabelSep xxx + ParSkip 0.4 + TopSep 0.7 + BottomSep 0.4 + Align Block + LabelType Static + LabelString "Acknowledgments." + Font + Size Small + EndFont + LabelFont + Series Bold + Size Small + EndFont +End + + +Style Bibliography + Margin First_Dynamic + LatexType Bib_Environment + LatexName thebibliography + Category BackMatter + 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 + diff --git a/lib/layouts/agutex.layout b/lib/layouts/agutex.layout deleted file mode 100644 index 2102651355..0000000000 --- a/lib/layouts/agutex.layout +++ /dev/null @@ -1,229 +0,0 @@ -#% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass[agutex]{American Geophysical Union (AGUTeX)} -# \DeclareCategory{Articles} -# AGUTeX textclass definition file. -# Author: Uwe Stöhr (uwestoehr@web.de) - -Format 48 - -Columns 1 -Sides 1 -SecNumDepth 3 -TocDepth 3 -DefaultStyle Standard -Provides natbib 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 - Family Roman - Series Medium - Shape Up - Size Normal - 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 - LabelType No_Label -End - -Input stdcounters.inc -Input stdfloats.inc -Input stdlists.inc -Input stdsections.inc -Input stdstarsections.inc -Input stdlayouts.inc - -NoStyle Chapter -NoCounter chapter -NoStyle Chapter* - - -Style Title - Margin Static - LatexType Command - LatexName title - Category FrontMatter - ParSkip 0.4 - ItemSep 0 - TopSep 0 - BottomSep 1 - ParSep 1 - Align Center - LabelType No_Label - Font - Size Largest - EndFont -End - - -Style Authors - Margin Static - LatexType Command - Category FrontMatter - LatexName authors - LabelSep xxx - ParSkip 0.4 - TopSep 1.3 - BottomSep 0.7 - ParSep 0.7 - Align Center - LabelType No_Label - Font - Size Large - EndFont -End - - -InsetLayout "Flex:Affiliation Mark" - LyxType custom - LatexType command - LatexName altaffilmark - LabelString "Affiliation Mark" - Font - Color foreground - Size Small - Family Roman - Shape Up - Series Medium - Misc No_Emph - Misc No_Noun - Misc No_Bar - EndFont - LabelFont - Color latex - Size Small - EndFont -End - - -Style "Author affiliation" - Margin Dynamic - LatexType Command - LatexName altaffiltext - Category FrontMatter - ParSkip 0.4 - BottomSep 0.5 - Align Left - Argument 1 - Mandatory 1 - LabelString "Number" - Tooltip "Consecutive number for the author affiliations" - EndArgument - LabelSep xx - LabelType Static - LabelString "Author affiliation:" - LabelFont - Color Green - Series Bold - EndFont -End - - -Style Abstract - Margin Dynamic - LatexType Environment - LatexName abstract - Category FrontMatter - NextNoIndent 1 - LabelSep xxx - ParSkip 0.4 - TopSep 0.7 - BottomSep 0.4 - Align Block - LabelType Static - LabelString "Abstract." - LabelFont - Series Bold - EndFont -End - - -Style Paragraph - CopyStyle Subsection* - Category BackMatter - LatexName paragraph - TocLevel 4 -End - - -Style Notation - Margin Static - LatexType Environment - LatexName notation - Category BackMatter - NextNoIndent 1 - LabelSep xxx - ParSkip 0.4 - TopSep 0.7 - BottomSep 0.4 - Align Block - LabelType Above - LabelString "Notation" - LabelFont - Series Bold - Size Larger - EndFont -End - - -Style Acknowledgments - Margin Dynamic - LatexType Environment - LatexName acknowledgments - Category BackMatter - NextNoIndent 1 - LabelSep xxx - ParSkip 0.4 - TopSep 0.7 - BottomSep 0.4 - Align Block - LabelType Static - LabelString "Acknowledgments." - Font - Size Small - EndFont - LabelFont - Series Bold - Size Small - EndFont -End - - -Style Bibliography - Margin First_Dynamic - LatexType Bib_Environment - LatexName thebibliography - Category BackMatter - 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 - diff --git a/lib/templates/AGUTeX.lyx b/lib/templates/AGUTeX.lyx index 2935214b29..f849456cd5 100644 --- a/lib/templates/AGUTeX.lyx +++ b/lib/templates/AGUTeX.lyx @@ -2,7 +2,7 @@ \lyxformat 447 \begin_document \begin_header -\textclass agutex +\textclass AGUTeX \begin_preamble % OPTIONAL: To Create numbered lines uncomment these 2 lines: % \usepackage{lineno}