%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%% This is the template to use for SAT with LATEX %%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%% INSTRUCTIONS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% This file inputs sat.cls, so that file from the SAT website
% http://www.math.technion.ac.il/sat/authors.html
% should also be included in the same directory where this file is run from

% Please complete the "OPTIONS", "DATA", "YOUR MACROS", "YOUR MATHEMATICS" 
% sections below, and leave the rest unchanged

\documentclass[11pt]{sat}

\newif\ifsattoc\sattoctrue
\newread\testfl\immediate\openin\testfl=\jobname.toc
    \ifeof\testfl\sattocfalse\fi\closein\testfl

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%% OPTIONS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%% Erase % from the beginning of the following lines if you want to set the option

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%% Subsections numbered: 
%\setcounter{secnumdepth}{2}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%% Formula numbers in the form (x.y) (numbered within sections), 
%%%% but then you must use \sect instead of \section:
%\newcommand{\sect}[1]{\section{#1}\setcounter{equation}{0}}
%\renewcommand{\theequation}{\thesection.\arabic{equation}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%  PLEASE FILL IN THESE DATA  %%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%% Please supply the following data in place of xxx

\title{xxx}
\def\shorttitle{xxx}

\author{xxx}
\def\shortauthor{xxx}

\def\versiondate{xxx}

\def\abstracttext{xxx}

\def\MSCnumbers{xxx} % see http://www.ams.org/msc/

\def\keywords{} % Insert keywords and/or phrases, if you like

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%% INSERT YOUR MACROS HERE %%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%




%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%% END OF YOUR MACROS  %%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%% FOR EDITORS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%% DO NOT MODIFY THESE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%% Initializing (to be done by the editors)
\def\startpagenumber{1}
\def\volumenumber{5} % = current year - 2005
\def\year{2010}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\def\dword#1{{\bf #1}}
\def\dd{\,{\rm d}}  % for integration (making them mathop places them less well)
\def\ee{{\rm e}}  % for the base of the natural log
\def\ii{{\rm i}}  % for the imaginary unit

\setcounter{page}{\startpagenumber}
\pagestyle{myheadings}
\newcommand{\beginddoc}{\begin{document}
\maketitle
\begin{abstract}
\abstracttext
\vskip1pt MSC: \MSCnumbers
\ifx\keywords\empty\else\vskip1pt Keywords: \keywords\fi
\end{abstract}
\insert\footins{\scriptsize
\medskip
\baselineskip 8pt
\leftline{Surveys in Approximation Theory}
\leftline{Volume \volumenumber, \year.
pp.~\thepage--\pageref{endpage}.}
\leftline{\copyright\ \year\ Surveys in Approximation Theory.}
\leftline{ISSN 1555-578X}
\leftline{All rights of reproduction in any form reserved.}
\smallskip
\par\allowbreak}
\ifsattoc\else\tableofcontents\fi}
\renewcommand\rightmark{\ifodd\thepage{\it \hfill\shorttitle\hfill}\else {\it \hfill\shortauthor\hfill}\fi}
\markboth{{\it \shortauthor}}{{\it \shorttitle}}
\markright{{\it \shorttitle}}
\def\endddoc{\label{endpage}\end{document}}
\date{{\small \versiondate}}
\setlength\oddsidemargin{0pc}
\setlength\evensidemargin{0pc}
\setlength\topmargin{0in}
\setlength\textwidth{6.5in}
\setlength\textheight{8.6in}
\beginddoc

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%% YOUR MATHEMATICS  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%% INSERT YOUR ARTICLE HERE USING %%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%% STANDARD LATEX COMMANDS %%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%******************************* ADDRESS *************************

%  Beginning of addresses

{

\bigskip
% first author's name, affiliation, and address, including email and web page
\hskip1.4 em\vbox{\noindent your name\\your department\\address\\
 {\tt your email }\\
{\tt your homepage }}

} 

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\endddoc
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
