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/aaprep.cls	2013-03-08 17:16:33.618981443 +0100
@@ -1,5 +1,5 @@
 % This is aa.cls
-% A&A DOCUMENT CLASS -- version 6.1 for LaTeX2e
+% A&A DOCUMENT CLASS -- version 7.0 for LaTeX2e
 %
 % LaTeX document class for Astronomy and Astrophysics journal
 %
@@ -21,7 +21,7 @@
 %%   Grave accent  \`     Left brace    \{     Vertical bar  \|
 %%   Right brace   \}     Tilde         \~}
 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesClass{aa}[2006/06/01 v6.1
+\ProvidesClass{aa}[2010/20/02 v7.0
 ^^JLaTeX document class for Astronomy and Astrophysics journal]
 \newcommand\@ptsize{}
 \newif\if@restonecol
@@ -72,7 +72,7 @@
 \DeclareOption{rnote}{\@rnotetrue}
 \DeclareOption{oldversion}{\@oldversiontrue}
 %% January 2008 - abstract
-\DeclareOption{tradiabstract}{\@oldversiontrue}
+\DeclareOption{traditabstract}{\@oldversiontrue}
 \DeclareOption{structabstract}{\@oldversionfalse}
 \DeclareOption{letter}{\@lettertrue}
 %
@@ -207,10 +207,18 @@
 \renewcommand\dbltopfraction{.9}
 \renewcommand\dblfloatpagefraction{.95}
 %
+%% Januray 2010
+\def\ps@firstplain{%
+    \def\@oddfoot{\hfill\small\thepage}
+    \let\@evenfoot\@empty
+    \let\@evenhead\@empty
+    \let\@oddhead\@empty}%
+%
 \def\ps@headings{%
-    \let\@oddfoot\@empty\let\@evenfoot\@empty
-    \def\@evenhead{\small\rlap{\thepage}\hfil\leftmark\hfil}%
-    \def\@oddhead{\small\hfil\rightmark\hfil\llap{\thepage}}%
+    \def\@oddfoot{\hfill\small\thepage}
+    \def\@evenfoot{\small\thepage\hfill}
+    \def\@evenhead{\hfil\leftmark\hfil}%
+    \def\@oddhead{\small\hfil\rightmark\hfil}%
     \let\@mkboth\@gobbletwo
     \let\sectionmark\@gobble
     \let\subsectionmark\@gobble
@@ -320,8 +328,8 @@
  \begingroup
  \parindent=0pt
  \parskip=0pt
- \setcounter{inst}{1}%
- \def\and{\par\stepcounter{inst}%
+ \refstepcounter{inst}%July 2009
+ \def\and{\par\refstepcounter{inst}%July 2009
  \hangindent\instindent
  \noindent
  \hbox to\instindent{\hss$^{\theinst}$\enspace}\ignorespaces}%
@@ -412,7 +420,7 @@

 \def\maketitle{\par
 \ch@ckobl{journalname}{Noname}
-\ch@ckobl{date}{Preprint online version: \today}
+\ch@ckobl{date}{}
 \ch@ckobl{title}{A title should be given}
 \ch@ckobl{author}{Name(s) and initial(s) of author(s) should be given}
 \ch@ckobl{institute}{Address(es) of author(s) should be given}
@@ -443,7 +451,8 @@
  \else
    \twocolumn[\@maketitle]%
  \fi
- \thispagestyle{empty}
+%% January 2010 \thispagestyle{empty}
+ \thispagestyle{firstplain}
  \global\@topnum\z@
  \if@normhead
     \@thanks
@@ -541,23 +550,7 @@
 {\fontsize{18}{21}\selectfont\sffamily\bfseries Astrophysics}
 \end{tabular}}\copy254}

-\def\makeheadbox{{
-\hbox to\textwidth{%
-\if!\@idline!
-\hbox to0pt{\vbox{\hsize=40cc
-\baselineskip=12pt\hrule\hbox
-{\vrule\kern3pt\vbox{\kern3pt
-\hb@xt@ 40cc{{\sl\@journalname}\ manuscript no.~\jobname \hfill\copyright~ESO~\the\year}
-\if!\@msnr!\hbox{\today}\else
-\hb@xt@ 30cc{\hfil\strut\LARGE\bfseries\smash{\@msnr}}\fi
-\kern3pt}\hfil\kern3pt\vrule}\hrule}\hss}\hfill
-\else
-\vbox{\baselineskip=11pt
-\hbox{\@idline}
-\hbox{\@doi}
-\hbox{\small\rm \copyright~ESO~\the\year}}
-\hfill\AALogo
-\fi}}}
+\def\makeheadbox{}

 \def\@maketitle{\newpage
  \normalfont
@@ -947,13 +940,13 @@
 \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}}
+\addtocounter{table}{-1}\onecolumn\small#2\twocolumn\normalsize}\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}}
+\addtocounter{table}{-1}\onecolumn\small#2\twocolumn\normalsize}\setcounter{table}{#1}}
 \long\def\longtab#1#2{\setlength{\LTcapwidth}{\textwidth}%
-\setcounter{table}{#1}\addtocounter{table}{-1}\onecolumn#2\twocolumn\setcounter{table}{#1}}
+\setcounter{table}{#1}\addtocounter{table}{-1}\onecolumn\small#2\twocolumn\normalsize\setcounter{table}{#1}}
 \long\def\longtabL#1#2{\setlength{\LTcapwidth}{\textheight}%
-\setcounter{table}{#1}\addtocounter{table}{-1}\onecolumn#2\twocolumn\setcounter{table}{#1}}
+\setcounter{table}{#1}\addtocounter{table}{-1}\onecolumn\small#2\twocolumn\normalsize\setcounter{table}{#1}}
 %
 % Define \acknowledgements
 \def\acknowledgements{\par\addvspace{6pt}\tiny\rm
@@ -1144,7 +1137,16 @@
 \trivlist\item[\hskip\labelsep
 {\it\noteaddname}]}
 \def\endnoteadd{\endtrivlist\addvspace{6pt}}
-
+% July 2009
+\def\tablefoot#1{\par\vspace*{2ex}%
+ \parbox{\hsize}{\leftskip0pt\rightskip0pt
+ {\noindent\small\textbf{Notes.}~#1\par}}}
+\def\tablefootmark#1{$^{#1}$\,\ignorespaces}
+\def\tablefoottext#1#2{$^{(#1)}$~#2}
+\def\tablebib#1{\par\vspace*{2ex}%
+ \parbox{\hsize}{\leftskip0pt\rightskip0pt
+ {\noindent\small\textbf{References.}~#1\par}}}
+%%%
 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
@@ -1230,7 +1232,7 @@
            \renewcommand\theenumiv{\@arabic\c@enumiv}}%
       \sloppy\clubpenalty4000\widowpenalty4000%
       \sfcode`\.\@m}
