[Bcc: AGU's infotech list]

Attached. A bit experimental and incomplete still, but works for me.
I did this in a hurry as I am getting requests for this :-)

This is for lyx-1.3.0. Also a patch to documentation (Extended.lyx) 
included. (Oops, seems to be reversed.)

Martin

-- 
Martin Vermeer  [EMAIL PROTECTED]
Helsinki University of Technology 
Department of Surveying
P.O. Box 1200, FIN-02015 HUT, Finland
:wq
# AGUplus textclass definition file. 
# Author: Martin Vermeer <[EMAIL PROTECTED]>
#
# Necessary LaTeX files to be found on
#
# http://www.linmpi.mpg.de/english/services/software/latex/localtex/localltx.html
# (both AGU++ 1.6b and AGUTeX 5.01 needed)
#
# Input general definitions
Input stdclass.inc

SecNumDepth     4
MaxCounter      Counter_Section

# There are no chapters in an article.
NoStyle Chapter
NoStyle Chapter*

NoStyle Subparagraph
NoStyle Subparagraph*

# Redefine these a bit:

Style Section
  Font
    Size        Large
  EndFont
End

Style Section*
  Font
    Size        Large
  EndFont
End

Style Subsection
  Font
    Size        Normal
  EndFont
End

Style Subsection*
  Font
    Size        Normal
  EndFont
End

# Subsubsubsection style (re-)definition
Style Paragraph
  LatexName     subsubsection
End

# SubSubsubsection* style (re-)definition
Style Paragraph*
  CopyStyle     Paragraph
  Margin        Static
  LatexName     subsubsubsection*
  LabelType     No_Label
  OptionalArgs      0
End

Preamble
\usepackage{times}
\sectionnumbers
EndPreamble

# Headers style definition
Style Left_Header
  Margin        Static
  LatexType     Command
  LatexName     lefthead
  NextNoIndent  1
  LeftMargin    "Left Header:xx"
  LabelSep      xxx
  ParSkip       0.4
  TopSep        1.3
  BottomSep     0.7
  ParSep        0.7
  Align         Left
  AlignPossible     Left
  LabelType     Static
  LabelString   "Left Header:"
  InTitle               1

  # standard font definition
  LabelFont
    Series      Bold
    Shape       Italic
    Color       red
  EndFont

End

Style Right_Header
  CopyStyle             "Left Header"
  LatexName     righthead
  LeftMargin    "Right Header:xx"
  LabelString   "Right Header:"
End

Style Received
  CopyStyle             "Left Header"
  LatexName     received
  LeftMargin    Received:xx
  LabelString   Recieved:
End

Style Revised
  CopyStyle             "Left Header"
  LatexName     revised
  LeftMargin    Revised:xx
  LabelString   Revised:
End

Style Accepted
  CopyStyle             "Left Header"
  LatexName     accepted
  LeftMargin    Accepted:xx
  LabelString   Accepted:
End

Style CCC
  CopyStyle             "Left Header"
  LatexName     ccc
  LeftMargin    "CCC code:xx"
  LabelString   "CCC code:"
End

# cpright

# journalid

# articleid

Style PaperId
  CopyStyle             "Left Header"
  LatexName     paperid
  LeftMargin    "Paper Id:xx"
  LabelString   "Paper Id:"
End

Style AuthorAddr
  CopyStyle             "Left Header"
  LatexName     authoraddr
  LeftMargin    "Author Address:xx"
  LabelString   "Author Address:"
End

Style SlugComment
  CopyStyle             "Left Header"
  LatexName     slugcomment
  LeftMargin    "Slug Comment:xx"
  LabelString   "Slug Comment:"
End


# a few changes to the bibliography
Style Bibliography
  TopSep                4
  LabelString           Bibliography

  # label font definition
  LabelFont 
    Series              Bold
    Size                Huge
  EndFont
End

