arxmliv
arxmliv build tool
 
KWARC group
LaTeXML
About
   
 

Back to Homepage

--- /arXMLiv/repos/arXMLiv/trunk/sty/0089.cls	2010-04-01 16:55:29.000000000 +0200
+++ /arXMLiv/repos/arXMLiv/trunk/sty/aa6.cls	2010-04-03 07:06:24.000000000 +0200
@@ -1,5 +1,5 @@
 % This is aa.cls
-% A&A DOCUMENT CLASS -- version 6.1 for LaTeX2e
+% A&A DOCUMENT CLASS -- version 6.0 for LaTeX2e
 %
 % LaTeX document class for Astronomy and Astrophysics journal
 %
@@ -21,12 +21,13 @@
 %%   Grave accent  \`     Left brace    \{     Vertical bar  \|
 %%   Right brace   \}     Tilde         \~}
 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesClass{aa}[2006/06/01 v6.1
+\ProvidesClass{aa}[2005/06/30 v6.0
 ^^JLaTeX document class for Astronomy and Astrophysics journal]
 \newcommand\@ptsize{}
 \newif\if@restonecol
 \newif\if@titlepage
 \@titlepagefalse
+%% June 2005
 \newif\if@longauth
 \@longauthfalse
 \newif\if@online
@@ -35,9 +36,6 @@
 \@rnotefalse
 \newif\if@oldversion
 \@oldversionfalse
-\newif\if@letter
-\@letterfalse
-
 %
 \DeclareOption{a4paper}
    {\setlength\paperheight {297mm}%
@@ -68,13 +66,10 @@
    \renewcommand\newblock{\par}}%
 }
 %
+%% June 2005
 \DeclareOption{longauth}{\@longauthtrue}
 \DeclareOption{rnote}{\@rnotetrue}
 \DeclareOption{oldversion}{\@oldversiontrue}
-%% January 2008 - abstract
-\DeclareOption{tradiabstract}{\@oldversiontrue}
-\DeclareOption{structabstract}{\@oldversionfalse}
-\DeclareOption{letter}{\@lettertrue}
 %
 \let\if@runhead\iffalse
 \DeclareOption{runningheads}{\let\if@runhead\iftrue}
@@ -95,7 +90,7 @@
 \if\@ptsize 0
 %
    \renewcommand\normalsize{%
-      \@setfontsize\normalsize\@xpt{11}%
+      \@setfontsize\normalsize\@xpt{12}%
       \abovedisplayskip 8.55\p@ \@plus4\p@ \@minus5\p@
       \abovedisplayshortskip \z@ \@plus3\p@
       \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@
@@ -103,7 +98,7 @@
       \let\@listi\@listI}
    \normalsize
    \newcommand\small{%
-      \@setfontsize\small\@ixpt{10}%
+      \@setfontsize\small\@ixpt{11}%
       \abovedisplayskip 8.5\p@ \@plus3\p@ \@minus4\p@
       \abovedisplayshortskip \z@ \@plus2\p@
       \belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@
@@ -114,7 +109,7 @@
       \belowdisplayskip \abovedisplayskip
    }
    \newcommand\scriptsize{\@setfontsize\scriptsize\@viipt\@viiipt}
-   \newcommand\tiny{\@setfontsize\tiny\@viiipt\@ixpt}
+   \newcommand\tiny{\@setfontsize\tiny\@vipt\@viipt}
    \newcommand\large{\@setfontsize\large\@xipt{13}}
    \newcommand\Large{\@setfontsize\Large\@xivpt{16}}
    \newcommand\LARGE{\@setfontsize\LARGE\@xviipt{20}}
@@ -137,7 +132,7 @@
    \setlength\oddsidemargin   {-30\p@}
    \setlength\evensidemargin  {-30\p@}
    \setlength\marginparwidth  {48\p@}
-   \setlength\topmargin{-40pt}
+   \setlength\topmargin{-50pt}
    \setlength\footnotesep{8\p@}
    \setlength{\skip\footins}{9\p@ \@plus 4\p@ \@minus 2\p@}
    \setlength\floatsep    {12\p@ \@plus 2\p@ \@minus 2\p@}
@@ -185,8 +180,9 @@
 %
 \let\footnotesize\small
 %
-\setlength{\textwidth}{184mm}
-\setlength{\textheight}{705pt}
+\setlength{\textwidth}{180mm}
+\setlength{\textheight}{694pt}
+\setlength{\voffset}{50pt}
 %
 \setlength\lineskip{1\p@}
 \setlength\normallineskip{1\p@}
@@ -259,9 +255,11 @@
 \newdimen\headlineindent             % dimension for space between
 \headlineindent=1.166cm              % number and text of headings.
 \def\andname{and}
-\def\keywordname{Key words.}
+\def\keywordname{{\sffamily\bfseries Key words.}}
 \def\lastandname{, and}
 \def\mailname{{\it Correspondence to\/}:}
+\def\keywords{\par\addvspace\baselineskip\noindent\keywordname\
+\ignorespaces}
 \def\email#1{{e-mail: \tt#1}}
 % Used only by the publisher
 \def\AASection#1{}
@@ -285,6 +283,7 @@

 \let\@date\undefined

+%% June 2005
 \if@oldversion
 \long\def\abstract#1{\gdef\@abstract{#1}}
 \else
@@ -301,18 +300,15 @@
          {\sffamily\itshape Results.}\
          \if!#4! \@latex@error{The forth heading "Results" is mandatory in the abstract}{}
            {\it The forth heading "Results" is mandatory in the abstract}\\
-            \else\advance\number@fw@rds+1\pickupw@rd#4\let\WC@go\relax\fi
-         \if!#5! \else\\\advance\number@fw@rds+1{\sffamily\itshape Conclusions.}\ \pickupw@rd#5\let\WC@go\relax\fi
-         \ifnum\number@fw@rds>400
+            \else\advance\number@fw@rds+1\pickupw@rd#4\\\let\WC@go\relax\fi
+         \if!#5! \else\advance\number@fw@rds+1{\sffamily\itshape Conclusions.}\ \pickupw@rd#5\let\WC@go\relax\fi
+         \ifnum\number@fw@rds>310
          \@latex@error{Around \number\number@fw@rds\space words in the abstract instead of 300}{}
          \else\relax\fi}}
 \fi

+%% June 2005
 \def\keywords#1{\gdef\@keywords{#1}}
-%% January 2007
-\def\topics#1{\gdef\@topics{#1}}
-\def\@topics{}
-

 \def\institute#1{\gdef\@institute{#1}}

@@ -395,6 +391,7 @@
      \noindent\hbox to\parindent{\hss$\m@th^{\@thefnmark}$ }##1}%
 }

+%% June 2005
 \newcommand\errorref{\@latex@error{Citations are not allowed in the abstract}{}}
 \newenvironment{stopref}{\let\cite\errorref\let\citet\errorref\let\citep\errorref}{}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -412,6 +409,7 @@

 \def\maketitle{\par
 \ch@ckobl{journalname}{Noname}
+%% June 2005
 \ch@ckobl{date}{Preprint online version: \today}
 \ch@ckobl{title}{A title should be given}
 \ch@ckobl{author}{Name(s) and initial(s) of author(s) should be given}
@@ -422,6 +420,7 @@
 \ch@ckoblabs{abstract}{An abstract should be given}{An abstract should be given}
 {An abstract should be given}{An abstract should be given}{An abstract should be given}
 \fi
+%%June 2005
 \ch@ckobl{keywords}{Keywords should be given}
 \begingroup
     \begin{stopref}
@@ -493,6 +492,7 @@
        {\def\and{\noexpand\protect\noexpand\and}%
        \protected@xdef\@author{\@author}}
     \fi
+%% June 2005
     \global\setbox\authrun=\hbox{\small\unboldmath\@author\unskip:
                                  \unhbox\titrun\if@rnote~\itshape\rnotname\fi}%
     \ifdim\wd\authrun>\instindent
@@ -522,8 +522,7 @@
  \global\let\@title\@empty
  \global\let\@subtitle\@empty
  \global\let\@abstract\@empty
-%%January 2007
- \global\let\@topics\@empty
+%% June 2005
  \global\let\@keywords\@empty
  \global\let\keywords\relax
  \global\let\title\relax
@@ -541,6 +540,7 @@
 {\fontsize{18}{21}\selectfont\sffamily\bfseries Astrophysics}
 \end{tabular}}\copy254}

+%% June 2005
 \def\makeheadbox{{
 \hbox to\textwidth{%
 \if!\@idline!
@@ -567,36 +567,26 @@
  \if@normhead
     \setbox\authrun=\vbox\bgroup
  \fi
-%% January 2007
- \if!\@topics!\vskip32pt\else
- \vskip24pt
- {\fontsize{12}{14}\selectfont\sffamily {\itshape \@topics} \hfill \fontsize{17}{20}\selectfont\sffamily Special feature}
- \vskip12pt
- \fi
  \begin{center}
-%% Januray 2007
-%% \vskip24pt
- \if@letter{\large \lettername}\fi
+  \vskip24pt
  {\LARGE \sffamily\bfseries\boldmath
   \hrule\@height\logodepth\@width\z@
   \pretolerance=10000
-  \vspace*{-12pt}
-  \pretolerance=10000
  \if!\@headnote!\else
    \noindent
    {\normalfont\itshape\ignorespaces\@headnote\par}\vskip 3.5mm
  \fi
   \noindent\ignorespaces
   \@title
+%% June 2005
   \if@rnote \\ \itshape \rnotename \fi
-  \par}
- \vskip 8pt\relax
+  \par}\vskip 14pt\relax
  \if!\@subtitle!\else
    {\Large \sffamily\bfseries\boldmath
    \pretolerance=10000
-   \noindent\ignorespaces\@subtitle \par}\vskip 10pt
+   \noindent\ignorespaces\@subtitle \par}\vskip 14pt
  \fi
-%% \lineskip .5em
+ \lineskip .5em
  \setbox0=\vbox{\setcounter{auth}{1}\def\and{\stepcounter{auth} }%
                 \hfuzz=2\textwidth\def\thanks##1{}\@author}%
  \value{inst}=\value{auth}%
@@ -606,9 +596,8 @@
  \vskip6pt
 \small\rm
  \if@longauth {\it (Affiliations can be found after the references)}  \else
- \leftskip=.8cm\rightskip=\leftskip
  \institutename\fi
- \vskip 8pt \noindent\@date
+ \vskip 12pt \noindent\@date
  \if!\@dedic!\else
     \par
     \normalsize\it
@@ -616,7 +605,7 @@
     \noindent\@dedic
  \fi
  \if@longauth \end{center} \fi
- \vskip 8pt
+ \vskip 12pt
  \small\rm
  \if!\@abstract!\else
   \begin{center}
@@ -624,8 +613,7 @@
   \end{center}
   \@abstract
  \fi
- \vskip 6pt
- \small\rm
+ \vskip 12pt
  \if!\@keywords!\else
  \noindent{\sffamily\bfseries\keywordname}\ \@keywords
  \fi
@@ -734,9 +722,9 @@
 \def\section{\@startsection{section}{1}{\z@}%
     {-16dd plus-4pt minus-4pt}{6dd}{\large\sffamily\bfseries}}
 \def\subsection{\@startsection{subsection}{2}{\z@}%
-    {-16dd}{6dd}{\normalsize\sffamily\itshape}}
+    {-16dd}{6dd}{\large\sffamily\itshape}}
 \def\subsubsection{\@startsection{subsubsection}{3}{\z@}%
-    {-16dd}{6dd}{\normalsize\sffamily}}
+    {-16dd}{6dd}{\large\sffamily}}
 \def\paragraph{\@startsection{paragraph}{4}{\z@}%
     {-16dd}{-1pt}{\normalsize\sffamily}}

@@ -905,6 +893,7 @@
 \def\squareforqed{\hbox{\rlap{$\sqcap$}$\sqcup$}}
 \def\qed{\ifmmode\else\unskip\quad\fi\squareforqed}
 %
+%% June 2005 - a space between #1 and #2 has been added
 \newdimen\figgap\figgap=1cc
 \long\def\@makesidecaption#1#2{%
    \parbox[b]{\@tempdima}{\captionstyle{\floatlegendstyle
@@ -943,20 +932,8 @@
     \@makesidecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par
   \endgroup}
 %
-% Online material
-\long\def\onlfig#1#2{\AtEndDocument{\Online\setcounter{figure}{#1}\addtocounter{figure}{-1}#2}\setcounter{figure}{#1}}
-\long\def\onltab#1#2{\AtEndDocument{\Online\setcounter{table}{#1}\addtocounter{table}{-1}#2}\setcounter{table}{#1}}
-\long\def\onllongtab#1#2{\AtEndDocument{\Online\setlength{\LTcapwidth}{\textwidth}\setcounter{table}{#1}%
-\addtocounter{table}{-1}\onecolumn#2\twocolumn}\setcounter{table}{#1}}
-\long\def\onllongtabL#1#2{\AtEndDocument{\Online\setlength{\LTcapwidth}{\textheight}\setcounter{table}{#1}%
-\addtocounter{table}{-1}\onecolumn#2\twocolumn}\setcounter{table}{#1}}
-\long\def\longtab#1#2{\setlength{\LTcapwidth}{\textwidth}%
-\setcounter{table}{#1}\addtocounter{table}{-1}\onecolumn#2\twocolumn\setcounter{table}{#1}}
-\long\def\longtabL#1#2{\setlength{\LTcapwidth}{\textheight}%
-\setcounter{table}{#1}\addtocounter{table}{-1}\onecolumn#2\twocolumn\setcounter{table}{#1}}
-%
 % Define \acknowledgements
-\def\acknowledgements{\par\addvspace{6pt}\tiny\rm
+\def\acknowledgements{\par\addvspace{6pt}\small\rm
 \trivlist\item[\hskip\labelsep{\em Acknowledgements.\/}]}
 \def\endacknowledgements{\endtrivlist\addvspace{6pt}}
 %
@@ -1010,14 +987,11 @@
      \fi
     }
 \fi
-% Appendix
-\newcounter{append}
-\setcounter{append}{0}
-\newenvironment{appendix}{\par
+\newcommand\appendix{\par
 \def\@hangfrom##1{\setbox\@tempboxa\hbox{{##1}}%
       \hangindent \parindent\noindent\box\@tempboxa}
 \def\@seccntformat##1{\csname theap##1\endcsname\hskip\betweenumberspace}
-  \setcounter{section}{\value{append}}%
+  \setcounter{section}{0}%
   \setcounter{subsection}{0}%
   \setcounter{figure}{0}%
   \setcounter{table}{0}%
@@ -1037,19 +1011,6 @@
   \setcounter{figure}{0}%
   \def\thefigure{\@Alph\c@section\@arabic\c@auth\alph{figure}}%
   \def\resetsubfig{\setcounter{figure}{\value{auth}}}}}
-{
-  \setcounter{section}{0}%
-  \setcounter{subsection}{0}%
-  \setcounter{figure}{0}%
-  \setcounter{table}{0}%
-  \renewcommand\thesection{\c@section}%
-  \renewcommand\thesubsection{\@arabic\c@subsection}%
-  \renewcommand\thesubsubsection{\@arabic\c@subsubsection}%
-  \renewcommand\theequation{\@arabic\c@equation}%
-  \renewcommand\thefigure{\@arabic\c@figure}%
-  \renewcommand\thetable{\@arabic\c@table}%
-  \addtocounter{append}{1}
-}
 %
 \setlength\arraycolsep{2.5\p@}
 \setlength\tabcolsep{6\p@}
@@ -1083,10 +1044,10 @@
 \def\ext@table{lot}
 \def\fnum@table{\tablename~\thetable}
 \newenvironment{table}
-               {\small\@float{table}}
+               {\@float{table}}
                {\end@float}
 \newenvironment{table*}
-               {\small\@dblfloat{table}}
+               {\@dblfloat{table}}
                {\end@dblfloat}

 \def \@floatboxreset {%
@@ -1135,7 +1096,7 @@
    \vskip\tabcapgap
  \fi}
 % Define `acknowledgement' environment
