Am 31.08.2010 17:33, schrieb Evan Mason:

It does replace the older ones in that it seems to be the only one they are
offering now.  It's supposed to work for all the different AGU journals.
http://www.agu.org/pubs/helpdesk/

Hi, did a new layout file eventually get written for agutex?

I wrote a layout file for agutex. It requires that you have the AguTeX files:
ftp://ftp.agu.org/journals/latex/journals/Manuscript-Preparation/
installed to your LaTeX system.

The layout file is attached together with a LyX example file. Please test it our and report back. If it works for you, we can provide it together with the next LyX version.

regards Uwe

Attachment: agutex.lyx
Description: application/lyx

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[agutex]{article (AGU)}
# elsarticle textclass definition file.
# Author: Uwe Stöhr (uwesto...@web.de)

Format 11

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
        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
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 "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
        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 "Glossary term"
        CopyStyle               Subsection*
        Category                BackMatter
        LatexName               paragraph
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               Top_Environment
        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

Reply via email to