\RequirePackage{amsmath,amssymb,russcorr,wrapfig,epsf,graphicx}

\let\�����=7


\pagestyle{empty}

\textwidth=180mm
\textheight=288mm
\hoffset=-25mm
\voffset=-40mm
\parindent=0mm

\newcounter{tasks}
\newcommand{\task}
  {\par\smallskip\refstepcounter{tasks}\textbf{������\hbox{ }\arabic{tasks}}. }
\newcommand{\taskst}
  {\par\smallskip\refstepcounter{tasks}\textbf{������\hbox{ }\arabic{tasks}}*. }

\newcounter{subs}[tasks]
\newcommand{\sub}
  {\refstepcounter{subs}\ralph{subs}) }
\newcommand{\subst}
  {\refstepcounter{subs}\ralph{subs}*) }


\newsavebox{\var}

\newenvironment{sheet}[4]
%#1 - circle title
%#2 - lesson number
%#3 - date
%#4 - theme
{
%\parindent=0pt
 \global\sbox{\var}\bgroup\vbox\bgroup

 \small{
  \vspace{7mm}
  \def\temptwo{#2}
  \def\tempthree{#3}
  \hbox to \textwidth{#1, \�����\ �����\ifx\temptwo\empty\else, ������� #2\fi\hfill\ifx\tempthree\empty\�������\else #3\fi}
 }
 \bigskip
 \centerline{\large \sffamily{#4}}
 \medskip

 \setcounter{tasks}{0}
 \setcounter{subs}{0}
}
{
 \egroup\egroup
 \setcounter{tasks}{0}
 \setcounter{subs}{0}
}


\newcount\copies

\def\print#1{
  \copies=1
  \loop\ifnum\copies<#1 
    \advance\copies by1
    \usebox{\var}
    \vfill
  \repeat
  \usebox{\var}
}


%aliases
\newcommand{\eqdef}{\stackrel{\mathrm{def}}{=}}
\renewcommand{\le}{\leqslant}
\renewcommand{\ge}{\geqslant}
