arxmliv
arxmliv build tool
 
KWARC group
LaTeXML
About
   
 

Back to Homepage

--- /arXMLiv/repos/arXMLiv/trunk/sty/aawithoutcopy.cls	2010-04-01 16:15:59.000000000 +0200
+++ /arXMLiv/repos/arXMLiv/trunk/sty/ab.cls	2010-04-01 15:31:15.000000000 +0200
@@ -1,7 +1,8 @@
 % This is aa.cls
-% A&A DOCUMENT CLASS -- version 6.0 for LaTeX2e
+% A&A DOCUMENT CLASS -- version 5.2 for LaTeX2e
 %
-% LaTeX document class for Astronomy and Astrophysics journal
+% LaTeX document class for Astrophysical Bulletin
+% This file was modificated  by A. Moiseev
 %
 %%
 %%
@@ -21,22 +22,12 @@
 %%   Grave accent  \`     Left brace    \{     Vertical bar  \|
 %%   Right brace   \}     Tilde         \~}
 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesClass{aa}[2005/06/30 v6.0
-^^JLaTeX document class for Astronomy and Astrophysics journal]
+\ProvidesClass{azh}[2002/06/10 v5.2
+^^JLaTeX document class for Astrophysical Bulletin  journal]
 \newcommand\@ptsize{}
 \newif\if@restonecol
 \newif\if@titlepage
 \@titlepagefalse
-%% June 2005
-\newif\if@longauth
-\@longauthfalse
-\newif\if@online
-\@onlinefalse
-\newif\if@rnote
-\@rnotefalse
-\newif\if@oldversion
-\@oldversionfalse
-%
 \DeclareOption{a4paper}
    {\setlength\paperheight {297mm}%
     \setlength\paperwidth  {210mm}}
@@ -66,11 +57,6 @@
    \renewcommand\newblock{\par}}%
 }
 %
-%% June 2005
-\DeclareOption{longauth}{\@longauthtrue}
-\DeclareOption{rnote}{\@rnotetrue}
-\DeclareOption{oldversion}{\@oldversiontrue}
-%
 \let\if@runhead\iffalse
 \DeclareOption{runningheads}{\let\if@runhead\iftrue}
 \let\if@envcntreset\iffalse
@@ -85,7 +71,7 @@
 %
 \ExecuteOptions{a4paper,twoside,twocolumn,fleqn,final,10pt,runningheads}
 \ProcessOptions
-\AtEndOfClass{\mathindent\z@}
+\AtEndOfClass{\mathindent\z@\let\abstract=\aaabstract}
 %
 \if\@ptsize 0
 %
@@ -182,7 +168,7 @@
 %
 \setlength{\textwidth}{180mm}
 \setlength{\textheight}{694pt}
-\setlength{\voffset}{50pt}
+%\setlength{\voffset}{-1.2cm}
 %
 \setlength\lineskip{1\p@}
 \setlength\normallineskip{1\p@}
@@ -273,7 +259,7 @@
 \newtoks\titlerunning

 \def\journalname#1{\gdef\@journalname{#1}}
-\gdef\@journalname{Astronomy \&\ Astrophysics}
+\gdef\@journalname{Astrophysical Bulletin, vol. 63, No.2, 2008, pp.181-192}

 \def\headnote#1{\gdef\@headnote{#1}}
 \def\@headnote{}
@@ -283,32 +269,7 @@

 \let\@date\undefined

-%% June 2005
-\if@oldversion
-\long\def\abstract#1{\gdef\@abstract{#1}}
-\else
-\long\def\abstract#1#2#3#4#5{\gdef\@abstract{\number@fw@rds=0%
-         \if!#1!\advance\number@fw@rds-1 \else{\sffamily\itshape Context.}\ \pickupw@rd#1\\\let\WC@go\relax\fi
-         {\sffamily\itshape Aims.}\
-         \if!#2! \@latex@error{The second heading "Aims" is mandatory in the abstract}{}
-           {\it The second heading "Aims" is mandatory in the abstract}\\
-           \else\advance\number@fw@rds+1\pickupw@rd#2\\\let\WC@go\relax\fi
-         {\sffamily\itshape Methods.}\
-         \if!#3! \@latex@error{The third heading "Methods" is mandatory in the abstract}{}
-           {\it The third heading "Methods" is mandatory in the abstract}\\
-           \else\advance\number@fw@rds+1\pickupw@rd#3\\\let\WC@go\relax\fi
-         {\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
-         \@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}}
+\long\def\aaabstract#1{\gdef\@abstract{#1}}

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

@@ -375,12 +336,6 @@
   \csname #1\endcsname{#2}}
  {}}

-\def\ch@ckoblabs#1#2#3#4#5#6{\@ifundefined{@#1}
- {\typeout{A\string&A warning: Missing
-\expandafter\string\csname#1\endcsname}%
-  \csname #1\endcsname{#2}{#3}{#4}{#5}{#6}}
- {}}
-
 \newif\if@normhead \@normheadtrue
 \def\hugehead{\@normheadfalse
 \onecolumn
@@ -391,41 +346,19 @@
      \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}{}
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% This counts the words. This is an extract of  "gvol.sty,
-% written by Ivan Andrus (gvol@math.byu.edu)
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-  \newcount\number@fw@rds
-  \long\def\pickupw@rd#1 {%
-    \let\WC@go\pickupw@rd #1
-    \advance\number@fw@rds+1
-    \expandafter\WC@go
-   }
-% End of wordcount section
-
 \def\maketitle{\par
 \ch@ckobl{journalname}{Noname}
-%% June 2005
-\ch@ckobl{date}{Preprint online version: \today}
+\ch@ckobl{date}{the date of receipt and acceptance should be inserted
+later}
 \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}
-\if@oldversion
 \ch@ckobl{abstract}{An abstract should be given}
-\else
-\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}
+%
     \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
     \def\@makefnmark{$^{\@thefnmark}$}%
+%
  \def\lastand{\ifnum\value{inst}=2\relax
                  \unskip{} \andname\
               \else
@@ -492,10 +425,10 @@
        {\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}%
+                                 \unhbox\titrun}%
     \ifdim\wd\authrun>\instindent
+%
     \typeout{^^JA\string&A Warning: The running head built automatically
              from \string\author\space and \string\title
              ^^Jexceeds the pagewidth, please supply a shorter form
@@ -509,7 +442,6 @@
     \markboth{\@author}{\@author}%
  \fi
 %
- \end{stopref}
  \endgroup
  \setcounter{footnote}{0}
  \setcounter{footnote}{0}%
@@ -522,12 +454,9 @@
  \global\let\@title\@empty
  \global\let\@subtitle\@empty
  \global\let\@abstract\@empty
-%% June 2005
- \global\let\@keywords\@empty
- \global\let\keywords\relax
  \global\let\title\relax
  \global\let\author\relax
- \global\let\abstract\relax
+ \global\let\aabstract\relax
  \global\let\date\relax
  \global\let\and\relax}

@@ -540,22 +469,22 @@
 {\fontsize{18}{21}\selectfont\sffamily\bfseries Astrophysics}
 \end{tabular}}\copy254}

-%% June 2005
 \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}\ }
-\if!\@msnr!\hbox{\today}\else
+\hb@xt@ 40cc{{\sl\@journalname}\  \hfill\today}
+\if!\@msnr!\hbox{{Translated from Astrofizicheskii Bulluten, vol.63, No.2,
+2008, pp. 193-204 }}\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}}
+\hbox{\small\rm \copyright~ESO~\year}}
 \hfill\AALogo
 \fi}}}

@@ -577,10 +506,7 @@
    {\normalfont\itshape\ignorespaces\@headnote\par}\vskip 3.5mm
  \fi
   \noindent\ignorespaces
-  \@title
-%% June 2005
-  \if@rnote \\ \itshape \rnotename \fi
-  \par}\vskip 14pt\relax
+  \@title \par}\vskip 14pt\relax
  \if!\@subtitle!\else
    {\Large \sffamily\bfseries\boldmath
    \pretolerance=10000
@@ -592,11 +518,11 @@
  \value{inst}=\value{auth}%
  \setcounter{auth}{1}%
  {\large \rmfamily\mdseries \noindent\ignorespaces\@author}
- \if@longauth \else \end{center} \fi
+ \end{center}
  \vskip6pt
+ \leftskip=1cm\rightskip=\leftskip
 \small\rm
- \if@longauth {\it (Affiliations can be found after the references)}  \else
- \institutename\fi
+ \institutename
  \vskip 12pt \noindent\@date
  \if!\@dedic!\else
     \par
@@ -604,20 +530,8 @@
     \addvspace\baselineskip
     \noindent\@dedic
  \fi
- \if@longauth \end{center} \fi
- \vskip 12pt
- \small\rm
- \if!\@abstract!\else
- \begin{center}
-  {\sffamily\bfseries\abstractname}\par
-  \end{center}
-  \@abstract
- \fi
  \vskip 12pt
- \if!\@keywords!\else
- \noindent{\sffamily\bfseries\keywordname}\ \@keywords
- \fi
-%
+ \noindent{\sffamily\bfseries\abstractname}\ \@abstract
  \if@normhead
     \egroup % end of header box
     \@tempdima=\headerboxheight
@@ -893,11 +807,10 @@
 \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
-                                         #1\floatcounterend}~#2}}
+                                         #1\floatcounterend}#2}}
 \def\sidecaption#1\caption{%
 \setbox\@tempboxa=\hbox{#1\unskip}%
 \if@twocolumn
@@ -1179,7 +1092,7 @@
 \def\@biblabel#1{}
 \def\@cite#1#2{{#1\if@tempswa , #2\fi}}
 \newenvironment{thebibliography}[1]
-     {\begingroup\section*{{\normalsize\refname}
+     {\section*{{\normalsize\refname}
         \@mkboth{\refname}{\refname}}\small
       \list{\@biblabel{\@arabic\c@enumiv}}%
            {\settowidth\labelwidth{\@biblabel{#1}}%
@@ -1191,9 +1104,9 @@
            \renewcommand\theenumiv{\@arabic\c@enumiv}}%
       \sloppy\clubpenalty4000\widowpenalty4000%
       \sfcode`\.\@m}
