% Copyright 2006 Konstantin Korikov <lostclus@ua.fm>
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in
%   http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2003/12/01 or later.
%
% This work has the LPPL maintenance status "maintained".
% 
% This Current Maintainer of this work is Konstantin Korikov.
%
% This work consists of all files listed in manifest.txt.
%

%
% This is automaticaly generated file, do not edit it.
%

\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{espdtitlebase}[2010/01/14 v0.98 Base Title Commands]

\newcommand{\ESPDtitleApprovedBy}[2]{%
  \@namedef{ESPD@title@approved@post@1}{#1}
  \@namedef{ESPD@title@approved@name@1}{#2}}

\newcount\ESPD@title@agreed@cnt
\newcount\ESPD@title@designed@cnt
\ESPD@title@agreed@cnt = 0
\ESPD@title@designed@cnt = 0

\newcommand{\ESPDtitleAgreedBy}[2]{%
  \advance \ESPD@title@agreed@cnt 1
  \@namedef{ESPD@title@agreed@post@\number\ESPD@title@agreed@cnt}{#1}
  \@namedef{ESPD@title@agreed@name@\number\ESPD@title@agreed@cnt}{#2}}

\newcommand{\ESPDtitleDesignedBy}[2]{%
  \advance \ESPD@title@designed@cnt 1
  \@namedef{ESPD@title@designed@post@\number\ESPD@title@designed@cnt}{#1}
  \@namedef{ESPD@title@designed@name@\number\ESPD@title@designed@cnt}{#2}}

\let\ESPD@title@approving@sheet\@undefinded
\newcommand{\ESPDtitleApprovingSheet}[1]{%
  \def\ESPD@title@approving@sheet{#1}}

\newcommand{\ESPDtitleMakeStamp}[2]{#1\\\rule{2cm}{.1mm}\ #2\\
``\rule{.8cm}{.1mm}'' \rule{2.3cm}{.1mm}\ \rule{1.5cm}{.1mm}}

\newcommand{\ESPD@title@make@stamp}[2]{%
  \ESPDtitleMakeStamp{%
    \@nameuse{ESPD@title@#1@post@#2}}{%
    \@nameuse{ESPD@title@#1@name@#2}}}

\newcommand{\ESPDtheTitleFieldI}{}
\newcommand{\ESPDtheTitleFieldII}{}
\newcommand{\ESPDtheTitleFieldIII}{}
\newcommand{\ESPDtheTitleFieldIV}{}
\newcommand{\ESPDtheTitleFieldV}{}
\newcommand{\ESPDtheTitleFieldVI}{}
\newcommand{\ESPDtheTitleFieldVIa}{}
\newcommand{\ESPDtheTitleFieldVII}{}
\newcommand{\ESPDtheTitleFieldVIII}{}
\newcommand{\ESPDtheTitleFieldIX}{}
\newcommand{\ESPDtheTitleFieldX}{}
\newcommand{\ESPDtheTitleFieldXI}{}
\newcommand{\ESPDtitleFontI}{}
\newcommand{\ESPDtitleFontII}{}
\newcommand{\ESPDtitleFontIII}{}
\newcommand{\ESPDtitleFontIV}{}
\newcommand{\ESPDtitleFontV}{}
\newcommand{\ESPDtitleFontVI}{}
\newcommand{\ESPDtitleFontVIa}{}
\newcommand{\ESPDtitleFontVII}{}
\newcommand{\ESPDtitleFontVIII}{}
\newcommand{\ESPDtitleFontIX}{}
\newcommand{\ESPDtitleFontX}{}
\newcommand{\ESPDtitleFontXI}{}

\def\ESPD@title@after@page{%
  \ESPDclearDoublePage
  \ESPDstyle{\ESPD@default@style@other}
  \ESPDthisStyle{\ESPD@default@style@first}}

% ### Выравнивание титульной страницы
\newenvironment{ESPDtitlePage}{%
  \begin{ESPDpadding}{0mm}{5mm}
  \ESPDstyle{\ESPD@default@style@title}}{%
  \end{ESPDpadding}
  \aftergroup\ESPD@title@after@page}

