]> git.lyx.org Git - features.git/commitdiff
new class for AGU
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 10 Jan 2003 13:52:43 +0000 (13:52 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 10 Jan 2003 13:52:43 +0000 (13:52 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5930 a592a061-630c-0410-9148-cb99ea01b6c8

lib/ChangeLog
lib/layouts/aguplus.inc [new file with mode: 0644]
lib/layouts/jgrga.layout [new file with mode: 0644]

index 3a28155bc2219c056502dde475a31f74f720acde..ac08b64acc68413f5321bca3e223e10c95a4f70e 100644 (file)
@@ -1,3 +1,9 @@
+2003-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * layouts/jgrga.layout: 
+       * layouts/aguplus.inc: new class for the AGU Journal of
+       Geophysical Research 
+
 2003-01-08  José Abílio Oliveira Matos  <jamatos@lyx.org>
 
        * lyx2lyx/parser_tools.py (get_value): make it robust to the
diff --git a/lib/layouts/aguplus.inc b/lib/layouts/aguplus.inc
new file mode 100644 (file)
index 0000000..5c4d356
--- /dev/null
@@ -0,0 +1,220 @@
+# AGUplus textclass definition file. 
+# Author: Martin Vermeer <martin.vermeer@hut.fi>
+#
+# 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
diff --git a/lib/layouts/jgrga.layout b/lib/layouts/jgrga.layout
new file mode 100644 (file)
index 0000000..a41f354
--- /dev/null
@@ -0,0 +1,13 @@
+#% 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 <martin.vermeer@hut.fi>
+
+# Input general definitions
+Input aguplus.inc
+
+ClassOptions
+  Other "jgrga"
+End
+
+