-%% June 2005
-     {\endlist\par\endgroup \def\@noitemerr{\@latex@warning{Empty `thebibliography' environment}}}%
-
+     {\def\@noitemerr
+       {\@latex@warning{Empty `thebibliography' environment}}%
+      \endlist}
 \newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
 \let\@openbib@code\@empty
 \newenvironment{theindex}
@@ -1253,10 +1166,7 @@
 \newcommand\tablename{Table}
 \newcommand\partname{Part}
 \newcommand\appendixname{Appendix}
-%% June 2005
-\newcommand\abstractname{ABSTRACT}
-\newcommand\rnotename{(Research Note)}
-\newcommand\rnotname{(RN)}
+\newcommand\abstractname{Abstract.}
 \newcommand\ackname{Acknowledgements.}
 \newcommand\noteaddname{Note added in proof}
 \newcommand\today{}
@@ -1485,8 +1395,6 @@
 % Bibliography and bibfile
 \def\aj{AJ}%
           % Astronomical Journal
-\def\actaa{Acta Astron.}%
-          % Acta Astronomica
 \def\araa{ARA\&A}%
           % Annual Review of Astron and Astrophys
 \def\apj{ApJ}%
@@ -1509,28 +1417,12 @@
           % Astronomicheskii Zhurnal
 \def\baas{BAAS}%
           % Bulletin of the AAS
-\def\bac{Bull. astr. Inst. Czechosl.}%
-          % Bulletin of the Astronomical Institutes of Czechoslovakia
-\def\caa{Chinese Astron. Astrophys.}%
-          % Chinese Astronomy and Astrophysics
-\def\cjaa{Chinese J. Astron. Astrophys.}%
-          % Chinese Journal of Astronomy and Astrophysics
-\def\icarus{Icarus}%
-          % Icarus
-\def\jcap{J. Cosmology Astropart. Phys.}%
-          % Journal of Cosmology and Astroparticle Physics
 \def\jrasc{JRASC}%
           % Journal of the RAS of Canada
-\def\mnras{MNRAS}%
-          % Monthly Notices of the RAS
 \def\memras{MmRAS}%
           % Memoirs of the RAS
-\def\na{New A}%
-          % New Astronomy
-\def\nar{New A Rev.}%
-          % New Astronomy Review
-\def\pasa{PASA}%
-          % Publications of the Astron. Soc. of Australia
+\def\mnras{MNRAS}%
+          % Monthly Notices of the RAS
 \def\pra{Phys.~Rev.~A}%
           % Physical Review A: General Physics
 \def\prb{Phys.~Rev.~B}%
@@ -1549,8 +1441,6 @@
           % Publications of the ASJ
 \def\qjras{QJRAS}%
           % Quarterly Journal of the RAS
-\def\rmxaa{Rev. Mexicana Astron. Astrofis.}%
-          % Revista Mexicana de Astronomia y Astrofisica
 \def\skytel{S\&T}%
           % Sky and Telescope
 \def\solphys{Sol.~Phys.}%
@@ -1601,26 +1491,6 @@
 \let\applopt=\ao
 %
 \uchyph=0
-%% 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
-    \def\@evenhead{\hfil\leftmark, {\it Online Material p~\thepage}\hfil}%
-    \def\@oddhead{\hfil\rightmark, {\it Online Material p~\thepage}\hfil}%
-    \let\@mkboth\@gobbletwo
-    \let\sectionmark\@gobble
-    \let\subsectionmark\@gobble
-    }
-\setcounter{page}{1}
-\pagestyle{Onlheadings}
-\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