-     {\endlist\par\endgroup\if@longauth\kern6pt\hrule\kern6pt\institutename\@longauthfalse\fi
+     {\endlist\par\endgroup%
       \def\@noitemerr{\@latex@warning{Empty `thebibliography' environment}}}%


@@ -1318,7 +1320,7 @@
   \def\baselinestretch{1.5}
   \let\AALogo\relax
   \onecolumn
-  \AtEndDocument{\listofobjects}
+  \AtEndDocument{\if@longauth\kern6pt\hrule\kern6pt\institutename\@longauthfalse\fi\listofobjects}
 \else
 \if@onecolumn
 \onecolumn
@@ -1641,7 +1643,8 @@
 %
 \uchyph=0
 %
-\long\def\Online{\if@online\else\@onlinetrue
+\long\def\Online{\if@longauth\kern6pt\hrule\kern6pt\institutename\@longauthfalse\fi%
+\if@online\else\@onlinetrue
 \clearpage
 \def\ps@Onlheadings{%
     \let\@oddfoot\@empty\let\@evenfoot\@empty
@@ -1658,24 +1661,8 @@
 %% \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}}{}
+\AtBeginDocument{\@ifpackageloaded{natbib}{\let\bibpreamble\relax\let\bibfont\tiny}{}%July 2009
+\@ifpackagewith{amsmath}{fleqn}{\setlength{\mathindent}{0mm}}{}
 \@ifpackageloaded{longtable}{%
 \def\LT@makecaption#1#2#3{%
   \LT@mcol\LT@cols c{\hbox to\z@{\hss\parbox[t]\LTcapwidth{%
@@ -1688,6 +1675,7 @@
     \endgraf\vskip\baselineskip}%
   \hss}}}}{}
 }%AtBeginDocument
+\AtEndDocument{\if@longauth\kern6pt\hrule\kern6pt\institutename\@longauthfalse\fi}
 %
 \endinput
 %%

 

Close Window
 
  The service has been written by
Heinrich Stamerjohanns