]> git.lyx.org Git - lyx.git/commitdiff
- aa.layout: updatesd for aa.cls version 6.1
authorUwe Stöhr <uwestoehr@web.de>
Tue, 28 Oct 2008 22:29:02 +0000 (22:29 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Tue, 28 Oct 2008 22:29:02 +0000 (22:29 +0000)
- aa.lyx, aa_sample.lyx: updates and fix the documentclass option

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27181 a592a061-630c-0410-9148-cb99ea01b6c8

lib/examples/aa_sample.lyx
lib/layouts/aa.layout
lib/templates/aa.lyx

index 7601ce2b416ddba728816d1f078e4542a5cf15ab..195cb6edf5aeb56d158213dad131d3226d68fd28 100644 (file)
@@ -1,4 +1,4 @@
-#LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
+#LyX 1.6.0rc5 created this file. For more info see http://www.lyx.org/
 \lyxformat 344
 \begin_document
 \begin_header
@@ -7,6 +7,7 @@
 \usepackage{graphicx}
 %
 \end_preamble
+\options traditabstract
 \use_default_options false
 \language english
 \inputencoding auto
 
 \begin_body
 
+\begin_layout Standard
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+Depending on the submission state and the abstract layout, you need to use
+ different document class options that are listed in the aa manual 
+\family sans
+aadoc.pdf
+\family default
+.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
 \begin_layout Title
 Hydrodynamics of giant planet formation
 \end_layout
@@ -61,7 +80,17 @@ I.
 
 \begin_layout Author
 G.
- Wuchterl 
+ Wuchterl
+\begin_inset Flex institutemark
+status open
+
+\begin_layout Plain Layout
+1
+\end_layout
+
+\end_inset
+
+
 \begin_inset ERT
 status collapsed
 
@@ -69,20 +98,23 @@ status collapsed
 
 
 \backslash
-inst{1} 
-\backslash
-and
+and 
 \end_layout
 
-\begin_layout Plain Layout
+\end_inset
+
+ C.
+ Ptolemy
+\begin_inset Flex institutemark
+status collapsed
 
-          
+\begin_layout Plain Layout
+2
 \end_layout
 
 \end_inset
 
-C.
- Ptolemy
+
 \begin_inset ERT
 status collapsed
 
@@ -90,9 +122,7 @@ status collapsed
 
 
 \backslash
-inst{2}
-\backslash
-fnmsep
+fnmsep 
 \end_layout
 
 \end_inset
@@ -108,6 +138,18 @@ Just to show the usage of the elements in the author field
 \end_inset
 
  
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+fnmsep is only needed for more than one consecutive notes/marks
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Offprint
@@ -122,20 +164,24 @@ Institute for Astronomy (IfA), University of Vienna, Türkenschanzstrasse
 \end_inset
 
 
-\begin_inset ERT
-status collapsed
+\begin_inset Flex Email
+status open
 
 \begin_layout Plain Layout
+wuchterl@amok.ast.univie.ac.at
+\end_layout
 
+\end_inset
 
-\backslash
-email{wuchterl@amok.ast.univie.ac.at} 
-\backslash
-and
-\end_layout
+
+\begin_inset ERT
+status collapsed
 
 \begin_layout Plain Layout
 
+
+\backslash
+and 
 \end_layout
 
 \end_inset
@@ -145,19 +191,16 @@ University of Alexandria, Department of Geography, ...
 \end_inset
 
 
-\begin_inset ERT
+\begin_inset Flex Email
 status collapsed
 
 \begin_layout Plain Layout
-
-
-\backslash
-email{c.ptolemy@hipparch.uheaven.space}
+c.ptolemy@hipparch.uheaven.space
 \end_layout
 
 \end_inset
 
+
 \begin_inset Foot
 status collapsed
 
@@ -177,22 +220,8 @@ Received September 15, 1996; accepted March 16, 1997
 \begin_layout Abstract
 To investigate the physical nature of the `nuc\SpecialChar \-
 leated instability' of proto
- giant planets (Mizuno 
-\begin_inset CommandInset citation
-LatexCommand cite
-key "mizuno"
-
-\end_inset
-
-), the stability of layers in static, radiative gas spheres is analysed
- on the basis of Baker's 
-\begin_inset CommandInset citation
-LatexCommand cite
-key "baker"
-
-\end_inset
-
- standard one-zone model.
+ giant planets, the stability of layers in static, radiative gas spheres
+ is analysed on the basis of Baker's standard one-zone model.
  It is shown that stability depends only upon the equations of state, the
  opacities and the local thermodynamic state in the layer.
  Stability and instability can therefore be expressed in the form of stability
@@ -235,25 +264,39 @@ key "baker"
 \end_inset
 
 -mechanism is widespread under `cool' conditions.
-\begin_inset ERT
+\begin_inset Note Note
 status open
 
 \begin_layout Plain Layout
+Citations are not allowed in A&A abstracts.
+\end_layout
 
+\end_inset
 
-\backslash
-keywords{giant planet formation -- 
-\backslash
-(
-\backslash
-kappa
-\backslash
-)-mechanism -- stability of gas spheres }
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+This is the unstructured abstract type, an example for the structured abstract
+ is in the 
+\family sans
+aa.lyx
+\family default
+ template file that comes with LyX.
 \end_layout
 
 \end_inset
 
+
+\end_layout
+
+\begin_layout Keywords
+giant planet formation -- 
+\begin_inset Formula $\kappa$
+\end_inset
+
+-mechanism -- stability of gas spheres
 \end_layout
 
 \begin_layout Section
@@ -1074,7 +1117,24 @@ schaft, DFG
 \end_inset
 
 17/2--1.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+You can alternatively use BibTeX.
+ You must then use the BibTeX style 
+\family sans
+aa.bst
+\family default
+ that is part of the A&A LaTeX-package.
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Bibliography
index 5b7e75cdbc6809a14e7f597874f86434706bd840..ca7413dae5b588dc8fa21cfe38ac1c9bacc6d0d2 100644 (file)
@@ -3,6 +3,7 @@
 #
 # Author: Peter Sütterlin <pit@uni-sw.gwdg.de>
 # Author: Jürgen Spitzmüller <spitz@lyx.org>
+# Author: Uwe Stöhr <uwestoehr@web.de>
 #
 # 2001-05-17  take out include of stdlayouts; merge aapaper.inc
 #             remove LaTeX style, rename to aa
@@ -12,6 +13,7 @@
 #             abstract is command
 # 2008-06-09  Implement \inst and \email as char styles,
 #             implement paragraph style keywords
+# 2008-10-26  Updated for aa.cls version 6.1
 
 
 Format 11
@@ -108,260 +110,312 @@ NoStyle Part
 
 
 Style Subtitle
-       Margin                Static
-       LatexType             Command
-       InTitle               1
-       LatexName             subtitle
-       NextNoIndent          1
-       ParSkip               0.4
-       ItemSep               0
-       TopSep                1.3
-       BottomSep             1.3
-       ParSep                1
-       Align                 Center
-       LabelType             No_Label
+       Margin                  Static
+       LatexType               Command
+       InTitle                 1
+       LatexName               subtitle
+       Category                FrontMatter
+       NextNoIndent            1
+       ParSkip                 0.4
+       ItemSep                 0
+       TopSep                  1.3
+       BottomSep               1.3
+       ParSep                  1
+       Align                   Center
+       LabelType               No_Label
        Font
-         Family              Sans
-         Size                Larger
-         Series              Bold
+         Family                Sans
+         Size                  Larger
+         Series                Bold
        EndFont
 End
 
 
 Style Address
-       LeftMargin            MMM
-       Margin                Static
-       LatexType             Command
-       InTitle               1
-       LatexName             institute
-       ParSkip               0.4
-#  BottomSep            0.4
-       Align                 Left
-       LabelType             No_Label
+       LeftMargin              MMM
+       Margin                  Static
+       LatexType               Command
+       InTitle                 1
+       LatexName               institute
+       Category                FrontMatter
+       ParSkip                 0.4
+       #BottomSep              0.4
+       Align                   Left
+       LabelType               No_Label
        Font
-         Family              Roman
-         Size                Small
+         Family                Roman
+         Size                  Small
        EndFont
 End
 
 
 Style Offprint
-       Margin                Static
-       LatexType             Command
-       InTitle               1
-       LatexName             offprints
-       Align                 Left
-       LeftMargin            "Offprint Requests to:M"
-       LabelType             Static
-       LabelString           "Offprint Requests to:"
-       LabelSep              M
+       Margin                  Static
+       LatexType               Command
+       Category                FrontMatter
+       InTitle                 1
+       LatexName               offprints
+       Align                   Left
+       LeftMargin              "Offprint Requests to:M"
+       LabelType               Static
+       LabelString             "Offprint Requests to:"
+       LabelSep                M
        Font
-         Family              Roman
-         Size                Small
+         Family                Roman
+         Size                  Small
        EndFont
        LabelFont
-         Family              Roman
-         Size                Small
-         Shape               Slanted
+         Family                Roman
+         Size                  Small
+         Shape                 Slanted
        EndFont
 End
 
 
 Style Mail
-       Margin                Static
-       LatexType             Command
-       InTitle               1
-       LatexName             mail
-       Align                 Left
-       LeftMargin            "Correspondence to:M"
-       LabelType             Static
-       LabelString           "Correspondence to:"
-       LabelSep              M
+       Margin                  Static
+       LatexType               Command
+       InTitle                 1
+       Category                FrontMatter
+       LatexName               mail
+       Align                   Left
+       LeftMargin              "Correspondence to:M"
+       LabelType               Static
+       LabelString             "Correspondence to:"
+       LabelSep                M
        Font
-         Family              Roman
-         Size                Small
+         Family                Roman
+         Size                  Small
        EndFont
        LabelFont
-         Family              Roman
-         Size                Small
-         Shape               Slanted
+         Family                Roman
+         Size                  Small
+         Shape                 Slanted
        EndFont
 End
 
 
 Style Acknowledgement
-       Margin                First_Dynamic
-       LatexType             Environment
-       LatexName             acknowledgements
-       NextNoIndent          0
-       ItemSep               0
-       TopSep                1.2
-       BottomSep             0
-       ParSep                0
-       Align                 Block
-       LabelType             Static
-       LabelString           "Acknowledgements."
-       LabelSep              M
+       Margin                  First_Dynamic
+       LatexType               Environment
+       LatexName               acknowledgements
+       Category                BackMatter
+       NextNoIndent            0
+       ItemSep                 0
+       TopSep                  1.2
+       BottomSep               0
+       ParSep                  0
+       Align                   Block
+       LabelType               Static
+       LabelString             "Acknowledgements."
+       LabelSep                M
        Font
-         Size                Small
+         Size                  Small
        EndFont
        LabelFont
-         Size                Small
-         Shape               Italic
+         Size                  Small
+         Shape                 Italic
        EndFont
 End
 
 
-
-
 Style Section
-       TopSep                2.0
-       BottomSep             1.3
+       TopSep                  2.0
+       BottomSep               1.3
        Font
-         Family              Sans
-         Size                Large
+         Family                Sans
+         Size                  Large
        EndFont
 End
 
 
 Style Subsection
-       TopSep                1.7
-       BottomSep             1.1
+       TopSep                  1.7
+       BottomSep               1.1
        Font
-         Family              Sans
-         Series              Medium
-         Size                Large
-         Shape               Slanted
+         Family                Sans
+         Series                Medium
+         Size                  Large
+         Shape                 Slanted
        EndFont
 End
 
 
 Style Subsubsection
-       TopSep                1.7
-       BottomSep             1.1
+       TopSep                  1.7
+       BottomSep               1.1
        Font
-         Series              Medium
-         Size                Normal
+         Series                Medium
+         Size                  Normal
        EndFont
 End
 
 
 Style Title
-       TopSep                2
-       BottomSep             1.3
-       Align                 Center
-       AlignPossible         Left
+       TopSep                  2
+       BottomSep               1.3
+       Align                   Center
+       AlignPossible           Left
        Font
-         Family              Sans
-         Series              Bold
+         Family                Sans
+         Series                Bold
        EndFont
 End
 
 
 Style Author
-       Align                 Center
-       LabelType             No_Label
-       BottomSep             1.5
+       Align                   Center
+       LabelType               No_Label
+       BottomSep               1.5
        Font
-         Size                Large
-         Series              Medium
+         Size                  Large
+         Series                Medium
        EndFont
 End
 
 
 Style Date
-       LeftMargin            MMM
-       LabelSep              ""
-       TopSep                1.2
-       Align                 Left
+       InTitle                 1
+       LeftMargin              MMM
+       LabelSep                ""
+       TopSep                  1.2
+       Align                   Left
        Font
-         Size                Small
+         Size                  Small
        EndFont
 End
 
 
+InsetLayout institutemark
+       LyxType                 custom
+       LatexType               command
+       LatexName               inst
+       LabelString             "institute mark"
+       Font
+         Color                 foreground
+         Size                  Small
+         Family                Roman
+         Shape                 Up
+         Series                Medium
+         Misc                  No_Emph
+         Misc                  No_Noun
+         Misc                  No_Bar
+       EndFont
+       LabelFont
+         Color                 green
+         Size                  Small
+       EndFont
+       MultiPar                true
+End
+
+
 Style Abstract
-       Margin                First_Dynamic
-       LatexType             Command
-       LatexName             abstract
-       InTitle               1
-       NextNoIndent          1
-       LeftMargin            MMM
-       RightMargin           MMM
-       ParIndent             ""
-       ItemSep               0
-       TopSep                1.2
-       BottomSep             0.7
-       ParSep                0
-       Align                 Block
-       LabelType             static
-       LabelString           "Abstract"
-       LabelSep              M
-       LabelBottomSep        0
+       Margin                  First_Dynamic
+       LatexType               Command
+       LatexName               abstract
+       Category                FrontMatter
+       InTitle                 1
+       NextNoIndent            1
+       LeftMargin              MMM
+       RightMargin             MMM
+       ParIndent               ""
+       ItemSep                 0
+       TopSep                  1.2
+       BottomSep               0.7
+       ParSep                  0
+       Align                   Block
+       LabelType               static
+       LabelString             "Abstract"
+       LabelSep                M
+       LabelBottomSep          0
        Font
-         Size                Small
+         Size                  Small
        EndFont
        LabelFont
-         Family              Sans
-         Series              Bold
-         Size                Small
+         Family                Sans
+         Series                Bold
+         Size                  Small
        EndFont
 End
 
 
 Style Keywords
-       Margin                First_Dynamic
-       LatexType             Command
-       LatexName             keywords
-       InTitle               1
-       NextNoIndent          1
-       LeftMargin            MMM
-       RightMargin           MMM
-       ParIndent             ""
-       ItemSep               0
-       TopSep                1.2
-       BottomSep             0.7
-       ParSep                0
-       Align                 Block
-       LabelType             static
-       LabelString           "Key words."
-       LabelSep              M
-       LabelBottomSep        0
+       Margin                  First_Dynamic
+       LatexType               Command
+       LatexName               keywords
+       InTitle                 1
+       NextNoIndent            1
+       LeftMargin              MMM
+       RightMargin             MMM
+       ParIndent               ""
+       ItemSep                 0
+       TopSep                  1.2
+       BottomSep               0.7
+       ParSep                  0
+       Align                   Block
+       LabelType               static
+       LabelString             "Key words."
+       LabelSep                M
+       LabelBottomSep          0
        Font
-         Size                Small
+         Size                  Small
        EndFont
        LabelFont
-         Family              Sans
-         Series              Bold
-         Size                Small
+         Family                Sans
+         Series                Bold
+         Size                  Small
        EndFont
 End
 
 
 Style Bibliography
-       Align                 Left
+       Align                   Left
        LabelFont
-         Series              Bold
+         Series                Bold
        EndFont
 End
 
 
 InsetLayout CharStyle:Institute
-  LyXType          charstyle
-  LatexType        command
-  LatexName        inst
+  LyXType                      charstyle
+  LatexType                    command
+  LatexName                    inst
   Font
-    Color          blue
+    Color                      blue
   EndFont
 End
 
 
 InsetLayout CharStyle:E-Mail
-  LyXType          charstyle
-  LatexType        command
-  LatexName        email
+  LyXType                      charstyle
+  LatexType                    command
+  LatexName                    email
   Font
-    Family         Typewriter
-    Color          blue
+    Family                     Typewriter
+    Color                      blue
   EndFont
 End
+
+
+InsetLayout Email
+       LyxType                 custom
+       LatexType               command
+       LatexName               email
+       LabelString             "email"
+       Font
+         Color                 foreground
+         Size                  Small
+         Family                Roman
+         Shape                 Up
+         Series                Medium
+         Misc                  No_Emph
+         Misc                  No_Noun
+         Misc                  No_Bar
+       EndFont
+       LabelFont
+         Color                 urllabel
+         Size                  Small
+       EndFont
+       MultiPar                true
+End
+
index 75be609d31a9afaec85513af94838c628043fc62..fc49d6f1447145d90995fcb92838a19aa9b2d3da 100644 (file)
@@ -1,8 +1,10 @@
-#LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 341
+#LyX 1.6.0rc5 created this file. For more info see http://www.lyx.org/
+\lyxformat 344
 \begin_document
 \begin_header
 \textclass aa
+\options structabstract
+\use_default_options false
 \language english
 \inputencoding auto
 \font_roman times
@@ -50,9 +52,9 @@ your subtitle
 \end_layout
 
 \begin_layout Author
-Me
-\begin_inset Flex CharStyle:Institute
-status collapsed
+first author
+\begin_inset Flex institutemark
+status open
 
 \begin_layout Plain Layout
 1
@@ -73,8 +75,8 @@ and
 
 \end_inset
 
-You
-\begin_inset Flex CharStyle:Institute
+second author
+\begin_inset Flex institutemark
 status collapsed
 
 \begin_layout Plain Layout
@@ -87,16 +89,16 @@ status collapsed
 \end_layout
 
 \begin_layout Address
-Here 
+Address of first author 
 \begin_inset Newline newline
 \end_inset
 
 
-\begin_inset Flex CharStyle:E-Mail
-status collapsed
+\begin_inset Flex Email
+status open
 
 \begin_layout Plain Layout
-myaddress
+email of first author
 \end_layout
 
 \end_inset
@@ -109,21 +111,21 @@ status collapsed
 
 
 \backslash
-and
+and 
 \end_layout
 
 \end_inset
 
- There
+Address of second author
 \begin_inset Newline newline
 \end_inset
 
 
-\begin_inset Flex CharStyle:E-Mail
+\begin_inset Flex Email
 status collapsed
 
 \begin_layout Plain Layout
-youraddress
+email of second author
 \end_layout
 
 \end_inset
@@ -144,17 +146,9 @@ Received ...; Accepted...
 status open
 
 \begin_layout Plain Layout
-This template uses the new 
-\begin_inset Quotes eld
-\end_inset
-
-Structured Abstract
-\begin_inset Quotes erd
-\end_inset
-
- approach that is implemented and recommended as of A&A version 6.0.
+This template uses the structured abstract style.
  If you want to use the traditional, unstructured abstract, you have to
- insert the 
+ add 
 \begin_inset Quotes eld
 \end_inset
 
@@ -162,12 +156,12 @@ traditabstract
 \begin_inset Quotes erd
 \end_inset
 
- document option into 
+ to the document options in 
 \family sans
 Document\SpecialChar \menuseparator
 Settings\SpecialChar \menuseparator
 Document Class\SpecialChar \menuseparator
- Options
+Options
 \family default
  and remove the red braces (
 \begin_inset ERT
@@ -181,6 +175,11 @@ status collapsed
 \end_inset
 
 ).
+ See the 
+\family sans
+aa_sample.lyx
+\family default
+ example file that comes with LyX.
 \end_layout
 
 \end_inset