]> git.lyx.org Git - features.git/commitdiff
AGUTeX template/layout: support the new cls name
authorScott Kostyshak <skostysh@lyx.org>
Tue, 20 Aug 2013 19:38:04 +0000 (15:38 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Tue, 20 Aug 2013 19:38:04 +0000 (15:38 -0400)
'agutex.cls' was renamed to 'AGUTeX.cls'.

lib/layouts/AGUTeX.layout [new file with mode: 0644]
lib/layouts/agutex.layout [deleted file]
lib/templates/AGUTeX.lyx

diff --git a/lib/layouts/AGUTeX.layout b/lib/layouts/AGUTeX.layout
new file mode 100644 (file)
index 0000000..3ba7814
--- /dev/null
@@ -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 (file)
index 2102651..0000000
+++ /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
-
index 2935214b2936ac7239e9313f359326e1475f5d55..f849456cd5301aee1ca21768f47e99777b76a2cd 100644 (file)
@@ -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}