# plate
Float
  Type                  plate
  GuiName               Plate
  Placement             htbp
  Extension             lof
  NumberWithin  none
  Style                 plain
  LatexBuiltin  true
End

# planotable
Float
  GuiName               Planotable
  Type                  planotable
  Placement             htbp
  Extension             lot
  NumberWithin  none
  Style                 Ruled
  LatexBuiltin  true
End


# Table Caption style definition
Style Table_Caption
  Margin                First_Dynamic
  LatexType             Command
  LatexName     tablecaption
  NeedProtect   1
  LabelSep              xx
  ParSkip               0.4
  TopSep                0.5
  Align         Center
  AlignPossible Center
  LabelType     Sensitive
  LabelString   TableCaption

  # label font definition
  LabelFont
    Series              Bold
  EndFont
End

Counter
  Name          plate
  Within        none
End

Counter
  Name          planotable
  Within        none
End
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[aguplus,jgrga.sty]{article (AGU++) JGR}
# AGUplus JGR textclass definition file. 
# Author: Martin Vermeer <[EMAIL PROTECTED]>

# Input general definitions
Input aguplus.inc

ClassOptions
  Other "jgrga"
End


--- Extended.lyx        Thu Jan  9 12:18:23 2003
+++ Extended_old.lyx    Thu Jan  9 12:03:28 2003
@@ -8543,144 +8543,6 @@
  #.
 \layout Section
 
-AGU journals (
-\family sans 
-aguplus
-\family default 
-)
-\layout Standard
-
-by 
-\shape smallcaps 
-Martin Vermeer
-\layout Subsection
-
-Description
-\layout Standard
-
-These are the layout files for some of the journals of the American Geophysical
- Society.
- It is assumed that you have both the AGU's own class files and AGUplus
- installed (everything to be found at
-\begin_inset LatexCommand \url{ftp://ftp.agu.org/journals/latex/journals}
-
-\end_inset 
-
-).
-\layout Subsection
-
-New styles
-\layout Standard
-
-Redefined are 
-\family sans 
-Paragraph
-\family default 
-, 
-\family sans 
-Paragraph*
-\family default 
-.
- They are still called this in the LyX GUI, though their LaTeX equivalents
- in the AGU classes are 
-\family sans 
-Subsubsubsection
-\family default 
- and 
-\family sans 
-Subsubsubsection*
-\family default 
-.
-\layout Standard
-
-Newly defined styles are 
-\family sans 
-Left_Header
-\family default 
-, 
-\family sans 
-Right_Header
-\family default 
-, 
-\family sans 
-Received
-\family default 
-, 
-\family sans 
-Revised
-\family default 
-, 
-\family sans 
-Accepted
-\family default 
-, 
-\family sans 
-CCC
-\family default 
-, 
-\family sans 
-PaperId
-\family default 
-, 
-\family sans 
-AuthorAddr
-\family default 
-, 
-\family sans 
-SlugComment
-\family default 
-.
- These are mostly manuscript attributes and defined in the AGU class documentati
-on.
-\layout Standard
-
-I suspect this is still badly incomplete.
-\layout Subsection
-
-New floats
-\layout Standard
-
-
-\family sans 
-Planotable
-\family default 
- and 
-\family sans 
-Plate
-\family default 
-.
- We also have a new 
-\family sans 
-Table_Caption
-\family default 
-.
-\layout Subsection
-
-Supported journals
-\layout Itemize
-
-
-\emph on 
-Journal of Geophysical Research
-\emph default 
-: 
-\family typewriter 
-jgrga.layout 
-\family default 
--- Martin Vermeer
-\layout Standard
-
-Add your own, it isn't so hard! Look at the 
-\family typewriter 
-jgrga.layout
-\family default 
- example and 
-\family typewriter 
-aguplus.inc
-\family default 
-.
-\layout Section
-
 Slides [aka 
 \noun on 
 Sli

Attachment: msg50736/pgp00000.pgp
Description: PGP signature

Reply via email to