From 700edf93d72a4fcb5ac860b842cd4e5748a9eb81 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Sat, 9 Apr 2016 18:38:07 +0200 Subject: [PATCH] AGUTeX: update layout to AGUTeX 2015 according to our new guidelines --- lib/Makefile.am | 3 +- lib/layouts/agutex-2015.layout | 267 +++++++++++++++++++++++++++++++++ lib/layouts/agutex.layout | 2 +- lib/templates/AGUTeX.lyx | 151 ++++++++++++++++--- 4 files changed, 397 insertions(+), 26 deletions(-) create mode 100644 lib/layouts/agutex-2015.layout diff --git a/lib/Makefile.am b/lib/Makefile.am index e8e3c4abd7..bc0da59216 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -1972,9 +1972,10 @@ dist_layouts_DATA =\ layouts/acm-sigs-alt.layout \ layouts/acm-sigs.inc \ layouts/acmsiggraph.layout \ - layouts/acmsiggraph-0-92.layout\ + layouts/acmsiggraph-0-92.layout \ layouts/AEA.layout \ layouts/agutex.layout \ + layouts/agutex-2015.layout \ layouts/agu-dtd.layout \ layouts/agu_stdclass.inc \ layouts/agu_stdcounters.inc \ diff --git a/lib/layouts/agutex-2015.layout b/lib/layouts/agutex-2015.layout new file mode 100644 index 0000000000..5e652c1b27 --- /dev/null +++ b/lib/layouts/agutex-2015.layout @@ -0,0 +1,267 @@ +#% Do not delete the line below; configure depends on this +# \DeclareLaTeXClass[agutex2015]{American Geophysical Union (AGUTeX) (version 2015)} +# \DeclareCategory{Articles} +# AGUTeX2015 textclass definition file. +# Author: Uwe Stöhr (uwestoehr@web.de) +# +# Versions: +# AGUTeX 2015: initial layout + +Format 60 + +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 "Author running head" + Margin Dynamic + LatexType Command + LatexName authorrunninghead + Category FrontMatter + InPreamble 1 + ParSkip 0.4 + BottomSep 0.5 + Align Left + LabelSep xx + LabelType Static + LabelString "Author running head:" + LabelFont + Color green + Series Bold + EndFont +End + + +Style "Title running head" + CopyStyle "Author running head" + LatexName titlerunninghead + LabelString "Title running head:" +End + + +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 Keypoints + CopyStyle Abstract + LatexType Command + LatexName keypoints + LabelType Above + LabelString "Key Points." +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 + 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 1.2 + LabelFont + Series Bold + Size Larger + EndFont +End diff --git a/lib/layouts/agutex.layout b/lib/layouts/agutex.layout index 436b54902e..5b237748fb 100644 --- a/lib/layouts/agutex.layout +++ b/lib/layouts/agutex.layout @@ -1,5 +1,5 @@ #% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass[agutex]{American Geophysical Union (AGUTeX)} +# \DeclareLaTeXClass[agutex]{American Geophysical Union (AGUTeX) (older than 2015, obsolete)} # \DeclareCategory{Articles} # AGUTeX textclass definition file. # Author: Uwe Stöhr (uwestoehr@web.de) diff --git a/lib/templates/AGUTeX.lyx b/lib/templates/AGUTeX.lyx index 056fa2fc03..0633b80399 100644 --- a/lib/templates/AGUTeX.lyx +++ b/lib/templates/AGUTeX.lyx @@ -4,7 +4,7 @@ \begin_header \save_transient_properties true \origin /systemlyxdir/templates/ -\textclass agutex +\textclass agutex-2015 \begin_preamble % OPTIONAL: To Create numbered lines uncomment these 2 lines: % \usepackage{lineno} @@ -185,14 +185,73 @@ status open \begin_layout Plain Layout The Journal is specified as document class option in the document settings! - For the available document class options have a look at the agutex documentatio -n: -\begin_inset Flex URL + The possible document class options are: +\end_layout + +\begin_layout Description +jgrga JOURNAL OF GEOPHYSICAL RESEARCH +\end_layout + +\begin_layout Description +gbc GLOBAL BIOCHEMICAL CYCLES +\end_layout + +\begin_layout Description +grl GEOPHYSICAL RESEARCH LETTERS +\end_layout + +\begin_layout Description +pal PALEOCEANOGRAPHY +\end_layout + +\begin_layout Description +ras RADIO SCIENCE +\end_layout + +\begin_layout Description +rog REVIEWS OF GEOPHYSICS +\end_layout + +\begin_layout Description +tec TECTONICS +\end_layout + +\begin_layout Description +wrr WATER RESOURCES RESEARCH +\end_layout + +\begin_layout Description +gc GEOCHEMISTRY, GEOPHYSICS, GEOSYSTEMS +\end_layout + +\begin_layout Description +sw SPACE WEATHER +\end_layout + +\begin_layout Description +ms JAMES +\end_layout + +\begin_layout Description +ef EARTH'S FUTURE +\end_layout + +\begin_layout Description +ea EARTH AND SPACE SCIENCE +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Author running head +BALES ET AL. +\begin_inset Note Note status open \begin_layout Plain Layout - -http://texnology.com/agudocs.pdf +Author names in capital letters. \end_layout \end_inset @@ -200,8 +259,13 @@ http://texnology.com/agudocs.pdf \end_layout +\begin_layout Title running head +SHORT TITLE +\begin_inset Note Note +status open + \begin_layout Plain Layout -The addresses of the authors are given in the document preamble. +Shorter version of title entered in capital letters. \end_layout \end_inset @@ -214,9 +278,9 @@ Title of article \end_layout \begin_layout Authors -R. - C. - Bales, +A. + B. + Smith, \begin_inset Flex Affiliation Mark status collapsed @@ -230,13 +294,12 @@ status collapsed \begin_inset Newline newline \end_inset -E. - Mosley-Thompson, +Eric Brown, \begin_inset Flex Affiliation Mark status collapsed \begin_layout Plain Layout -2 +1,2 \end_layout \end_inset @@ -245,8 +308,7 @@ status collapsed \begin_inset Newline newline \end_inset -R. - Williams, +Rick Williams, \begin_inset Flex Affiliation Mark status collapsed @@ -260,9 +322,8 @@ status collapsed \begin_inset Newline newline \end_inset -and J. - R. - McConnell +and John B. + McDougall \begin_inset Flex Affiliation Mark status collapsed @@ -330,6 +391,48 @@ Division of Hydrologic Sciences, Desert Research Institute, Reno, Nevada, USA. \end_layout +\begin_layout Keypoints +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +item +\end_layout + +\end_inset + +Here is the first keypoint. +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +item +\end_layout + +\end_inset + +This is the second. +\begin_inset ERT +status collapsed + +\begin_layout Plain Layout + + +\backslash +item +\end_layout + +\end_inset + +And here is the third keypoint. +\end_layout + \begin_layout Abstract (Type abstract here) \end_layout @@ -488,7 +591,7 @@ status collapsed \end_layout \begin_layout Section* -—————– + \end_layout \begin_layout Standard @@ -556,7 +659,7 @@ options "agu" \end_layout \begin_layout Section* -——————— + \end_layout \begin_layout Standard @@ -581,9 +684,9 @@ IEEE Trans. \emph default \shape italic -23 +2 \shape default -, 648–650. +3 \end_layout \begin_layout Bibliography @@ -604,9 +707,9 @@ IEEE Trans. \emph default \shape italic -23 +2 \shape default -, 648–650. +3 \end_layout \begin_layout Standard -- 2.39.5