%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% SIMPLETEXML.STY -- LaTeX2e package for composing pages of journals published %% %% by the Geophysical Center of the Russian Academy of Sciences. %% %% %% %% This package supports two-column article styles used for journals published %% %% by the GC RAS. It supports heavy hyperlinking inside and outside %% %% article, graphics, possibility to generate DVI, PS, and PDF output files, as %% %% well as generation of the XML metadata files under the current CrossRef %% %% XMLSchema 4.3.0. These enhancements work "behind the screen" and also %% %% control the consistency of "anchor-target" pairs, prevent "dubbing" targets, %% %% etc. %% %% %% %% The basic structure and number of definitions used in the SIMPLETEXML class %% %% file were compiled from RUSPAGE (ver. Jun. 1994), AGUPAPER (ver. Jan. 2000), %% %% GCRAS (ver. Mar. 2004), GIPAPER (ver. Jan. 2007), and GAMSBOOK (ver. Dec. %% %% 2008) packages written by V. Nechitailenko, GC RAS. %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% %% %% This version is 2.1, 19 April 2013 %% %% %% %% Written by Vitaly Nechitailenko, %% %% Geophysical Center RAS, e-mail: vitaly@wdcb.ru ; vnechita@gmail.com %% %% %% %% TO MAKE A PROPER REFERENCE IN CASE OF POSSIBLE ERRORS AND BUGS, %% %% PLEASE KEEP THIS FILE UNCHANGED. IN CASE OF ENTERING ANY %% %% MODIFICATIONS PLEASE USE ANOTHER FILE NAME FOR MODIFIED VERSION. %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{simpletexml}[2011/12/05 v2.0 GCRAS page style] \RequirePackage{ifthen} \RequirePackage{calc} \RequirePackage{multicol} \RequirePackage{longtable} %\RequirePackage{supertabular} \RequirePackage{makeidx} \RequirePackage{graphicx} \RequirePackage{epsf} \RequirePackage{amsmath} \RequirePackage{amssymb} \RequirePackage{tabularx} \RequirePackage[figuresright]{rotating} \RequirePackage{cmap} \RequirePackage[russian,english]{babel} \def\pdfout{dvi} %% default value \DeclareOption{dvi}{\def\pdfout{dvi}} \DeclareOption{pdf}{\def\pdfout{pdf}} \def\xml@out{xml} %% default value \DeclareOption{xml}{\gdef\xml@out{xml}} \DeclareOption{noxml}{\gdef\xml@out{noxml}} \def\html@out{html} %% default value \DeclareOption{html}{\gdef\html@out{html}} \DeclareOption{nohtml}{\gdef\html@out{nohtml}} \def\warnmes{verbose} %% default value \DeclareOption{verbose}{\def\warnmes{verbose}} \DeclareOption{silent}{\def\warnmes{silent}} \def\@lang{eng} %% default value \DeclareOption{eng}{\def\@lang{eng}\input{english.ldf}} \DeclareOption{rus}{\def\@lang{rus}\input{russianb.ldf}} \def\parnumber{nopar} %% default value \DeclareOption{nopar}{\def\parnumber{nopar}} \DeclareOption{par}{\def\parnumber{par}} \def\hyptest{hyper} %% default value \DeclareOption{hyper}{\def\hyptest{hyper}} \DeclareOption{nohyp}{\def\hyptest{nohyp}} \ProcessOptions \ExecuteOptions{a4paper,twoside} % Package and version identifiers \def\simpletexml@ver{2.0} \def\simpletexml@date{5 December 2011} \def\simpletexml@org{GCRAS} \def\simpletexml@jnl{SIMPLETEXML} \def\simpletexml@genre{page} % Display identifying message on screen and in logfile \typeout{\simpletexml@org's\space \simpletexml@jnl\space \simpletexml@genre\space style, v\simpletexml@ver\space <\simpletexml@date>.} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% PREAMBLE %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % The following macro have to be put into the preamble: % \journalid{}{}{}{} % \subident{} % {} % {} % \citnumber{S-label_of_special_section | placeholder}{two-digit_number_of_paper} % \paperid{} % \cpright{}{} % \lefthead{} % \righthead{} % \received{}{}{} % \revised{}{}{} % \accepted{}{}{} % \published{}{}{} % \siterooturl{} % \xmldepositor{}{} % \xmlregistrant{} % \gcmdterms{} % \aguterms{} % \keywords{} % NOTE: % \subident - is an optional parameter, it may be skipped or left blank. % At least one line should be non-empty to appear in the final composed version % \revised - is an optional parameter, it may be skipped or left blank. % \xmldepositor - if this command is skipped or left blank the default values are used, as defined in this package % \xmlregistrant - if this command is skipped or left blank the default value is used, as defined in this package % \originated - the content of footnote reference to originated meeting % is an abbreviation of the journal name, i.e. % BS for GEOPHYSICSL RESEARCH PAPERS SERIES % ES for RUSSIAN JOURNAL OF EARTH SCIENCES % RE for Russian version of RJES % NZ for VESTNIK ONZ PAN % PO for GEOPHYSICAL PAPERS ONLINE -- PREPRINTS % MS for MANUSCRIPTS % Warning is issued if entered journal_code does not match above list %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%% Start of CROSSREF section %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \gdef\respage{% \ifthenelse{\equal{\html@out}{html}}{%% %% Two lines below creates and opens the file \jobname.html to collect response page for CrossRef %% if SECTEXML package's option 'xml' is selected \newwrite\@htmlout \immediate\openout\@htmlout\jobname.html \@bsphack\protected@write\@htmlout{}{}\@esphack%% \@bsphack\protected@write\@htmlout{}{}\@esphack%% \@bsphack\protected@write\@htmlout{}{}\@esphack%% \@bsphack\protected@write\@htmlout{}{ }\@esphack%% \@bsphack\protected@write\@htmlout{}{\@@title}\@esphack%% \@bsphack\protected@write\@htmlout{}{}\@esphack%% \@bsphack\protected@write\@htmlout{}{}\@esphack%% \@bsphack\protected@write\@htmlout{}{}\@esphack%% \@bsphack\protected@write\@htmlout{}{}\@esphack%% \@bsphack\protected@write\@htmlout{}{}\@esphack%% \@bsphack\protected@write\@htmlout{}{}\@esphack%% \@bsphack\protected@write\@htmlout{}{}\@esphack%% \@bsphack\protected@write\@htmlout{}{}\@esphack%% \@bsphack\protected@write\@htmlout{}{}\@esphack%% \@bsphack\protected@write\@htmlout{}{}\@esphack%% \@bsphack\protected@write\@htmlout{}{}\@esphack%% \@bsphack\protected@write\@htmlout{}{}\@esphack%% \@bsphack\protected@write\@htmlout{}{}\@esphack%% \@bsphack\protected@write\@htmlout{}{}\@esphack%% \@bsphack\protected@write\@htmlout{}{}\@esphack%% \@bsphack\protected@write\@htmlout{}{}\@esphack%% \@bsphack\protected@write\@htmlout{}{}\@esphack%% \@bsphack\protected@write\@htmlout{}{}\@esphack%% \@bsphack\protected@write\@htmlout{}{
}\@esphack%% \@bsphack\protected@write\@htmlout{}{RJES    }\@esphack%% \@bsphack\protected@write\@htmlout{}{     }\@esphack%% \@bsphack\protected@write\@htmlout{}{
}\@esphack%% \@bsphack\protected@write\@htmlout{}{

RUSSIAN JOURNAL OF EARTH SCIENCES, VOL. \jour@vol, \cin@number, doi:\doi@prefix/\paper@num, \cpr@year

}\@esphack%% \@bsphack\protected@write\@htmlout{}{

}\@esphack%% \@bsphack\protected@write\@htmlout{}{

\@@title

}\@esphack%% \@bsphack\protected@write\@htmlout{}{\authmain

}\@esphack%% \@bsphack\protected@write\@htmlout{}{\affilmain

}\@esphack%% \@bsphack\protected@write\@htmlout{}{}\@esphack%% \@bsphack\protected@write\@htmlout{}{ }\@esphack%% \@bsphack\protected@write\@htmlout{}{


Abstract

}\@esphack%% \@bsphack\protected@write\@htmlout{}{}\@esphack%% \@bsphack\protected@write\@htmlout{}{

}\@esphack%% \@bsphack\protected@write\@htmlout{}{\@abstract}\@esphack%% \@bsphack\protected@write\@htmlout{}{

}\@esphack%% \@bsphack\protected@write\@htmlout{}{

Received \recv@day\space\recv@month\space\recv@year; accepted \acpt@day\space\acpt@month\space\acpt@year; published \pub@day\space\pub@month\space\pub@year.

}\@esphack%% \@bsphack\protected@write\@htmlout{}{

Keywords: \@keys

}\@esphack%% \@bsphack\protected@write\@htmlout{}{
}\@esphack%% \@bsphack\protected@write\@htmlout{}{RJES
}\@esphack%% \@bsphack\protected@write\@htmlout{}{

Citation: \authcit (\cpr@year), \@@title, \jour@abbrev, \jour@vol, \cin@number, doi:\doi@prefix/\paper@num.

}\@esphack%% \@bsphack\protected@write\@htmlout{}{Copyright 2011 by the Geophysical Center RAS
}\@esphack%% \@bsphack\protected@write\@htmlout{}{
}\@esphack%% \@bsphack\protected@write\@htmlout{}{}\@esphack%% \@bsphack\protected@write\@htmlout{}{}\@esphack%% }{}} \newcommand{\tab}{\space\space\space} % % The first XML fragment should be formed before author list % \gdef\xmlblockone{% \ifthenelse{\equal{\xml@out}{xml}}{%% %% Two lines below creates and opens the file \jobname.xml to collect metadata for CrossRef %% if SIMPLETEXML package's option 'xml' is selected \newwrite\@xmlout \immediate\openout\@xmlout\jobname.xml \@bsphack\protected@write\@xmlout{}{}\@esphack%% \@bsphack\protected@write\@xmlout{}{}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\cin@number}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\print@time}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\dep@name}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\dep@email}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\regist@name}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab\jour@fut}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab\jour@abbrev}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab\xml@issn}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab\tab20\jour@date}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab\tab\jour@vol}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab\jour@num}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab\tab\@@title}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab}\@esphack%% }{}}% % % The second XML fragment is forming author list % \gdef\xmlblocktwo{% \ifthenelse{\equal{\xml@out}{xml}}{%% \ifnum\value{atot}=1 \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab\tab}\@esphack%% \else \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab\tab}\@esphack%% \fi \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab\tab\tab\au@fname}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab\tab\tab\aut@surname}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab\tab}\@esphack%% }{}}% % % The third XML fragment should be formed before References list % \gdef\xmlblockthr{% \ifthenelse{\equal{\xml@out}{xml}}{%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab\tab\pub@mon}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab\tab\pub@day}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab\tab\pub@year}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab\tab1}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab\tab\thelstp}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab\tab\pref@pii-\jour@vol-\paper@num}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab\tab\doi@prefix/\paper@num}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab\tab\tab\print@time}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab\tab\tab\response@page@dir\paper@num.html }\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab\tab}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab}\@esphack%% }{}}% % % The fourth XML fragment completes reference list. It is called from \reference and \endreferences commands % \gdef\xmlblockfour{% \ifthenelse{\equal{\xml@out}{xml}}{%% %% Writing citation identifier to XML file \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab\tab}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab\tab\tab\ref@auth}\@esphack%% \ifthenelse{\equal{\ref@title}{\@empty}}{}{% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab\tab\tab\ref@title}%% }% \ifthenelse{\(\equal{\ref@jour}{\@empty}\) \and \(\equal{\ref@book}{\@empty}\)}{% both \ref@jour and \ref@book are empty {\bf ERROR!!! Both journal and book fields are empty.}% \typeout{}% \typeout{SIMPLETEXML ERROR!!! Both journal and book fields are empty.}% \ifthenelse{\equal{\warnmes}{silent}}{}% {\typein{Press ENTER to continue...}}% }{% \ifthenelse{\(\not\equal{\ref@jour}{\@empty}\) \and \(\not\equal{\ref@book}{\@empty}\)}{% both \refi@jour and \ref@book are filled in {\bf ERROR!!! Either journal or book fields should be defined.}% \typeout{}% \typeout{SIMPLETEXML ERROR!!! Either journal or book fields should be defined.}% \ifthenelse{\equal{\warnmes}{silent}}{}% {\typein{Press ENTER to continue...}}% }{% \ifthenelse{\equal{\ref@jour}{\@empty}}{}{% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab\tab\tab\ref@jour}\@esphack%% }% \ifthenelse{\equal{\ref@book}{\@empty}}{}{% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab\tab\tab\ref@book}\@esphack%% }}}% \ifthenelse{\equal{\ref@vol}{\@empty}}{}{% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab\tab\tab\ref@vol}\@esphack%% }% \ifthenelse{\equal{\ref@numb}{\@empty}}{}{% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab\tab\tab\ref@numb}\@esphack%% }% \ifthenelse{\equal{\ref@page}{\@empty}}{}{% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab\tab\tab\ref@page}\@esphack%% }% \ifthenelse{\equal{\ref@year}{\@empty}}{}{% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab\tab\tab\ref@year}\@esphack%% }% \ifthenelse{\equal{\ref@doi}{\@empty}}{}{% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab\tab\tab\ref@doi}\@esphack%% }% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab\tab}\@esphack%% }{}}% % % The fifth XML fragment is called from \endreferences command % \gdef\xmlblockfive{% \ifthenelse{\equal{\xml@out}{xml}}{%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab\tab}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab\tab}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab\tab}\@esphack%% \@bsphack\protected@write\@xmlout{}{\tab}\@esphack%% \@bsphack\protected@write\@xmlout{}{}\@esphack%% }{}}% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%% End of CROSSREF section %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newdimen\@fmwidth \@fmwidth=17cm %%%%%%%%%%%%%%%\newdimen\@headwidth \@headwidth=14cm \newdimen\@headwidth \newdimen\newheadwidth \newheadwidth=14cm \let\@headwidth\newheadwidth %% @headwidth is redefined to make it possible to correct header width to produce %% descending length of header lines. If necessary put just after \begin{document} %% \newheadwidth=XX.Xcm \newdimen\@fmabwidth \@fmabwidth=8.4cm \newdimen\@bodywidth \@bodywidth=20pc \newdimen\textwidth \textwidth=41pc \newdimen\textheight \textheight=9.12in \newdimen\ancil@width \ancil@width=\@bodywidth \newdimen\bottomblockheight \newlength\float@width \topmargin=-2pc %%%\topmargin=0in \headheight=9pt \headsep=12pt %%%\oddsidemargin=0in %%%\evensidemargin=0in \oddsidemargin=-1pc \evensidemargin=-1pc \parindent=0.38cm \parskip=0ex \def\@tolerant{400} \def\@verytolerant{10000} \tolerance\@tolerant \renewcommand{\normalsize}{\fontsize{9}{11}\selectfont} \renewcommand{\footnotesize}{\fontsize{8}{9}\selectfont} \newcommand{\font@reference}{\fontsize{8}{9}\selectfont} \newcommand{\font@author}{\fontsize{11}{14}\selectfont} \newcommand{\font@affil}{\fontsize{8}{9}\selectfont} \newcommand{\section@font}{\normalfont\fontsize{11}{12}\selectfont\bfseries} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% FRONT MATTER %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Journal identifier___________________________________________ \newcommand{\jrn@BS}{GEOINFORMATICS RESEARCH PAPERS} \newcommand{\jrn@ES}{RUSSIAN JOURNAL OF EARTH SCIENCES} \newcommand{\jrn@RE}{РОССИЙСКИЙ ЖУРНАЛ НАУК О ЗЕМЛЕ} \newcommand{\jrn@NZ}{ВЕСТНИК ОНЗ РАН} \newcommand{\jrn@PO}{GEOPHYSICAL PAPERS ONLINE -- PREPRINTS} \newcommand{\jrn@MS}{MANUSCRIPT} \newcommand{\jour@name}{\relax} \newcommand{\jour@fut}{\relax} \newcommand{\paper@pref}{\relax} \newcommand{\paper@suff}{\relax} \newcommand{\@issn}{\relax} \newcommand{\url@pref}{http://eos.wdcb.ru} \newcommand{\absheader}{\ifthenelse{\equal{\@lang}{rus}}{Аннотация}{Abstract}} \newcommand{\acknowtit}{\ifthenelse{\equal{\@lang}{rus}}{Благодарность}{Acknowledgment}} \newcommand{\acknowstit}{\ifthenelse{\equal{\@lang}{rus}}{Благодарности}{Acknowledgments}} \newcommand{\gpopreprint}[1]{\gdef\gpo@preprint{#1}} \gpopreprint{\@empty} \newcommand{\ofiz}{\ifthenelse{\equal{\@lang}{rus}}{из}{of}} \newboolean{id@test} \setboolean{id@test}{true} \newboolean{merge@parts} \setboolean{merge@parts}{false} \newboolean{abs@label} \setboolean{abs@label}{false} % abstract label shows if \abstract command included \newboolean{au@test} \setboolean{au@test}{true} \newboolean{au@first} \setboolean{au@first}{true} %%%\newboolean{start@label} %%%\setboolean{start@label}{false} %%%\newboolean{ref@label} %%%\setboolean{ref@label}{false} \newcommand{\pref@number}{\relax} \newcommand{\journalid}[4]{ \gdef\jour@code{#1}\gdef\jour@vol{#2}\gdef\jour@num{#3}\gdef\jour@date{#4}% % Identifying manuscript file \ifthenelse{\equal{\jour@vol}{\@empty} \and \equal{\jour@num}{\@empty} \and \equal{\jour@date}{\@empty}} {\setboolean{id@test}{false}\let\jour@name\jrn@MS \renewcommand{\font@reference}{\normalfont\fontsize{12}{24}\selectfont}% \renewcommand{\normalsize}{\fontsize{12}{24}\selectfont}% \renewcommand{\footnotesize}{\fontsize{12}{24}\selectfont} \renewcommand{\font@author}{\fontsize{12}{24}\selectfont} \renewcommand{\font@affil}{\fontsize{12}{24}\selectfont} \renewcommand{\section@font}{\normalfont\fontsize{14}{24}\selectfont\bfseries} \parindent=2pc \textwidth=38pc\textheight=8.5in\@bodywidth=33pc \gdef\jour@fut{\@empty} \ifthenelse{\equal{\jour@code}{BS}}{\gdef\jour@fut{Geoinformatics Research Papers}}{% \ifthenelse{\equal{\jour@code}{ES}}{\gdef\jour@fut{Russian Journal of Earth Sciences}}{% \ifthenelse{\equal{\jour@code}{PO}}{\gdef\jour@fut{Geophysical Papers Online -- Preprints}}{% \ifthenelse{\equal{\jour@code}{RE}}{\gdef\jour@fut{Российский журнал наук о Земле}}{% \ifthenelse{\equal{\jour@code}{NZ}}{\gdef\jour@fut{Вестник Отделения наук о Земле РАН}}{}% }}}}}{} \ifthenelse{\boolean{id@test} \and \equal{\jour@code}{BS}}{\setboolean{id@test}{false} \let\jour@name\jrn@BS\gdef\@issn{0000--0000}\gdef\xml@issn{0000-0000}\gdef\@price{\$00.00}% \gdef\jour@lc@code{bs}\gdef\jour@abbrev{Geoinf. Res. Papers}\gdef\cfg@file{bsformat.cfg}% \gdef\doi@prefix{10.2205}\gdef\paper@pref{\jour@code\cpr@year}\gdef\pref@pii{GRPS} \gdef\response@page@dir{http://elpub.wdcb.ru/ebooks/grps/doi/} \gdef\cpr@holder{Geophysical Center RAS}}{} \ifthenelse{\boolean{id@test} \and \equal{\jour@code}{ES}}{\setboolean{id@test}{false} \let\jour@name\jrn@ES\gdef\@issn{1681--1208}\gdef\xml@issn{1681-1208}\gdef\@price{\$18.00}% \gdef\jour@lc@code{es}\gdef\jour@abbrev{Russ. J. Earth Sci.}\gdef\cfg@file{esformat.cfg}% \gdef\doi@prefix{10.2205}\gdef\paper@pref{\jour@code\cpr@year}\gdef\pref@pii{RJES} \gdef\response@page@dir{http://elpub.wdcb.ru/journals/rjes/doi/} \gdef\cpr@holder{Geophysical Center RAS}}{} \ifthenelse{\boolean{id@test} \and \equal{\jour@code}{PO}}{\setboolean{id@test}{false} \let\jour@name\jrn@PO\gdef\@issn{0000--0000}\gdef\xml@issn{0000-0000}\gdef\@price{\$00.00}% \gdef\jour@lc@code{po}\gdef\jour@abbrev{Geoph. Pap. Online}\gdef\cfg@file{poformat.cfg}% \gdef\doi@prefix{10.2205}\gdef\paper@pref{\jour@code\cpr@year}\gdef\pref@pii{GPO} \gdef\response@page@dir{http://elpub.wdcb.ru/journals/gpo/doi/} \gdef\cpr@holder{Geophysical Center RAS}}{} \ifthenelse{\boolean{id@test} \and \equal{\jour@code}{RE}}{\setboolean{id@test}{false} \let\jour@name\jrn@RE\gdef\@issn{1681--1194}\gdef\xml@issn{1681-1194}\gdef\@price{\$00.00}% \gdef\jour@lc@code{re}\gdef\jour@abbrev{Росс. ж. наук о Земле}\gdef\cfg@file{resformat.cfg}% \gdef\doi@prefix{10.2205}\gdef\paper@pref{\jour@code\cpr@year}\gdef\pref@pii{RES} \gdef\response@page@dir{http://elpub.wdcb.ru/journals/rjes/doi/} \gdef\cpr@holder{Геофизический центр РАН}}{} \ifthenelse{\boolean{id@test} \and \equal{\jour@code}{NZ}}{\setboolean{id@test}{false} \let\jour@name\jrn@NZ\gdef\@issn{1819--6586}\gdef\xml@issn{1819-6586}\gdef\@price{\$00.00}% \gdef\jour@lc@code{nz}\gdef\jour@abbrev{Vestn. Otd. nauk Zemle}\gdef\cfg@file{onzformat.cfg}% \gdef\doi@prefix{10.2205}\gdef\paper@pref{\jour@code\cpr@year}\gdef\pref@pii{ONZ} \gdef\response@page@dir{http://onznews.wdcb.ru/doi/} \gdef\cpr@holder{Геофизический центр РАН}}{} \ifthenelse{\boolean{id@test}}{% \typeout{} \typeout{SIMPLETEXML ERROR!!! Unrecognized journal code in the 'journalid' macro! (\jour@code)} \ifthenelse{\equal{\warnmes}{silent}}{} {\typein{Press ENTER to continue...}} \let\jour@name\jour@code\gdef\@issn{0000--0000}\gdef\xml@issn{0000-0000}\gdef\@price{\$00.00}}{} }% \newcommand{\subident}[3]{% \gdef\one@subid{#1}\gdef\two@subid{#2}\gdef\three@subid{#3}} \subident{\@empty}{\@empty}{\@empty} \newcommand{\originated}[1]{% \gdef\@originated{#1}} \originated{\@empty} % Copyright definitions_____________________________________________ \newcommand{\cpright}[2]{\gdef\cpr@logo{#1}\gdef\cpr@year{#2}% \ifthenelse{\equal{\cpr@year}{\@empty}} {\typeout{}\typeout{SIMPLETEXML ERROR!!! Copyright year is not defined.}% \ifthenelse{\equal{\warnmes}{silent}}{} {\typein[\cpr@year]{Enter copyright year.}}}{} \ifthenelse{\equal{\cpr@logo}{\@empty}}{}% {\gdef\cpr@holder{#1}} } % Paper identifier defines paper's unique number (suffix in DOI) \newcommand{\paperid}[1]{\gdef\paper@num{#1} %% Checking if \papernum and \jobname are matching %\ifthenelse{\equal{\paper@num}{\jobname}}{}{% not matching %\typeout{^^JSIMPLETEXML WARNING! The name of translated TeX file (\jobname) and paper code (\paper@num) are not matching. ^^J } %\ifthenelse{\equal{\warnmes}{silent}}{}{\typein{}} %} } %%%%%%%%%%% C I T A T I O N N U M B E R %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Citation number defines issue number at the time of publication and reflects the order % in which an article is published online \newcommand{\citnumber}[2]{\gdef\cit@label{#1}\gdef\cit@num{#2} \ifthenelse{\equal{\cit@label}{S}} {\gdef\cin@ser{S}} {\gdef\cin@ser{0}} \ifnum\cit@num<10 \gdef\cin@num{0\cit@num} \else \gdef\cin@num{\cit@num} \fi \gdef\cin@number{\jour@code\jour@num\cin@ser\cin@num}% \let\cit@number\cin@number % Defining parameters for timestamp \setcounter{years}{\year} \gdef\yr@stamp{\theyears} \setcounter{months}{\month}% \ifnum\value{months}<10 \gdef\mo@stamp{0\themonths} \else \gdef\mo@stamp{\themonths} \fi \setcounter{days}{\day}% \ifnum\value{days}<10 \gdef\da@stamp{0\thedays} \else \gdef\da@stamp{\thedays} \fi \setcounter{hours}{\time/60}% \ifnum\value{hours}<10 \gdef\hr@stamp{0\thehours} \else \gdef\hr@stamp{\thehours} \fi \setcounter{minutes}{\time-\value{hours}*60}% \ifnum\value{minutes}<10 \gdef\mi@stamp{0\theminutes} \else \gdef\mi@stamp{\theminutes} \fi \gdef\print@time{\yr@stamp\mo@stamp\da@stamp\hr@stamp\mi@stamp 00} \ifthenelse{\equal{\@lang}{rus}}{\gdef\xml@lang{ru}}{% \gdef\xml@lang{en}% }} % Input values for running head and dates \newcommand{\lefthead}[1]{\gdef\@lefthead{#1}} \newcommand{\righthead}[1]{\gdef\@righthead{#1}} \newcommand{\received}[3]{\gdef\recv@day{#1}\gdef\recv@month{#2}\gdef\recv@year{#3}} \received{\@empty}{\@empty}{\@empty} \newcommand{\revised}[3]{\gdef\revis@day{#1}\gdef\revis@month{#2}\gdef\revis@year{#3}} \revised{\@empty}{\@empty}{\@empty} \newcommand{\accepted}[3]{\gdef\acpt@day{#1}\gdef\acpt@month{#2}\gdef\acpt@year{#3}} \accepted{\@empty}{\@empty}{\@empty} \newcommand{\published}[3]{\gdef\pub@day{#1}\gdef\pub@month{#2}\gdef\pub@year{#3} \ifthenelse{\(\equal{\pub@month}{January}\) \or \(\equal{\pub@month}{января}\)}{\gdef\pub@mon{1}}{% \ifthenelse{\(\equal{\pub@month}{February}\) \or \(\equal{\pub@month}{февраля}\)}{\gdef\pub@mon{2}}{% \ifthenelse{\(\equal{\pub@month}{March}\) \or \(\equal{\pub@month}{марта}\)}{\gdef\pub@mon{3}}{% \ifthenelse{\(\equal{\pub@month}{April}\) \or \(\equal{\pub@month}{апреля}\)}{\gdef\pub@mon{4}}{% \ifthenelse{\(\equal{\pub@month}{May}\) \or \(\equal{\pub@month}{мая}\)}{\gdef\pub@mon{5}}{% \ifthenelse{\(\equal{\pub@month}{June}\) \or \(\equal{\pub@month}{июня}\)}{\gdef\pub@mon{6}}{% \ifthenelse{\(\equal{\pub@month}{July}\) \or \(\equal{\pub@month}{июля}\)}{\gdef\pub@mon{7}}{% \ifthenelse{\(\equal{\pub@month}{August}\) \or \(\equal{\pub@month}{августа}\)}{\gdef\pub@mon{8}}{% \ifthenelse{\(\equal{\pub@month}{September}\) \or \(\equal{\pub@month}{сентября}\)}{\gdef\pub@mon{9}}{% \ifthenelse{\(\equal{\pub@month}{October}\) \or \(\equal{\pub@month}{октября}\)}{\gdef\pub@mon{10}}{% \ifthenelse{\(\equal{\pub@month}{November}\) \or \(\equal{\pub@month}{ноября}\)}{\gdef\pub@mon{11}}{% \ifthenelse{\(\equal{\pub@month}{December}\) \or \(\equal{\pub@month}{декабря}\)}{\gdef\pub@mon{12}}{\gdef\pub@mon{N/A %%\typeout{^^JSECTEXML ERROR! The value of publishing month (\pub@month) is out of range. ^^J }% %%\ifthenelse{\equal{\warnmes}{silent}}{}{\typein{Press ENTER to continue...}}% }}}}}}}}}}}}}% \ifthenelse{\(\equal{\pub@mon}{N/A}\)}{ \typeout{^^JSECTEXML ERROR! The value of publishing month (\pub@month) is out of range. ^^J }% \ifthenelse{\equal{\warnmes}{silent}}{}{\typein{Press ENTER to continue...}}}{}% }% Closing \published \published{\@empty}{\@empty}{\@empty} %% In the source article text \keys and \indexterms may be set empty or be omitted \newcommand{\keywords}[1]{\gdef\@keys{#1}} \keywords{\@empty} \newcommand{\gcmdterms}[1]{\gdef\gcmd@terms{#1}} \gcmdterms{\@empty} \newcommand{\aguterms}[1]{\gdef\index@terms{#1}} \aguterms{\@empty} \newcommand{\runheadings}{\hfill {\sc \lowercase{\@lefthead : \@righthead}} \hfill} %%\newcommand{\runheadings}{\cit@@number\hfill {\sc \@lefthead : \@righthead} \hfill\cit@@number} %% The command \gdef\root@url below contains \hyperbaseurl for 'hyper' option \newcommand{\siterooturl}[1]{\gdef\root@url{\ifthenelse{\equal{\hyptest}{nohyp}}{}{#1}}} \siterooturl{\@empty} % Predefined values for the first XML block \newcommand{\xmldepositor}[2]{\gdef\dep@name{#1}\gdef\dep@email{#2}} \xmldepositor{\@empty}{\@empty} \newcommand{\xmlregistrant}[1]{\gdef\regist@name{#1}} \xmlregistrant{\@empty} % Data for header block_______________________________________________ \newcommand{\ident@skip}{36pt} % between ident line and title \newcommand{\title@skip}{12pt} % between title and author \newcommand{\auth@skip}{8pt} % between author and affiliation \newcommand{\auth@skipex}{8pt} % extra space if author is followed by abstract \newcommand{\affil@skip}{10pt} % between affiliation and next author \newcommand{\affil@skipex}{5pt} % extra space if affiliation is followed by abstract \newcommand{\abs@skip}{10pt} % space after abstract \newcommand{\cit@skip}{10pt} % space after citation \newlength{\ltheight}% \newlength{\ltwidth}% \newlength{\ltshift}% \newcounter{appendix} % counter of appendices \setcounter{appendix}{0} \newcounter{chdr} % marker of items in the header: % 1 - ident line, 2 - title, 3 - author, 4 - affil \setcounter{chdr}{0} \newcounter{anum} % number of author/affiliation groups \setcounter{anum}{1} \newcounter{agrnum} % number of authors in current group \setcounter{agrnum}{0} \newcounter{atot} % number of authors counted in run mode \setcounter{atot}{0} \newcounter{lastauth} % number of authors initially defined \setcounter{lastauth}{1} \newcounter{preauth} % number of authors prceeding the last one, i.e. \value{lastauth} \setcounter{preauth}{\value{lastauth}-1} \newcounter{olof} % label of online output \setcounter{olof}{0} \newcounter{altaff} % counter of altaffil \setcounter{altaff}{0} \newcounter{ancil} % counter of ancillary items \setcounter{ancil}{0} \newcounter{lstp} % counter for last page \setcounter{lstp}{0} \newcounter{lastref} % number of total references \setcounter{lastref}{0} \newcounter{curref} % marker for references \setcounter{curref}{0} \newcounter{parnum} % marker for paragraphs \setcounter{parnum}{0} \newcounter{affcur} % current number of entered affiliation \setcounter{affcur}{0} \newcounter{afprev} % previous number of entered affiliation \setcounter{afprev}{0} \newcounter{afftmp} % temporary counter for entered affiliation \setcounter{afftmp}{0} \newcounter{affilcur} % current number of entered affiliation (in affil block) \setcounter{affilcur}{0} \newcounter{affiltmp} % temporary counter for entered affiliation (in affil block) \setcounter{affiltmp}{0} \newcounter{flbl} % counter/marker for floatsection \setcounter{flbl}{0} \newcounter{flblfin} % counter/marker for floatsection \setcounter{flblfin}{0} \newcounter{years} \newcounter{months} \newcounter{days} \newcounter{hours} \newcounter{minutes} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newcounter{flotmp} % temporary counter for float anchors %%%% \setcounter{flotmp}{0} %%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Converting text strings to integers \newcounter{integ} % temporary counter for conversion to integer \setcounter{integ}{0} \newcommand{\convinteg}[1]{\setcounter{integ}{#1}}% \newcommand\mpar{\addtocounter{parnum}{1}\vspace*{.5\baselineskip}\hspace*{-1em}%% \ifthenelse{\equal{\parnumber}{par}}% {{\footnotesize[\theparnum]}\hspace*{1em}}{\hspace*{1em}}} \newcommand\parabs{\addtocounter{parnum}{1}%% for Abstract par number \ifthenelse{\equal{\parnumber}{par}}% {{\footnotesize[\theparnum]}\hspace*{1em}}{}} %%\newcommand\mpar{\addtocounter{parnum}{1}% %%\ifthenelse{\equal{\parnumber}{par}}% %%{\par{\footnotesize[\theparnum]}}{\par}} \setbox3=\vbox{} % for accumulating author/affil \setbox4=\vbox{} % for accumulating altaffil data \setbox5=\vbox{} % for accumulating author addresses \setbox6=\hbox{} % for running head \setbox7=\hbox{} % for accumulating authors line \setbox8=\hbox{} % buffer for current author \setbox9=\hbox{} % buffer for affiliation \setbox100=\hbox{} % buffer for accumulating \authorcit \setbox110=\hbox{} % buffer for accumulating \authorcit items \setbox112=\hbox{} % buffer for accumulating citation number \setbox200=\hbox{} % buffer for direct author list \setbox201=\hbox{} % buffer for author list with inverted names of the first author \newcounter{topnum}% \newcounter{midnum}% \newcounter{botnum}% \newcounter{tmpnum}% \newlength{\shortcaplen}% \newlength{\caplen}% \newlength{\ang@tur} \newlength{\wdintebox} \newlength{\hgintebox} \newsavebox{\horintebox} \newsavebox{\verintebox} % Identification line________________________________________________ \newcommand{\@ident}{% \vbox{\begin{center}% \ifthenelse{\equal{\jour@name}{\jrn@MS}} {\setcounter{page}{1}% \ifthenelse{\equal{\jour@fut}{\@empty}} {\small\jour@name\vspace*{-.3pc}\\ \rule{15pc}{.3pt}} {\ifthenelse{\equal{\cpr@year}{\@empty}} {\typeout{}\typeout{SIMPLETEXML ERROR!!! Publication year is not defined.}% \ifthenelse{\equal{\warnmes}{silent}}{} {\typein[\cpr@year]{Enter publication year.}}}{} \small\jour@name\vspace*{.4pc}\\ \ifthenelse{\equal{\@lang}{rus}}{Представлено в }{Submitted to} {\itshape \jour@fut}, \cpr@year\vspace*{-.3pc}\\ \rule{15pc}{.3pt}} }{\ifthenelse{\equal{\jour@name}{\jrn@BS}} {\small\jour@name\\ VOL.\space\jour@vol,\space \cit@number,\space doi:\doi@prefix/\paper@num,% \space\uppercase\expandafter{20\jour@date}}% {\ifthenelse{\equal{\jour@name}{\jrn@ES}} {\small\jour@name,\space VOL.\space\jour@vol,\space \cit@number,\space doi:\doi@prefix/\paper@num,% \space\uppercase\expandafter{20\jour@date}}% {\ifthenelse{\equal{\jour@name}{\jrn@PO}} {\small\jour@name,\space VOL.\space\jour@vol,\space \cit@number,\space doi:\doi@prefix/\paper@num,% \space\uppercase\expandafter{20\jour@date}}% {\ifthenelse{\equal{\jour@name}{\jrn@RE}} {\small\jour@name,\space ТОМ\space\jour@vol,\space \cit@number,\space doi:\doi@prefix/\paper@num,% \space\uppercase\expandafter{20\jour@date}}% {\ifthenelse{\equal{\jour@name}{\jrn@NZ}} {\small\jour@name,\space ТОМ\space\jour@vol,\space \cit@number,\space doi:\doi@prefix/\paper@num,% \space\uppercase\expandafter{20\jour@date}}% {}}}}}} \ifthenelse{\equal{\one@subid}{\@empty} \or \equal{\two@subid}{\@empty}}{}% {\vskip7pt \centerline{\large\sc \one@subid}\vskip4pt \centerline{\uppercase\expandafter{\bfseries\Large \two@subid}} \centerline{\three@subid}} \end{center}} } % Title _______________________________________________________ \def\title#1{% \ifthenelse{\(\equal{\jour@code}{PO} \and \not\(\equal{\gpo@preprint}{\@empty}\)\)} {\gdef\@title{\par\noindent\parbox{\@headwidth}% {\pretolerance=10000\raggedright{\fontsize{14}{18}\selectfont\bfseries #1\altaffilmark{\dag}\hfil}}} \altaffil{\dag}{Submitted to \gpo@preprint}} {\gdef\@@title{#1}\gdef\@title{\par\noindent\parbox{\@headwidth}% {\pretolerance=10000\raggedright{\fontsize{14}{18}\selectfont\bfseries #1\hfil}}} } %% Defining some command for the first XML block \ifthenelse{\equal{\dep@name}{\@empty} \or \equal{\dep@email}{\@empty}}% {\gdef\dep@name{Vitaly Nechitailenko}\gdef\dep@email{vitaly@wdcb.ru}}{} \ifthenelse{\equal{\regist@name}{\@empty}}% {\gdef\regist@name{GCRAS}}{} %% Assigning full title for XML and printing the first XMLblock \ifthenelse{\equal{\jour@code}{BS}}{\gdef\jour@fut{Geoinformatics Research Papers}}{}% \ifthenelse{\equal{\jour@code}{ES}}{\gdef\jour@fut{Russian Journal of Earth Sciences}}{}% \ifthenelse{\equal{\jour@code}{PO}}{\gdef\jour@fut{Geophysical Papers Online -- Preprints}}{}% \ifthenelse{\equal{\jour@code}{RE}}{\gdef\jour@fut{Российский журнал наук о Земле}}{}% \ifthenelse{\equal{\jour@code}{NZ}}{\gdef\jour@fut{Вестник Отделения наук о Земле РАН}}{}% \xmlblockone }% % Paper type (rga, for, edt, etc.) \newcommand\papertype[1]{\gdef\paper@type{#1}} \papertype{\@empty} % Author _____________________________________________________ \setboolean{au@test}{true} \setboolean{au@first}{true} \def\cur@affil{\@empty} \def\accumauthor{\@empty} \renewcommand{\author}[7]{% \setcounter{preauth}{\value{lastauth}-1} \gdef\au@surname{\@empty} \gdef\au@id{#1}\gdef\aut@surname{#2}\gdef\au@fname{#3}\gdef\au@suffix{#4}% \gdef\au@affil{#5}\gdef\au@altaf{#6}\gdef\au@inits{#7}% % Checking correct order for basic affiliation \ifthenelse{\equal{\au@affil}{\@empty}}% {{\bf ERROR!!! Affiliation parameter of author \aut@surname\ is empty.}% \typeout{}% \typeout{SIMPLETEXML ERROR!!! Affiliation parameter of author [\aut@surname] is empty.}% \ifthenelse{\equal{\warnmes}{silent}}{}% {\typein{Press ENTER to continue...}}}% {\convinteg{#5}% \setcounter{afftmp}{\theinteg}% \ifnum\value{integ}>\value{affcur}% \addtocounter{affcur}{1}% \fi% %%%TEST%%%\noindent{\bf AFFTMP (before basic) = \theafftmp \space\space\space AFFCUR = \theaffcur \\} \ifnum\value{integ}>\value{affcur} {\bf ERROR!!! Affiliation mark assigned to author \aut@surname\ has wrong order.}% \typeout{}% \typeout{SIMPLETEXML ERROR!!! Affiliation mark assigned to author [\aut@surname] has wrong order.}% \ifthenelse{\equal{\warnmes}{silent}}{}% {\typein{Press ENTER to continue...}}% \fi}% % Checking correct order for alternative affiliation \ifthenelse{\equal{\au@altaf}{\@empty}}{}% {\convinteg{#6}% %%%TEST%%%\noindent{\bf AFFTMP (inside alternate) = \theafftmp \space\space\space AFFCUR = \theaffcur \\} \ifnum\value{integ}>\value{affcur}% \addtocounter{affcur}{1}% \fi% \ifnum\value{integ}>\value{affcur}% {\bf ERROR!!! Altaffil mark assigned to author \aut@surname\ has wrong order.}% \typeout{}% \typeout{SIMPLETEXML ERROR!!! Altaffil mark assigned to author [\aut@surname] has wrong order.}% \ifthenelse{\equal{\warnmes}{silent}}{}% {\typein{Press ENTER to continue...}}% \else% \ifnum\value{integ}<\value{afftmp}% {\bf ERROR!!! Affiliation marks assigned to author \aut@surname\ have wrong order.}% \typeout{}% \typeout{SIMPLETEXML ERROR!!! Affiliation marks assigned to author [\aut@surname] have wrong order.}% \ifthenelse{\equal{\warnmes}{silent}}{}% {\typein{Press ENTER to continue...}}% \fi% \ifnum\value{integ}>\value{affcur}% \addtocounter{affcur}{1}% \fi% \fi}% \ifthenelse{\equal{\au@altaf}{\@empty}}{\let\au@surname\aut@surname}% {\def\au@surname{\aut@surname$^{\au@altaf}$}} % Define type of author groupping % The following adds commas to author names depending of position and language \addtocounter{atot}{1} \ifnum\value{atot}=1 \setbox8=\hbox{\au@fname\space\aut@surname}% \ifthenelse{\equal{\au@suffix}{\@empty}}% {}{\setbox8=\hbox{\unhbox8\space\ \au@suffix}} \ifthenelse{\equal{\au@altaf}{\@empty}} {\setbox8=\hbox{\unhbox8$^{\au@affil}$}} {\setbox8=\hbox{\unhbox8$^{\au@affil, \space\au@altaf}$}} \ifthenelse{\equal{\au@suffix}{\@empty}}% {\setbox110=\hbox{\footnotesize \aut@surname,\space\au@fname}}% {\setbox110=\hbox{\footnotesize \aut@surname\space\au@suffix,\space\au@fname}}% \setbox7=\hbox{\unhbox8}% \setbox100=\hbox{\unhbox110} \else \ifnum\value{atot}<\value{lastauth} \setbox8=\hbox{\au@fname\space\aut@surname}% \ifthenelse{\equal{\au@suffix}{\@empty}}% {}{\setbox8=\hbox{\unhbox8\space\ \au@suffix}} \ifthenelse{\equal{\au@altaf}{\@empty}} {\setbox8=\hbox{\unhbox8$^{\au@affil}$}} {\setbox8=\hbox{\unhbox8$^{\au@affil, \space\au@altaf}$}} \ifthenelse{\equal{\au@suffix}{\@empty}}% {\setbox110=\hbox{\footnotesize \au@fname\space\aut@surname}}% {\setbox110=\hbox{\footnotesize \au@fname\space\aut@surname\space\au@suffix}}% \setbox7=\hbox{\unhbox7,\space\unhbox8}% \setbox100=\hbox{\unhbox100,\space\unhbox110} \else \setbox8=\hbox{\au@fname\space\aut@surname}% \ifthenelse{\equal{\au@suffix}{\@empty}}% {}{\setbox8=\hbox{\unhbox8\space\ \au@suffix}} \ifthenelse{\equal{\au@altaf}{\@empty}} {\setbox8=\hbox{\unhbox8$^{\au@affil}$}} {\setbox8=\hbox{\unhbox8$^{\au@affil, \space\au@altaf}$}} \ifthenelse{\equal{\au@suffix}{\@empty}}% {\setbox110=\hbox{\footnotesize \au@fname\space\aut@surname}}% {\setbox110=\hbox{\footnotesize \au@fname\space\aut@surname\space\au@suffix}}% \fi \setbox8=\hbox{\au@fname\space\aut@surname}% \ifthenelse{\equal{\au@suffix}{\@empty}}% {}{\setbox8=\hbox{\unhbox8,\space\au@suffix}} \ifthenelse{\equal{\au@altaf}{\@empty}} {\setbox8=\hbox{\unhbox8$^{\au@affil}$}} {\setbox8=\hbox{\unhbox8$^{\au@affil, \space\au@altaf}$}} \fi %% Writing current contributor's name to XML \xmlblocktwo }% % Affiliation _________________________________________________ \newcommand{\affil}[5]{% \gdef\af@id{#1}\gdef\af@org{#2}\gdef\af@city{#3}\gdef\af@state{#4}\gdef\af@country{#5}% \ifthenelse{\equal{\af@id}{\@empty}}% {{\bf ERROR!!! Affiliation number field is empty.}% \typeout{}% \typeout{SIMPLETEXML ERROR!!! Affiliation number field is empty.}% \ifthenelse{\equal{\warnmes}{silent}}{}% {\typein{Press ENTER to continue...}}}% {\convinteg{#1}% \setcounter{affiltmp}{\theinteg}% \ifnum\value{integ}>\value{affilcur}% \addtocounter{affilcur}{1}% \fi% % Checking an order of affiliation in footnoted block \ifnum\value{integ}=\value{affilcur}% \else% {\bf ERROR!!! Affiliation numbers should be ordered.}% \typeout{}% \typeout{SIMPLETEXML ERROR!!! Affiliation numbers should be ordered.}% \ifthenelse{\equal{\warnmes}{silent}}{}% {\typein{Press ENTER to continue...}}% \fi}% \ifthenelse{\equal{\af@state}{\@empty}}{ \setbox9=\hbox{\af@org,\space\af@city,\space\af@country}% }{\setbox9=\hbox{\af@org,\space\af@city,\space\af@state,\space\af@country}}% \gdef\alt@text{\af@org,\space\af@city% \ifthenelse{\equal{\af@state}{\@empty}}{}{,\space\af@state},\space\af@country} \ifnum\value{altaff}=0% \setbox4=\vbox{\unvbox4 \par\noindent\rule{7pc}{.3pt}\vskip2pt}% \addtocounter{altaff}{1}\fi% \setbox4=\vbox{\unvbox4 \par\noindent\parbox{\@bodywidth}% {\footnotesize \par\hskip.38cm $^{\af@id}$\alt@text}\vskip1pt}}% % Alternative affiliation _____________________________________ \newcommand{\altaffilmark}[1]{\gdef\al@afm{#1}% $^{\al@afm}$}% \newcommand{\altaffil}[5]{\gdef\alt@mark{#1}\gdef\alt@org{#2}\gdef\alt@city{#3}\gdef\alt@state{#4}\gdef\alt@country{#5}% \gdef\alt@text{\alt@org,\space\alt@city% \ifthenelse{\equal{\alt@state}{\@empty}}{}{,\space\alt@state},\space\alt@country} \ifnum\value{altaff}=0% \setbox4=\vbox{\unvbox4 \par\noindent\rule{7pc}{.3pt}\vskip2pt}% \addtocounter{altaff}{1}\fi% \setbox4=\vbox{\unvbox4 \par\noindent\parbox{\@bodywidth}% {\footnotesize \par\hskip.38cm $^{\alt@mark}$ Also at \alt@text}\vskip1pt} } % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% ABSTRACT %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \renewcommand{\abstract}[1]{% % Check matching number of affiliations and links to them \ifnum\value{affcur}=\value{affilcur}% \else% {\bf ERROR!!! Number of affiliations does not match number of links to them.}% \typeout{}% \typeout{SIMPLETEXML ERROR!!! Number of affiliations does not match number of links to them.}% \ifthenelse{\equal{\warnmes}{silent}}{}% {\typein{Press ENTER to continue...}}% \fi% % Closing authors' citation \ifnum\value{atot}=1 \setbox100=\hbox{\footnotesize \unhbox100\space\unhbox110}% \else \ifnum\value{atot}=2 \ifthenelse{\equal{\@lang}{rus}} {\setbox100=\hbox{\footnotesize \unhbox100 \space и\space\unhbox110}}% {\setbox100=\hbox{\footnotesize \unhbox100 \space and\space\unhbox110}}% \else \ifthenelse{\equal{\@lang}{rus}} {\setbox100=\hbox{\footnotesize \unhbox100 \space и\space\unhbox110}}% {\setbox100=\hbox{\footnotesize \unhbox100,\space and\space\unhbox110}}% \fi \fi \gdef\author@@cit{\copy100} \gdef\author@cit{\footnotesize \copy100} % Closing total author list \ifnum\value{atot}=1 \setbox7=\hbox{\footnotesize \unhbox7\space\unhbox8}% \else \ifnum\value{atot}=2 \ifthenelse{\equal{\@lang}{rus}} {\setbox7=\hbox{\footnotesize \unhbox7 \space и\space\unhbox8}}% {\setbox7=\hbox{\footnotesize \unhbox7 \space and\space\unhbox8}}% \else \ifthenelse{\equal{\@lang}{rus}} {\setbox7=\hbox{\footnotesize \unhbox7 \space и\space\unhbox8}}% {\setbox7=\hbox{\footnotesize \unhbox7, \space and\space\unhbox8}}% \fi \fi \setbox3=\vbox{\unvbox3 \par\noindent\parbox{\@headwidth}% {\pretolerance=10000\raggedright{\font@author% \unhbox7}\hfil\vskip\auth@skip}}% \ifthenelse{% \(\equal{\jour@name}{\jrn@BS} \or \equal{\jour@name}{\jrn@ES} \or \equal{\jour@name}{\jrn@RE} \or \equal{\jour@name}{\jrn@NZ} \or \equal{\jour@name}{\jrn@PO}\)}% {\newcommand{\abstrsize}{\fontsize{10}{12}\selectfont}% \@fmabwidth=14cm}% {\newcommand{\abstrsize}{\fontsize{9}{11}\selectfont}% \@fmabwidth=8.4cm} \ifthenelse{\equal{\jour@name}{\jrn@MS}}% {\renewcommand{\abstrsize}{\fontsize{12}{24}\selectfont} \@fmabwidth=38pc}{}% \gdef\@abstract{#1} \ifthenelse{\(\equal{\jour@name}{\jrn@BS} \or \equal{\jour@name}{\jrn@ES} \or \equal{\jour@name}{\jrn@PO} \or \equal{\jour@name}{\jrn@RE} \or \equal{\jour@name}{\jrn@NZ}\)}% {\twocolumn[% \@ident \vskip\ident@skip \@title\vskip\title@skip\copy3 %% authors \noindent {\footnotesize% \ifthenelse{\(\equal{\recv@day}{\@empty} \or \equal{\recv@month}{\@empty} \or \equal{\recv@year}{\@empty}\)}% {{\bf ERROR!!! Received date fields are empty.}% \typeout{}% \typeout{SIMPLETEXML ERROR!!! Received date fields are empty.}% \ifthenelse{\equal{\warnmes}{silent}}{}% {\typein{Press ENTER to continue...}}} {\ifthenelse{\equal{\@lang}{rus}}{Получено}{Received}\space\recv@day\space\recv@month\space\recv@year\ifthenelse{\equal{\@lang}{rus}}{\space г.}{};}% \ifthenelse{\(\equal{\revis@day}{\@empty} \or \equal{\revis@month}{\@empty} \or \equal{\revis@year}{\@empty}\)}% {\typeout{}% \typeout{SIMPLETEXML WARNING!!! Revised date fields are empty.}}% {\space revised\space\revis@day\space\revis@month\space\revis@year;} \ifthenelse{\(\equal{\acpt@day}{\@empty} \or \equal{\acpt@month}{\@empty} \or \equal{\acpt@year}{\@empty}\)}% {\ifthenelse{\equal{\jour@code}{NZ} \or \equal{\jour@code}{RE}}{}{% {\bf ERROR!!! Accepted date fields are empty.}% \typeout{}% \typeout{SIMPLETEXML ERROR!!! Accepted date fields are empty.}% \ifthenelse{\equal{\warnmes}{silent}}{}% {\typein{Press ENTER to continue...}} }}% {\space\ifthenelse{\equal{\@lang}{rus}}{принято}{accepted}\space\acpt@day\space\acpt@month\space\acpt@year\ifthenelse{\equal{\@lang}{rus}}{\space г.}{};} \ifthenelse{\(\equal{\pub@day}{\@empty} \or \equal{\pub@month}{\@empty} \or \equal{\pub@year}{\@empty}\)}% {{\bf ERROR!!! Published date fields are empty.}% \typeout{}% \typeout{SIMPLETEXML ERROR!!! Published date fields are empty.}% \ifthenelse{\equal{\warnmes}{silent}}{}% {\typein{Press ENTER to continue...}}} {\space \ifthenelse{\equal{\@lang}{rus}}{опубликовано}{published}\space\pub@day\space\pub@month\space\pub@year\ifthenelse{\equal{\@lang}{rus}}{\space г.}{.}}}\\ \newboolean{agu@key} \setboolean{agu@key}{false} \newboolean{gcmd@key} \setboolean{gcmd@key}{false} %% Composing and printing abstract and/or index/keywork sets \ifthenelse{\equal{\@abstract}{\@empty}}{%% empty abstract \par\noindent\parbox[t]{\@fmabwidth}{\pretolerance=100% \@rightskip=\z@ plus 2em\rightskip\@rightskip% {\footnotesize%%%%%\scriptsize% \ifthenelse{\equal{\gcmd@terms}{\@empty}}{}% {\setboolean{gcmd@key}{true}{\slshape {\footnotesize GCMD T}ERMS:} \gcmd@terms}% \ifthenelse{\equal{\index@terms}{\@empty}}{}% {\ifthenelse{\boolean{gcmd@key}}{;\space\space}{}% \setboolean{agu@key}{true}{\slshape {\footnotesize I}NDEX {\footnotesize T}ERMS:} \index@terms}% \ifthenelse{\equal{\@keys}{\@empty}}% {\ifthenelse{\boolean{gcmd@key} \or \boolean{agu@key}}{.}{}}{% non-empty keys \ifthenelse{\boolean{gcmd@key} \or \boolean{agu@key}} {;\space\space}{}% \ifthenelse{\equal{\@lang}{rus}}{\slshape КЛЮЧЕВЫЕ СЛОВА: \@keys.}{\slshape {\footnotesize K}EYWORDS: \@keys.}}% }}\vskip\abs@skip} {%% non-empty abstract \par\noindent\parbox[t]{\@fmabwidth}{\pretolerance=100% \@rightskip=\z@ plus 2em\rightskip\@rightskip% %%\mpar\space\space\abstrsize\@abstract \space\space% \parabs\space\space\abstrsize\@abstract \space\space% {\footnotesize%%%%%\scriptsize% \ifthenelse{\equal{\gcmd@terms}{\@empty}}{}% {\setboolean{gcmd@key}{true}{\slshape {\footnotesize GCMD T}ERMS:} \gcmd@terms}% \ifthenelse{\equal{\index@terms}{\@empty}}{}% {\ifthenelse{\boolean{gcmd@key}}{;\space\space}{}% \setboolean{agu@key}{true}{\slshape {\footnotesize I}NDEX {\footnotesize T}ERMS:} \index@terms}% \ifthenelse{\equal{\@keys}{\@empty}}% {\ifthenelse{\boolean{gcmd@key} \or \boolean{agu@key}}{.}{}}{% non-empty keys \ifthenelse{\boolean{gcmd@key} \or \boolean{agu@key}} {;\space\space}{}% \ifthenelse{\equal{\@lang}{rus}}{\slshape КЛЮЧЕВЫЕ СЛОВА: \@keys.}{\slshape {\footnotesize K}EYWORDS: \@keys.}} }}\vskip\abs@skip} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \setbox200 = \hbox{\author@cit} %%%%\setbox201 = \hbox{\author@cit} \gdef\main@cit{\copy100}% 2222222222222222222222222222 \gdef\meta@cit{\copy100}% 222222222222222222222222222222 \gdef\foot@cit{\copy100}% 22222222222222222222222222222222222 \noindent {\footnotesize {\bfseries \ifthenelse{\equal{\@lang}{rus}}{Ссылка:}{Citation:}} \author@cit \space\space(\cpr@year),\space \@@title,\space% \ifthenelse{\equal{\jour@name}{\jrn@BS}}{{\itshape Geoinf. Res. Papers,\space \jour@vol,} \space \cit@number,\space doi:\doi@prefix/\paper@num.}{ \ifthenelse{\equal{\jour@name}{\jrn@ES}}{{\itshape Russ. J. Earth. Sci.,\space \jour@vol,} \space \cit@number,\space doi:\doi@prefix/\paper@num.}{ \ifthenelse{\equal{\jour@name}{\jrn@PO}}{{\itshape Geoph. Papers Online,\space \jour@vol,} \space \cit@number,\space doi:\doi@prefix/\paper@num.}{ \ifthenelse{\equal{\jour@name}{\jrn@RE}}{{\itshape Росс. ж. наук о Земле,\space \jour@vol,} \space \cit@number,\space doi:\doi@prefix/\paper@num.}{ \ifthenelse{\equal{\jour@name}{\jrn@NZ}}{{\itshape Вестник ОНЗ РАН,\space \jour@vol,} \space \cit@number,\space doi:\doi@prefix/\paper@num.}{ }}}}}}\vskip\cit@skip ]}% { \ifthenelse{\equal{\jour@name}{\jrn@MS}}% ADD MS {\centerline{\@ident}\vskip\ident@skip \@title\vskip\title@skip\copy3 \ifnum\value{chdr}=3\vskip\auth@skipex \else\vskip\affil@skipex\fi \ifnum\value{altaff}=0\else\foot@info{\copy4}\fi \vfill\noindent Short title: {\sc \@righthead}\vfill \clearpage\ifthenelse{\equal{\@abstract}{\@empty}}{\@empty}{% \par\noindent\parbox[t]{\@fmabwidth}{\pretolerance=100% \abstrsize {\bfseries \absheader.} \@abstract\vskip\abs@skip}}\clearpage }{}} \ifthenelse{\equal{\jour@name}{\jrn@MS}}% {}{\ifnum\value{altaff}=0\else\foot@info{\copy4}\fi}% \ifthenelse{\equal{\jour@name}{\jrn@MS}}{} {\foot@info{\paper@info}}% \par\vspace*{-3.5\baselineskip}% \ifthenelse{\equal{\jour@name}{\jrn@MS}}{\pagestyle{plain}} {\pagestyle{myheadings}\markboth{\runheadings}{\runheadings} \newlength{\widrhdline}\settowidth{\widrhdline}{\runheadings} \ifthenelse{\lengthtest{\widrhdline > 13.5cm}} {\typeout{}\typeout{SIMPLETEXML WARNING!!! Running head is too long!}% \ifthenelse{\equal{\warnmes}{silent}}{} {\typein{Reset 'lefthead' and 'righthead' values in the preamble.}}}{} \thispagestyle{plain}\normalsize}\setboolean{abs@label}{true}% %% %% Redefining \tablename in Russian with shortening it to Табл. \def\tablename{\ifthenelse{\equal{\@lang}{rus}}{\cyr\CYRT\cyra\cyrb\cyrl.}{Table}} %% Redefining commands for linking float anchors to float targets or floatsection \ifthenelse{\equal{\hyptest}{hyper}}{% activate hyperlinks defined in this package \renewcommand{\tabref}[1]{\gdef\tab@num{##1}% \hyperref{}{floats}{tab\tab@num}{\tablename~\tab@num}} \renewcommand{\figref}[1]{\gdef\fig@num{##1}% \hyperref{}{floats}{fig\fig@num}{\figurename~\fig@num}} \renewcommand{\plaref}[1]{\gdef\pla@num{##1}% \hyperref{}{floats}{pla\pla@num}{\platename~\pla@num}} \ifnum\value{flblfin}=0 \renewcommand{\tabrefs}[1]{\gdef\tab@nums{##1}{\tablename s~\tab@nums} \typeout{}% \typeout{SIMPLETEXML WARNING!!! Hyperlink to \tablename s \tab@nums\space can not be set. Add List of Floats Section.}% \ifthenelse{\equal{\warnmes}{silent}}{}{\typein{Press ENTER to continue...}}}% \renewcommand{\figrefs}[1]{\gdef\fig@nums{##1}{\figurename s~\fig@nums} \typeout{}% \typeout{SIMPLETEXML WARNING!!! Hyperlink to \figurename s \fig@nums\space can not be set. Add List of Floats Section.}% \ifthenelse{\equal{\warnmes}{silent}}{}{\typein{Press ENTER to continue...}}}% \renewcommand{\plarefs}[1]{\gdef\pla@nums{##1}{\platename s~\pla@nums} \typeout{}% \typeout{SIMPLETEXML WARNING!!! Hyperlink to \platename s \pla@nums\space can not be set. Add List of Floats Section.}% \ifthenelse{\equal{\warnmes}{silent}}{}{\typein{Press ENTER to continue...}}}% \else \renewcommand{\tabrefs}[1]{\gdef\tab@nums{##1} \hyperref{}{floats}{section}{\tablename s~\tab@nums}} \renewcommand{\figrefs}[1]{\gdef\fig@nums{##1}% \hyperref{}{floats}{section}{\figurename s~\fig@nums}} \renewcommand{\plarefs}[1]{\gdef\pla@nums{##1}% \hyperref{}{floats}{section}{\platename s~\pla@nums}} \fi }{% supress hyperlinks defined in hyperref class \renewcommand{\href}[2]{\gdef\hr@lnk{##2} \hr@lnk}% }% \addcontentsline{toc}{section}{Abstract}% }% % Footnote-type definitions for paper info block________________ \renewcommand{\footnote}{\@ifnextchar[\@xfootnote{\stepcounter\@mpfn% \protected@xdef\@thefnmark{\thempfn}% \renewcommand\footnoterule{% \kern-3\p@\hrule\@width.4\columnwidth\kern2.6\p@}% \@footnotemark\@footnotetext}} \newcommand{\foot@info}{\@ifnextchar[\@xfootnote{% \protected@xdef\@thefnmark{\thempfn}% \foot@notetext}}% \renewcommand{\footnoterule}{\relax} \newcommand{\foot@notetext}[1]{\insert\footins{% \reset@font\footnotesize% \interlinepenalty\interfootnotelinepenalty% \splittopskip\footnotesep% \splitmaxdepth \dp\strutbox \floatingpenalty \@MM% \hsize\columnwidth \@parboxrestore% \protected@edef\@currentlabel{% \csname p@footnote\endcsname\@thefnmark}% \color@begingroup% \make@fntext{% \rule\z@\footnotesep\ignorespaces#1\@finalstrut\strutbox}% \color@endgroup}}% \newcommand{\make@fntext}[1]{\noindent #1} % Data for paper info block _______________________________ \newcommand\cpr@string{% \ifthenelse{\equal{\@originated}{\@empty}} {}{\vspace*{-1.5\baselineskip}\rule{7pc}{.5pt}\\ \@originated\vspace*{\baselineskip}}\par \ifthenelse{\equal{\@lang}{rus}}{\copyright\space \cpr@year\space\space \cpr@holder.} {Copyright \cpr@year\space by the \cpr@holder.} } % CCC code ________________________________________________ \newcommand{\jr@v}{\ifthenelse{\equal{\jour@vol}{\@empty}}% {00}{\ifnum\jour@vol<10 0\jour@vol \else \jour@vol \fi}} \newcommand{\jr@n}{ \ifthenelse{\equal{\jour@num}{\@empty}}% {00}{\ifnum\jour@num<10 0\jour@num \else \jour@num \fi}} \newcommand{\pr@n}{% \ifthenelse{\equal{\paper@num}{\@empty}}% {\typeout{}\typeout{SIMPLETEXML ERROR!!! Number of paper is not defined.}% \ifthenelse{\equal{\warnmes}{silent}}{} {\typein[\paper@num]{Enter number of paper.}}}{}% \ifnum\paper@num<10 0\paper@num \else \paper@num \fi} \newcommand{\@ccc}{% \ifthenelse{\equal{\jour@name}{\jrn@BS}} {\@issn/\jour@date/\paper@num\@price} {\ifthenelse{\equal{\jour@name}{\jrn@ES} \or \equal{\jour@name}{\jrn@PO} \or \equal{\jour@name}{\jrn@RE} \or \equal{\jour@name}{\jrn@NZ}} %%%{ISSN:\space\@issn\space(online)}{}}}% {\response@page@dir\paper@num.html}{}}}% % % Paper information (number, CCC, dates, etc.)____________________ \newcommand{\paper@info}{% %%%%%%%%\ifthenelse{\equal{\@lang}{rus}} {\vskip2pt{\fontsize{8}{9}\selectfont %%%%%%%%\cpr@string}} %%%%%%%%{\vskip2pt{\fontsize{8}{9}\selectfont \cpr@string\\ \vskip-8pt \@ccc} }} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% SECTION AND SUBSECTIONS %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newcommand\nosection{\vskip24pt plus 4pt minus 2pt% \ifthenelse{\boolean{abs@label}}{}{% {\bf\Large\noindent ABSTRACT COMMAND MISSED!\newline If there is no abstract text put $\backslash$abstract\{\} instead.\vskip2pc} \typeout{} \typeout{SIMPLETEXML ERROR!!! Abstract command missed! Put abstract{} instead.} \ifthenelse{\equal{\warnmes}{silent}}{} {\typein{Press ENTER to continue...}} \setboolean{abs@label}{true}}} \renewcommand\section{% \ifthenelse{\boolean{abs@label}}{}{% {\bf\Large\noindent ABSTRACT COMMAND MISSED!\newline If there is no abstract text put $\backslash$abstract\{\} instead.\vskip2pc} \typeout{} \typeout{SIMPLETEXML ERROR!!! Abstract command missed! Put abstract{} instead.} \ifthenelse{\equal{\warnmes}{silent}}{} {\typein{Press ENTER to continue...}} \setboolean{abs@label}{true}} \ifthenelse{\equal{\jour@name}{\jrn@BS} \or \equal{\jour@name}{\jrn@ES} \or \equal{\jour@name}{\jrn@RE} \or \equal{\jour@name}{\jrn@MS}}{% \setcounter{secnumdepth}{0}} %% Temporary set for fractals {\setcounter{secnumdepth}{0}} %% Temporary set for fractals \@startsection {section}{1}{\z@}% {28pt plus 4pt minus 2pt}{17pt plus 3pt}% {\section@font% \pretolerance=10000\raggedright}} \newcommand\floatsection{% \setcounter{flbl}{1} \hyperdef{floats}{section}{}% \@startsection{section}{1}{\z@}% {28pt plus 4pt minus 2pt}{17pt plus 3pt} {\section@font% \pretolerance=10000\raggedright}} \renewcommand\subsection{% \@startsection{subsection}{2}{\z@}% {21pt plus 4pt minus 4pt}{16pt plus 3pt} {\normalfont\normalsize\bfseries\pretolerance=10000\raggedright}} \renewcommand\subsubsection{% \@startsection{subsubsection}{3}{1em} {7pt plus 4pt minus 2pt}{-1em}{\parabs\space\normalfont\normalsize\bfseries}} \renewcommand\paragraph{% \@startsection{paragraph}{4}{1em} {7pt plus 4pt minus 2pt}{-1em}{\parabs\space\normalfont\normalsize\bfseries}} \renewcommand\subparagraph{% \@startsection{subparagraph}{5}{\parindent}% {7pt plus 4pt minus 2pt}{-1em}{\parabs\space\normalfont\footnotesize\bfseries}} \newcommand\acknowledgments{\@startsection{subparagraph}{5}{1em} {10pt plus 4pt minus 2pt}{-1em} {\footnotesize \parabs\space{\bfseries \acknowstit.}\footnotesize}} \let\acknowledgements=\acknowledgments \newcommand\acknowledgment{\@startsection{subparagraph}{5}{1em} {10pt plus 4pt minus 2pt}{-1em} {\footnotesize \parabs\space{\bfseries \acknowtit.}\footnotesize}} \let\acknowledgement=\acknowledgment \newcommand\supplement{% \@startsection{subsection}{5}{\z@}% {21pt plus 4pt minus 4pt}{16pt plus 3pt} {\normalfont\normalsize\bfseries\pretolerance=10000\raggedright}% {\fontsize{8}{9}\selectfont}\hfill {\normalsize\paper@code}\\% \fontsize{8}{9}\selectfont \ifthenelse{\(\equal{\jour@name}{\jrn@JGRA} \or \equal{\jour@name}{\jrn@JGRB} \or \equal{\jour@name}{\jrn@JGRC} \or \equal{\jour@name}{\jrn@JGRD} \or \equal{\jour@name}{\jrn@JGRE}\)} {} {\typeout{}\typeout{SIMPLETEXML ERROR!!! Supplemental abstract is not specified for selected journale code!}\ifthenelse{\equal{\warnmes}{silent}}{}% {\typein{Press ENTER to continue...}}}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% APPENDICES %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \renewcommand\appendix{% \ifthenelse{\equal{\jour@name}{\jrn@BS} \or \equal{\jour@name}{\jrn@ES} \or \equal{\jour@name}{\jrn@RE} \or \equal{\jour@name}{\jrn@MS}}{% \setcounter{section}{0}% \setcounter{subsection}{0}% \setcounter{equation}{0}% \gdef\thesection{\@Alph\c@section} \renewcommand \theequation {{\@Alph\theappendix}\@arabic\c@equation} \addtocounter{appendix}{1} \setcounter{secnumdepth}{0}}{% \setcounter{section}{0}% \setcounter{subsection}{0}% \setcounter{equation}{0}% \gdef\thesection{\@Alph\c@section} \renewcommand \theequation {{\@Alph\theappendix}\@arabic\c@equation} \addtocounter{appendix}{1} \setcounter{secnumdepth}{0}} %% 4 \@startsection {section}{1}{\z@}% {28pt plus 4pt minus 2pt}{17pt plus 3pt}% {\section@font% \pretolerance=10000\raggedright \appendixname~{\@Alph\theappendix}.\space}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% REFERENCES %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Initialisation of reference fragments % The following commands are reserved for CrossRef block \def\ini@auth{\@empty} \newcommand{\refauth}[1]{\gdef\ref@auth{#1}% \let\ini@auth\ref@auth% \ifthenelse{\equal{\ref@auth}{\@empty}}{% {\bf ERROR!!! Surname of first author missed!}% \typeout{}% \typeout{SIMPLETEXML ERROR!!! Surname of first author missed! Reset reference.}% \ifthenelse{\equal{\warnmes}{silent}}{}% {\typein{Press ENTER to continue...}}% }{\ini@auth}}% %\def\ini@title{\@empty} \newcommand{\reftitle}[1]{\gdef\ref@title{#1}\ref@title}%% %\let\ini@title\ref@title \ini@title}% %\def\ini@jour{\@empty} \newcommand{\refjour}[1]{\gdef\ref@jour{#1}\ref@jour}%% %\let\ini@jour\ref@jour \ini@jour}% %\def\ini@book{\@empty} \newcommand{\refbook}[1]{\gdef\ref@book{#1}\ref@book}%% %\let\ini@book\ref@book \ini@book}% %\def\ini@vol{\@empty} \newcommand{\refvol}[1]{\gdef\ref@vol{#1}\ref@vol}%% %\let\ini@vol\ref@vol \ini@vol}% %\def\ini@numb{\@empty} \newcommand{\refnumb}[1]{\gdef\ref@numb{#1}\ref@numb}%% %\let\ini@numb\ref@numb \ini@numb}% %\def\ini@page{\@empty} \newcommand{\refpage}[1]{\gdef\ref@page{#1}\ref@page}%% %\let\ini@page\ref@page \ini@page}% %\def\ini@year{\@empty} \newcommand{\refyear}[1]{\gdef\ref@year{#1}\ref@year}%% %\let\ini@year\ref@year \ini@year}% \def\ini@target{\@empty} %% Start value of reference target ID \newcommand{\nbdoi}[1]{% Non-breaking DOIs \gdef\part@one{#1}% \ifthenelse{\equal{\hyptest}{hyper}}% {\gdef\ref@doi{\part@one}\href{http://dx.doi.org/\part@one}{\part@one}}% {\gdef\ref@doi{\part@one}\part@one}}% \newcommand{\brdoi}[2]{% Breaking DOIs \gdef\part@one{#1}\gdef\part@two{#2}% \ifthenelse{\equal{\hyptest}{hyper}}% {\gdef\ref@doi{\part@one\part@two}\href{http://dx.doi.org/\part@one\part@two}{\part@one\linebreak\part@two}}% {\gdef\ref@doi{\part@one\part@two}\part@one\linebreak\part@two}}% \newcommand{\tagdoi}[3]{% For < and > delimiters in DOI: string \gdef\ref@doi{#1}\gdef\part@one{#2}\gdef\part@two{#3}% \def\ref@text{\ifthenelse{\equal{\part@two}{\@empty}}{\part@one}{\part@one\linebreak\part@two}}% \ifthenelse{\equal{\hyptest}{hyper}}% {\href{http://dx.doi.org/\ref@doi}{\ref@text}}% {\ref@text}} \newcommand{\crossref}[3]{% For < and > delimiters in DOI: string \def\cr@link{#1}\def\part@one{#2}\def\part@two{#3}% \def\ref@text{\ifthenelse{\equal{\part@two}{\@empty}}{\part@one}{\part@one\linebreak \part@two}} \ifthenelse{\equal{\hyptest}{hyper}}{% hyper and non-break \href{http://dx.doi.org/\cr@link}{\ref@text}}{\ref@text}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% R E F E R E N C E S %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \def\references{% \xmlblockthr %% Writing the middle part to XML file \ifthenelse{\equal{\@lang}{rus}} {\@startsection{section}{1}{\z@} {28pt plus 4pt minus 2pt}{17pt plus 3pt} {\normalfont\fontsize{11}{12}\selectfont\bfseries}{Литература} \bgroup\font@reference\parindent=\z@\parskip=\z@% \def\refpar{\par\hangindent=1em\hangafter=1}} {\@startsection{section}{1}{\z@} {28pt plus 4pt minus 2pt}{17pt plus 3pt} {\normalfont\fontsize{11}{12}\selectfont\bfseries}{References} \bgroup\font@reference\parindent=\z@\parskip=\z@% \def\refpar{\par\hangindent=1em\hangafter=1}} % Cleaning of reference fragments % The following commands are reserved for CrossRef block \let\ref@auth\@empty \let\ref@title\@empty \let\ref@jour\@empty \let\ref@book\@empty \let\ref@vol\@empty \let\ref@numb\@empty \let\ref@page\@empty \let\ref@year\@empty \let\ref@doi\@empty \setcounter{lastref}{1} % Number of references }% % The following macro inserts anchors into the text linked to reference targets \newcommand{\reflink}[2]{% \ifthenelse{\equal{\hyptest}{hyper}}{\hyperref{}{reference}{#1}{#2}}{#2}}% \def\reference#1{\def\refpar{\par\hangindent=1em\hangafter=1}\relax\refpar% \ifnum\value{lastref}>1% \gdef\ref@targetid{#1} \hyperdef{reference}{\ref@targetid}{}% \xmlblockfour \let\ref@auth\@empty \let\ref@title\@empty \let\ref@jour\@empty \let\ref@book\@empty \let\ref@vol\@empty \let\ref@numb\@empty \let\ref@page\@empty \let\ref@year\@empty \let\ref@doi\@empty \let\ini@target\ref@targetid%% \else% \gdef\ref@targetid{#1} \hyperdef{reference}{\ref@targetid}{}% \let\ini@target\ref@targetid%% \fi% \addtocounter{lastref}{1} }%% \def\endreferences{% %%%%%%%%%%%%%%%%%%%%%\respage \xmlblockfour \xmlblockfive \ifnum\value{ancil}=0 \else\par\noindent\rule{7pc}{.3pt}\vskip-1pt\fi \refpar\egroup\vskip 1.5ex% {\font@reference\author@addresses\vskip5pt% \lplabel{lastpage}\label{lstpage} \lalabel{lastauth}\label{lstauth} \lrlabel{lastref}\label{lstref} \lflabel{flblfin}\label{flabl} %%%%%%%%%%%%%%%%%%%%%%%%\setcit \typeout{RUNHEAD: \runheadings} }} \def\noreferences{% %%%%%%%%%%%%%%%%%%%%%%%%%%%\xmlblockfour NOTE!!! this should be corrected!!!! \xmlblockfive \ifnum\value{ancil}=0 \else\par\noindent\rule{7pc}{.3pt}\vskip-1pt\fi\vskip 1.5ex% {\font@reference\author@addresses\vskip5pt%%%%\par\@dates% \lplabel{lastpage}\label{lstpage} \lalabel{lastauth}\label{lstauth} \lrlabel{lastref}\label{lstref} \lflabel{flblfin}\label{flabl} }} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% ANCILLARY INFORMATION %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Author addresses _________________________________________ \newcommand{\author@addresses}{\@empty} \newcommand{\join@parts}[2]{% \xdef\jo@par{#1#2}} \def\jo@par{\@empty} \newcommand{\authaddr}[1]{\gdef\ancil@data{#1}% \join@parts{\author@addresses}{\par\ancil@data\vskip1pt} \let\author@addresses=\jo@par \addtocounter{ancil}{1}} \let\authoraddr\authaddr % Dates _____________________________________________ \newcommand{\recv@prefix}{% \ifthenelse{\equal{\@lang}{rus}}{Получена}{Received}} \newcommand{\revis@prefix}{% \ifthenelse{\equal{\@lang}{rus}}{после переработки}{revised}} \newcommand{\accep@prefix}{% \ifthenelse{\equal{\@lang}{rus}}{принята}{accepted}} \def\@dates{ \gdef\date@break{% ;\space} \ifthenelse{\equal{\@recvdate}{\@empty}}{} {\ifthenelse{\equal{\@revisedate}{\@empty} \and \equal{\@accptdate}{\@empty}}{ \par\noindent(\recv@prefix\space\@recvdate)} {\ifthenelse{\equal{\@revisedate}{\@empty}}{ \par\noindent(\recv@prefix\space\@recvdate\date@break accepted\space\@accptdate)} {\ifthenelse{\equal{\@accptdate}{\@empty}}{ \par\noindent(\recv@prefix\space\@recvdate\date@break \revis@prefix\space\@revisedate)} {\par\noindent(\recv@prefix\space\@recvdate\date@break \revis@prefix\space\@revisedate;\par\noindent \accep@prefix\space\@accptdate) }}}}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% RUNNING HEAD %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Inserting commas into long numbers (for JGR page numbers)_____________ \newcommand{\modintnumber}[1]{% \setcounter{integ}{#1}% \ifnum\value{integ}>999999% \setcounter{topnum}{\value{integ}/1000000}% \setcounter{tmpnum}{\value{integ}-\value{topnum}*1000000}% \setcounter{midnum}{\value{tmpnum}/1000}% \setcounter{botnum}{\value{tmpnum}-\value{midnum}*1000}% \setbox6=\hbox{\unhbox6 \thetopnum,\themidnum,\thebotnum}% \else% \ifnum\value{integ}>9999% \setcounter{midnum}{\value{integ}/1000}% \setcounter{botnum}{\value{integ}-\value{midnum}*1000}% \setbox6=\hbox{\unhbox6 \themidnum,\thebotnum}% \else% \setbox6=\hbox{\unhbox6 \theinteg}% \fi% \fi% \copy6% } \renewcommand{\ps@myheadings}{% \def\@oddfoot{\reset@font% %%%%%%%%%%%%%%%%%%%%%%% test string \hfil\thepage\ \ofiz\ \thelstp\ and \theflblfin\hfil} \hfil\thepage\ \ofiz\ \thelstp\hfil} \let\@evenfoot\@oddfoot \def\@evenhead{% {\bfseries \cit@number}\hfil{\slshape\leftmark}{\bfseries \cit@number}}% \def\@oddhead{% {{\bfseries \cit@number}\slshape\rightmark}\hfil{\bfseries \cit@number}}% \let\@mkboth\@gobbletwo \let\sectionmark\@gobble \let\subsectionmark\@gobble } \renewcommand{\ps@plain}{\let\@mkboth\@gobbletwo\let\@oddhead\@empty% \def\@oddfoot{\reset@font% \phantom{\thepage\ \ofiz\ \thelstp}\hfil{\bfseries \cit@number}\hfil\thepage\ \ofiz\ \thelstp} \let\@evenhead\@empty\let\@evenfoot\@oddfoot} % The following commands save the last page number and start label in .aux file % which after being rerun is interpreted as a value of counter. % This is necessary for composing page range for the \ident line and % converting page range to comma-separated numbers. \newcommand{\lastpage}[1]{\setcounter{lstp}{#1}} \newcommand{\lplabel}[1]{\@bsphack\protected@write\@auxout{}% {\string\lastpage{\thepage}}\@esphack} % The same for number of references \newcommand{\lastref}[1]{\setcounter{lastref}{#1}} \newcommand{\lrlabel}[1]{\@bsphack\protected@write\@auxout{}% {\string\lastref{\thecurref}}\@esphack} % The same for number of authors \newcommand{\lastauth}[1]{\setcounter{lastauth}{#1}} \newcommand{\lalabel}[1]{\@bsphack\protected@write\@auxout{}% {\string\lastauth{\theatot}}\@esphack} % Marker of floatsection \newcommand{\flblfin}[1]{\setcounter{flblfin}{#1}} \newcommand{\lflabel}[1]{\@bsphack\protected@write\@auxout{}% {\string\flblfin{\theflbl}}\@esphack} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% FIGURES AND TABLES %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newdimen\pt@width \renewcommand{\@makecaption}[2]{% \vskip\abovecaptionskip \centerline{\parbox{\pt@width}{{\bfseries #1.} #2}}% \vskip\belowcaptionskip} \newdimen\pt@width \def\tablewidth#1{\pt@width=#1} \pt@width\textwidth \let\figurewidth=\tablewidth \let\captionwidth=\tablewidth \newcommand\tabext{\pt@width} % The following fragment modifies some definitions of 'longtable' package % to match them with the basic 'table' definitions. \def\longtable{% \par \ifx\multicols\@undefined \else \ifnum\col@number>\@ne \@twocolumntrue \fi \fi \if@twocolumn \typeout{}\typeout{SIMPLETEXML WARNING!!! Longtable not in 1-column mode!}% \ifthenelse{\equal{\warnmes}{silent}}{} {\typein{Press ENTER to continue...}} \fi \begingroup \@ifnextchar[\LT@array{\LT@array[x]}} \let\LTcapwidth=\pt@width \renewcommand\LT@makecaption[3]{% \LT@mcol\LT@cols c{\hbox to\z@{\hss\parbox[t]\LTcapwidth{% \sbox\@tempboxa{#1{{\bfseries #2.} }#3}% \ifdim\wd\@tempboxa>\hsize #1{{\bfseries #2.} }#3% \else \hbox to\hsize{\box\@tempboxa\hfil}% % to center a caption of a longtable use the form below % \hbox to\hsize{\hfil\box\@tempboxa\hfil}% \fi \endgraf\vskip\baselineskip}% \hss}}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% SETTING IMAGES %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % The next command is the generalized command for image file % insertion which can be convenient for translation input files % to .dvi and .pdf output. % \newcommand{\setimage}[5]{% \gdef\h@bias{#1}\gdef\v@bias{#2}% \gdef\h@imsize{#3}\gdef\v@imsize{#4}\gdef\im@name{#5}% \addtocounter{figure}{1}{\hyperdef{floats}{fig\thefigure}{}}\addtocounter{figure}{-1}% \ifthenelse{\equal{\im@name}{\@empty}}% {\centerline{\parbox{20pc}{\begin{center}IMAGE MISSED\vspace*{1pc}\\ Insert image name with the width and/or height value.\end{center}}} \typeout{} \typeout{SIMPLETEXML ERROR!!! Insert image name with the width and/or height value.} \ifthenelse{\equal{\warnmes}{silent}}{} {\typein{Press ENTER to continue...}}}{% \ifthenelse{\equal{\v@bias}{\@empty}}{}{\vskip\v@bias}% \ifthenelse{\equal{\pdfout}{pdf}}% {\IfFileExists{\im@name.png} {\centerline{\ifthenelse{\equal{\h@bias}{\@empty}}{}{\hskip\h@bias}% \ifthenelse{\equal{\h@imsize}{\@empty} \and \equal{\v@imsize}{\@empty}}% {\parbox{20pc}{\begin{center}PNG IMAGE {\bf \im@name.png}\vspace*{1pc}\\ Set width and/or height for PNG image.\end{center}} \typeout{} \typeout{SIMPLETEXML ERROR!!! At least one size (width or height) must be set for PNG image.} \ifthenelse{\equal{\warnmes}{silent}}{} {\typein{Press ENTER to continue...}}}% {\ifthenelse{\equal{\v@imsize}{\@empty}}% {\pdfimage width \h@imsize {\im@name.png}}% {\ifthenelse{\equal{\h@imsize}{\@empty}}% {\pdfimage height \v@imsize {\im@name.png}}% {\pdfimage width \h@imsize height \v@imsize {\im@name.png}}}}% \ifthenelse{\equal{\h@bias}{\@empty}}{}{\hskip-\h@bias}}} {\parbox{20pc}{\begin{center}MISSED PNG IMAGE {\bf {\im@name.png}}\vspace*{1pc}\\ Put requested PNG image to the current directory.\end{center}} \typeout{} \typeout{SIMPLETEXML ERROR!!! There is no requested \im@name.png file.} \ifthenelse{\equal{\warnmes}{silent}}{} {\typein{Press ENTER to continue...}}}}% {\IfFileExists{\im@name.eps} {\centerline{\ifthenelse{\equal{\h@bias}{\@empty}}{}{\hskip\h@bias}% \epsffile{\im@name.eps}% \ifthenelse{\equal{\h@bias}{\@empty}}{}{\hskip-\h@bias}}}% {\parbox{20pc}{\begin{center}MISSED EPS IMAGE {\bf {\im@name.eps}}\vspace*{1pc}\\ Put requested EPS image to the current directory.\end{center}} \typeout{} \typeout{SIMPLETEXML ERROR!!! There is no requested \im@name.eps file.} \ifthenelse{\equal{\warnmes}{silent}}{} {\typein{Press ENTER to continue...}}} \ifthenelse{\equal{\v@bias}{\@empty}}{}{\vskip-\v@bias}}}} % Next macro expands the width of table to \tablewidth value % Parameter of \fixtabwidth[] must be set to the number % of columns in the current \tabular. % It should be put inside \tabular block somewhere \newcommand\fixtabwidth[1]{\multicolumn{#1}{@{\hspace{0pt}}c@{\hspace{0pt}}}{\rule{\tabext}{0pt}}} % Next macro defines table footnote. First parameter must be set to the % number of columns in the current \tabular. \newcommand\tablefootnote[3]{\multicolumn{#1}{@{\hspace{0pt}}c@{\hspace{0pt}}}{% \parbox[t]{\tabext}{\baselineskip=8pt\vskip-3pt% \ifthenelse{\equal{#2}{\@empty}}{\footnotesize #3} {$^{\rm #2}$\space {\footnotesize #3}}% }}\\} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% LANDSCAPE FLOATS %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % It is recommended to use 'sidewaysfigure' and 'sidewaystable' macros % defined in the 'rotating.sty' template by Sebastian Rahtz and Leonor % Barroca. The package supports one- and twocolumn floats rotating them % to the left page (90 \deg anticlockwise) ot to the right page % (90 \deg clockwise) % NOTE: The following macros were developed and used for landscape figures % with captions rotated 90\deg anticlockwise. They are saved in the current % version for compatibility with older versions of the template. % Parameter meanings: % 1 - horizontal displacement "+" to the right, "-" to the left % 2 - image width (rotated 90\deg anticlockwise) % 3 - image height (rotated 90\deg anticlockwise) % 4 - image file name % 5 - caption text % NOTE: It is assumed that images are already rotated. The macro rotates % only captions. For correct ajusting of rotated captions image width and % height in LaTeX units must be set \newcommand\inslan[5]{% \newlength{\hpdfone} \newlength{\hpdftwo} \newlength{\pdfcaptbias} \addtocounter{figure}{1}% \settowidth{\shortcaplen}{{\bf \figurename\space\thefigure.} #5}% \ifthenelse{\lengthtest{\shortcaplen<\captionwidth}}{\caplen=\shortcaplen}{\caplen=\captionwidth}% \ifthenelse{\equal{\pdfout}{pdf}}% {% PNG \hskip#1\mbox{\pdfimage width #2 height #3 {#4.png}}\vskip-#3% \setlength{\pdfcaptbias}{((#1+#2)/3)*2} \rotpspdf[l]{\parbox{#3}{\noindent\rule{0pt}{\pdfcaptbias+\baselineskip}% \par\centerline{\parbox{\caplen}{{\bf \figurename\space\thefigure.} #5}}}}% }% {% EPS \hskip#1\epsffile{#4.eps}\vskip-#3\hskip#2\hskip#1\hskip2pc% \rotpspdf[l]{\parbox{#3}{\centerline{\parbox{\caplen}{{\bf \figurename\space\thefigure.} #5}}}} }}% % Landscape table \newcommand{\lantablebody}[1]{\gdef\lantab{% \ifthenelse{\equal{\pdfout}{pdf}}% {% for PDF branch (.png image file) \hskip\ltshift \vbox{\rotpspdf[l]{\vbox{#1}}}% }{% for DVI branch (.eps image file) \centerline{\vbox{\rotpspdf[l]{\vbox{#1}}}} }}}% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% COMPATIBILITY WITH OLDER VERSIONS %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % The following commands are included for compatibility wiht earlier % versions of RUSPAGE/GMAIPAGE/AGUPAGE page styles % Extra caption definitions for page composing % Table caption containing \reflink \def\smalltabcaption#1{ \addtocounter{table}{1}\vskip 1ex\normalbaselineskip 10.5pt \parbox{20pc}{\vspace*{-2\baselineskip}\hyperdef{floats}{tab\thetable}{}\vspace*{2\baselineskip}{\bf \tablename\space\thetable.} #1}} \def\widetabcaption#1{ \addtocounter{table}{1}\vskip 1ex\normalbaselineskip 10.5pt \parbox{41pc}{\vspace*{-2\baselineskip}\hyperdef{floats}{tab\thetable}{}\vspace*{2\baselineskip}{\bf \tablename\space\thetable.} #1}} % Twocolumn tables put to the page bottom \def\crosstablecaption#1{ \addtocounter{table}{1}\vskip 1ex\normalbaselineskip 10.5pt \parbox{41pc}{\vspace*{-2\baselineskip}\hyperdef{floats}{tab\thetable}{}\vspace*{2\baselineskip}{\bf \tablename\space\thetable.} #1}} % Twocolumn figures put to the page bottom \def\crosscaption#1{ \addtocounter{figure}{1}\vskip 1ex\normalbaselineskip 10.5pt \parbox{41pc}{\centerline{\parbox{35pc}{{\bf \figurename\space\thefigure.} #1}}}} % Landscape caption \def\landscapecaption#1{ \addtocounter{figure}{1}\vskip 1ex\normalbaselineskip 10.5pt \parbox{54pc}{\centerline{\parbox{41pc}{{\bf \figurename\space\thefigure.} #1}}}} % Onecolumn figures put to the page bottom \def\bottomcaption#1{ \addtocounter{figure}{1}\vskip 2.5ex\normalbaselineskip 10.5pt \parbox{20pc}{{\bf \figurename\space\thefigure.} #1}\vskip -.5ex} \def\dblbotcaption#1{ \addtocounter{figure}{1}\vskip 2ex\normalbaselineskip 10.5pt \centerline{\parbox{35pc}{{\bf \figurename\space\thefigure.} #1}}} % Centering short twocolumn captions \def\shortcaption#1{ \addtocounter{figure}{1}\vskip 2ex\normalbaselineskip 10.5pt \parbox{41pc}{\centerline{{\bf \figurename\space\thefigure.} #1}}} % Centering short onecolumn captions \def\smallcaption#1{ \addtocounter{figure}{1}\vskip 2ex\normalbaselineskip 10.5pt \parbox{20pc}{\centerline{{\bf \figurename\space\thefigure.} #1}}} % Inserting .pcx and .eps images into float body (old version) % First and second parameters (in LaTeX units) provide vertical and % horisontal displacement compare to current position. Third parameter % is the vertical size of image (in LaTeX units) and fourth parameter is an % image file name (PCX or MSP bitmap files for \inspcx and EPS - for \inseps) \newcommand\inspcx[4]{\vskip#1\relax \noindent\hskip#2\relax\special{em:graph #4}\vskip-#1\relax\vskip#3\relax} \newcommand\inseps[4]{\vskip#1\relax \noindent\hskip#2\relax\epsffile{#4}\vskip-#1\relax} % The following moves caption up and down inside reserved vertical space \def\ccaption#1#2{\vskip#1\relax\caption{#2}\vskip-#1} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% SELFCONGFIGURED ROTATION FOR DVI and PDF %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % The following command \rotpspdf supports rotation of a box and included for % the compatibility with older versions of the package. % For DVI option it uses an emulation of \rotate[