-\def\acknowledgement{\par\addvspace{17pt}\tiny\rm
+\def\acknowledgement{\par\addvspace{17pt}\small\rm
 \trivlist\item[\hskip\labelsep
 {\it\ackname}]}
 \def\endacknowledgement{\endtrivlist\addvspace{6pt}}
@@ -1219,7 +1180,7 @@
 \def\@cite#1#2{{#1\if@tempswa , #2\fi}}
 \newenvironment{thebibliography}[1]
      {\begingroup\section*{{\normalsize\refname}
-        \@mkboth{\refname}{\refname}}\tiny
+        \@mkboth{\refname}{\refname}}\small
       \list{\@biblabel{\@arabic\c@enumiv}}%
            {\settowidth\labelwidth{\@biblabel{#1}}%
            \leftmargin\bibindent
@@ -1230,9 +1191,8 @@
            \renewcommand\theenumiv{\@arabic\c@enumiv}}%
       \sloppy\clubpenalty4000\widowpenalty4000%
       \sfcode`\.\@m}
-     {\endlist\par\endgroup\if@longauth\kern6pt\hrule\kern6pt\institutename\@longauthfalse\fi
-      \def\@noitemerr{\@latex@warning{Empty `thebibliography' environment}}}%
-
+%% June 2005
+     {\endlist\par\endgroup \def\@noitemerr{\@latex@warning{Empty `thebibliography' environment}}}%

 \newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
 \let\@openbib@code\@empty
@@ -1293,10 +1253,10 @@
 \newcommand\tablename{Table}
 \newcommand\partname{Part}
 \newcommand\appendixname{Appendix}
+%% June 2005
 \newcommand\abstractname{ABSTRACT}
 \newcommand\rnotename{(Research Note)}
 \newcommand\rnotname{(RN)}
-\newcommand\lettername{\textsc{Letter to the Editor}}
 \newcommand\ackname{Acknowledgements.}
 \newcommand\noteaddname{Note added in proof}
 \newcommand\today{}
@@ -1304,7 +1264,7 @@
   January\or February\or March\or April\or May\or June\or
   July\or August\or September\or October\or November\or December\fi
   \space\number\day, \number\year}
-\setlength\columnsep{12pt}
+\setlength\columnsep{4mm}
 \setlength\columnseprule{0\p@}
 \frenchspacing
 \clubpenalty=10000
@@ -1318,7 +1278,7 @@
   \def\baselinestretch{1.5}
   \let\AALogo\relax
   \onecolumn
-  \AtEndDocument{\listofobjects}
+  \AtEndDocument{\listofobjects}%
 \else
 \if@onecolumn
 \onecolumn
@@ -1485,6 +1445,7 @@
 to0pt{\kern0.4\wd0\vrule height0.9\ht0\hss}\box0}}
 {\setbox0=\hbox{$\scriptscriptstyle\rm C$}\hbox{\hbox
 to0pt{\kern0.4\wd0\vrule height0.9\ht0\hss}\box0}}}}
+%%% June 2002
 \def\bbbq{{\mathchoice {\setbox0=\hbox{$\displaystyle\rm
 Q$}\hbox{\raise
 0.05\ht0\hbox to0pt{\kern0.4\wd0\vrule height0.9\ht0\hss}\box0}}
@@ -1640,8 +1601,11 @@
 \let\applopt=\ao
 %
 \uchyph=0
-%
-\long\def\Online{\if@online\else\@onlinetrue
+%% June 2005
+\AtEndDocument{\listofobjects
+\if@online\else\if@longauth\hrule\kern6pt\institutename\fi\fi}
+\long\def\Online{
+\@onlinetrue\if@longauth\hrule\kern6pt\institutename\fi
 \clearpage
 \def\ps@Onlheadings{%
     \let\@oddfoot\@empty\let\@evenfoot\@empty
@@ -1653,42 +1617,10 @@
     }
 \setcounter{page}{1}
 \pagestyle{Onlheadings}
-%% 2008
-%% \twocolumn[\vspace*{4cm}\noindent{\sffamily\bfseries\Huge\centerline{Online Material}}]
-%% \vfill
-%% \clearpage
-\fi}
-\AtBeginDocument{\@ifpackageloaded{natbib}{\let\bibpreamble\relax\newcommand{\bibfont}{\tiny}%
-\renewenvironment{thebibliography}[1]{%
- \bibsection\parindent \z@\bibpreamble\bibfont\list
-   {\@biblabel{\arabic{NAT@ctr}}}{\@bibsetup{#1}%
-    \setcounter{NAT@ctr}{0}}%
-    \ifNAT@openbib
-      \renewcommand\newblock{\par}
-    \else
-      \renewcommand\newblock{\hskip .11em \@plus.33em \@minus.07em}%
-    \fi
-    \sloppy\clubpenalty4000\widowpenalty4000
-    \sfcode`\.=1000\relax
-    \let\citeN\cite \let\shortcite\cite
-    \let\citeasnoun\cite
- }{\if@longauth\kern6pt\hrule\kern6pt\institutename\@longauthfalse\fi\def\@noitemerr{%
-  \PackageWarning{natbib}
-     {Empty `thebibliography' environment}}%
-  \endlist\vskip-\lastskip}}{}
-\@ifpackageloaded{longtable}{%
-\def\LT@makecaption#1#2#3{%
-  \LT@mcol\LT@cols c{\hbox to\z@{\hss\parbox[t]\LTcapwidth{%
-    \small\sbox\@tempboxa{#1{{\bfseries#2.} }#3}%
-    \ifdim\wd\@tempboxa>\hsize
-      #1{{\bfseries#2.} }#3%
-    \else
-      \hbox to\hsize{\box\@tempboxa\hfil}%
-    \fi
-    \endgraf\vskip\baselineskip}%
-  \hss}}}}{}
-}%AtBeginDocument
-%
+\twocolumn[\vspace*{4cm}\noindent{\sffamily\bfseries\Huge\centerline{Online Material}}]
+\vfill
+\clearpage
+}
 \endinput
 %%
 %% End of file `aa.cls'.

 

Close Window
 
  The service has been written by
Heinrich Stamerjohanns