180 lines
6.4 KiB
TeX
180 lines
6.4 KiB
TeX
% 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{espdspecii}[2010/01/14 v0.98 Specification GOST 2.106.95 Form 2]
|
|
|
|
\RequirePackage{espdlang}
|
|
\RequirePackage{espdstamp}
|
|
\RequirePackage{rotating}
|
|
\RequirePackage{chngpage}
|
|
\RequirePackage{lscape}
|
|
\RequirePackage{array}
|
|
\RequirePackage{longtable}
|
|
|
|
\newcommand{\ESPDdrawSpecificationII}{
|
|
\put(\ESPDltu{\ESPDframeX},\ESPDltu{\ESPDframeY}){%
|
|
\begin{picture}(0,0)
|
|
\ESPD@tmpdimb=\ESPDframeW
|
|
\ESPD@tmpdimc=8mm
|
|
\advance\ESPD@tmpdimb -70mm
|
|
\divide\ESPD@tmpdimb by \ESPD@tmpdimc
|
|
\ESPD@tmpcnta=\ESPD@tmpdimb
|
|
\ESPD@tmpdimb=\ESPD@tmpdimc
|
|
\multiply\ESPD@tmpdimb by \ESPD@tmpcnta
|
|
\advance\ESPD@tmpdimb 15mm
|
|
\linethickness{\ESPDlineThick}
|
|
\put(0,6){\line(1,0){\ESPDltu{\ESPD@tmpdimb}}}
|
|
\put(0,12){\line(1,0){\ESPDltu{\ESPD@tmpdimb}}}
|
|
\put(0,20){\line(1,0){\ESPDltu{\ESPD@tmpdimb}}}
|
|
\put(0,90){\line(1,0){\ESPDltu{\ESPD@tmpdimb}}}
|
|
\put(0,162){\line(1,0){\ESPDltu{\ESPD@tmpdimb}}}
|
|
\put(0,172){\line(1,0){\ESPDltu{\ESPD@tmpdimb}}}
|
|
\put(0,182){\line(1,0){\ESPDltu{\ESPD@tmpdimb}}}
|
|
\put(0,257){\line(1,0){\ESPDltu{\ESPD@tmpdimb}}}
|
|
\put(15,0){\line(0,1){\ESPDltu{\ESPDframeH}}}
|
|
\linethickness{\ESPDlineThin}
|
|
\multiput(23,0)(8, 0){\the\ESPD@tmpcnta}{%
|
|
\line(0,1){\ESPDltu{\ESPDframeH}}}
|
|
\end{picture}}}
|
|
|
|
\newcommand{\ESPDdrawSpecIIstampII}{%
|
|
\setlength{\ESPD@tmpdima}{\ESPDframeX+\ESPDframeW}
|
|
\setlength{\ESPD@tmpdimb}{\ESPDframeY+\ESPDframeH-185mm}
|
|
\put(\ESPDltu{\ESPD@tmpdima},\ESPDltu{\ESPD@tmpdimb}){%
|
|
\begin{sideways}\usebox{\ESPD@stamp@ii@box}\end{sideways}}
|
|
\put(\ESPDltu{\ESPD@tmpdima},\ESPDltu{\ESPD@tmpdimb}){%
|
|
\begin{sideways}\ESPD@stamp@ii@var\end{sideways}}}
|
|
|
|
\newcommand{\ESPDdrawSpecIIstampIIa}{%
|
|
\setlength{\ESPD@tmpdima}{\ESPDframeX+\ESPDframeW}
|
|
\setlength{\ESPD@tmpdimb}{\ESPDframeY+\ESPDframeH-185mm}
|
|
\put(\ESPDltu{\ESPD@tmpdima},\ESPDltu{\ESPD@tmpdimb}){%
|
|
\begin{sideways}\usebox{\ESPD@stamp@ii@a@box}\end{sideways}}
|
|
\put(\ESPDltu{\ESPD@tmpdima},\ESPDltu{\ESPD@tmpdimb}){%
|
|
\begin{sideways}\ESPD@stamp@ii@a@var\end{sideways}}}
|
|
|
|
\ifESPD@enable@columns@xxvii
|
|
\newcommand{\ESPDdrawSpecIIcolumnsXXVII}{%
|
|
\setlength{\ESPD@tmpdima}{\ESPDframeX+\ESPDframeW-48mm}
|
|
\setlength{\ESPD@tmpdimb}{\ESPDframeY+\ESPDframeH-120mm}
|
|
\put(\ESPDltu{\ESPD@tmpdima},\ESPDltu{\ESPD@tmpdimb}){%
|
|
\begin{sideways}\usebox{\ESPD@columns@xxvii@ii@box}\end{sideways}}%
|
|
\addtolength{\ESPD@tmpdima}{8mm}%
|
|
\put(\ESPDltu{\ESPD@tmpdima},\ESPDltu{\ESPD@tmpdimb}){%
|
|
\begin{sideways}\usebox{\ESPD@column@xxx@box}\end{sideways}}}
|
|
\fi
|
|
|
|
\ifESPD@enable@column@xxxi
|
|
\newcommand{\ESPDdrawSpecIIcolumnXXXI}{%
|
|
\setlength{\ESPD@tmpdima}{\ESPDframeX+\ESPDframeW+1.2mm}%
|
|
\setlength{\ESPD@tmpdimb}{\ESPDframeY+\ESPDframeH-120mm}%
|
|
\put(\ESPDltu{\ESPD@tmpdima},\ESPDltu{\ESPD@tmpdimb}){%
|
|
\begin{sideways}%
|
|
\makebox[70mm][r]{\ESPDfontIII\ESPDcolumnXXXIname\hspace{4em}}%
|
|
\end{sideways}}}
|
|
\fi
|
|
|
|
\ifESPD@enable@column@xxxii
|
|
\newcommand{\ESPDdrawSpecIIcolumnXXXII}{%
|
|
\setlength{\ESPD@tmpdima}{\ESPDframeX+\ESPDframeW+1.2mm}%
|
|
\setlength{\ESPD@tmpdimb}{\ESPDframeY+\ESPDframeH-50mm}%
|
|
\put(\ESPDltu{\ESPD@tmpdima},\ESPDltu{\ESPD@tmpdimb}){%
|
|
\begin{sideways}%
|
|
\makebox[50mm][r]{\ESPDfontIII\ESPDtheColumnXXXII}%
|
|
\end{sideways}}}
|
|
\fi
|
|
|
|
\ESPDnewStyle{specII}{0mm}
|
|
\ESPDputOnStyle{specII}{frame}{\ESPDdrawFrame}
|
|
\ESPDputOnStyle{specII}{stamp}{\ESPDdrawSpecIIstampII}
|
|
\ESPDputOnStyle{specII}{specification}{\ESPDdrawSpecificationII}
|
|
\ifESPD@enable@columns@xix
|
|
\ESPDputOnStyle{specII}{columnsxix}{\ESPDdrawColumnsXIX}
|
|
\fi
|
|
\ifESPD@enable@columns@xxiv
|
|
\ESPDputOnStyle{specII}{columnsxxiv}{\ESPDdrawColumnsXXIV}
|
|
\fi
|
|
\ifESPD@enable@columns@xxvii
|
|
\ESPDputOnStyle{specII}{columnsxxvii}{\ESPDdrawSpecIIcolumnsXXVII}
|
|
\fi
|
|
\ifESPD@enable@column@xxxi
|
|
\ESPDputOnStyle{specII}{columnxxxi}{\ESPDdrawSpecIIcolumnXXXI}
|
|
\fi
|
|
\ifESPD@enable@column@xxxii
|
|
\ESPDputOnStyle{specII}{columnxxxii}{\ESPDdrawSpecIIcolumnXXXII}
|
|
\fi
|
|
|
|
\ESPDnewStyle{specIIa}{0mm}
|
|
\ESPDputOnStyle{specIIa}{frame}{\ESPDdrawFrame}
|
|
\ESPDputOnStyle{specIIa}{stamp}{\ESPDdrawSpecIIstampIIa}
|
|
\ESPDputOnStyle{specIIa}{specification}{\ESPDdrawSpecificationII}
|
|
\ifESPD@enable@columns@xix
|
|
\ESPDputOnStyle{specIIa}{columnsxix}{\ESPDdrawColumnsXIX}
|
|
\fi
|
|
\ifESPD@enable@column@xxxi
|
|
\ESPDputOnStyle{specIIa}{columnxxxi}{\ESPDdrawSpecIIcolumnXXXI}
|
|
\fi
|
|
\ifESPD@enable@column@xxxii
|
|
\ESPDputOnStyle{specIIa}{columnxxxii}{\ESPDdrawSpecIIcolumnXXXII}
|
|
\fi
|
|
|
|
\ESPDdefaultFirstStyle{specII}
|
|
\ESPDdefaultStyle{specIIa}
|
|
|
|
\newenvironment{ESPDspecificationII}{%
|
|
\begin{ESPDzeroPadding}%
|
|
\changetext{}{-55mm}{}{}{}%
|
|
\begin{landscape}
|
|
\setlength{\tabcolsep}{0.5mm}%
|
|
\setlength{\LTpre}{0mm}%
|
|
\setlength{\LTpost}{0mm}%
|
|
\setlength{\LTleft}{0mm}%
|
|
\setlength{\LTright}{\fill}%
|
|
\newcolumntype{s}{>{\ESPDfontTabBody}c}%
|
|
\newcolumntype{n}{>{\parbox[c][8mm][c]{1mm}{%
|
|
\rule{0mm}{0mm}}\ESPDfontTabBody}l}%
|
|
\noindent%
|
|
\begin{longtable}{ssssnssss}
|
|
\parbox[c][15mm][c]{5mm}{\centering\begin{sideways}\ESPDfontTabHead%
|
|
\ESPDspecIIcolumnIname\end{sideways}}&
|
|
\parbox[c][15mm][c]{5mm}{\centering\begin{sideways}\ESPDfontTabHead%
|
|
\ESPDspecIIcolumnIIname\end{sideways}}&
|
|
\parbox[c][15mm][c]{7mm}{\centering\begin{sideways}\ESPDfontTabHead%
|
|
\ESPDspecIIcolumnIIIname\end{sideways}}&
|
|
\parbox[c][15mm][c]{69mm}{\centering\ESPDfontTabHead%
|
|
\ESPDspecIIcolumnIVname}&
|
|
\parbox[c][15mm][c]{71mm}{\centering\ESPDfontTabHead%
|
|
\ESPDspecIIcolumnVname}&
|
|
\parbox[c][15mm][c]{9mm}{\centering\begin{sideways}\ESPDfontTabHead%
|
|
\ESPDspecIIcolumnVIname\end{sideways}}&
|
|
\parbox[c][15mm][c]{9mm}{\centering\begin{sideways}\ESPDfontTabHead%
|
|
\ESPDspecIIcolumnVIIname\end{sideways}}&
|
|
\parbox[c][15mm][c]{74mm}{\centering\ESPDfontTabHead%
|
|
\ESPDspecIIcolumnVIIIname}&
|
|
\parbox[c][15mm][c]{29mm}{\centering\ESPDfontTabHead%
|
|
\ESPDspecIIcolumnIXname}\endhead}{%
|
|
\end{longtable}%
|
|
\end{landscape}%
|
|
\changetext{}{55mm}{}{}{}%
|
|
\end{ESPDzeroPadding}}
|
|
|