latex-style-esdpx/xespdchngsheet.sty

102 lines
4.7 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{xespdchngsheet}[2020/03/20 v1.00 Sheet of Changes GOST 2.503-90]
\RequirePackage{xespdlang}
\RequirePackage{xespdstamp}
\RequirePackage{array}
\RequirePackage{longtable}
\RequirePackage{multirow}
% слегка растянем табличную подпорку для класса xespdtab
\@ifundefined{XESPD@docfont}{\renewcommand{\arraystretch}{1.225}}{}%
\newcommand{\XESPDchngColumnIwidth}{.08\textwidth}
\newcommand{\XESPDchngColumnIIwidth}{.08\textwidth}
\newcommand{\XESPDchngColumnIIIwidth}{.08\textwidth}
\newcommand{\XESPDchngColumnIVwidth}{.08\textwidth}
\newcommand{\XESPDchngColumnVwidth}{.08\textwidth}
\newcommand{\XESPDchngColumnVIwidth}{.15\textwidth}
\newcommand{\XESPDchngColumnVIIwidth}{.10\textwidth}
\newcommand{\XESPDchngColumnVIIIwidth}{.15\textwidth}
\newcommand{\XESPDchngColumnIXwidth}{.10\textwidth}
\newcommand{\XESPDchngColumnXwidth}{.10\textwidth}
\newenvironment{XESPDchangeSheet}{%
\XESPDclearDoublePage
\setlength{\tabcolsep}{0.5mm}
\newcolumntype{s}{>{\XESPDfontTabBody}c}
\newcolumntype{S}{>{\XESPDfontTabHead}c}
\noindent
\begin{longtable}{|*{10}{s|}}
\hline
\multicolumn{10}{|S|}{\XESPDchangeSheetName}\\\hline
&\multicolumn{4}{S|}{\XESPDchngColumnsIIhName}&&&&&\\\cline{2-5}
\parbox[c]{\XESPDchngColumnIwidth-2\tabcolsep-1.5\arrayrulewidth}{%
\vspace{-\baselineskip}\centering\XESPDfontTabHead\XESPDcolumnXIVname}&
\parbox[c]{\XESPDchngColumnIIwidth-2\tabcolsep-\arrayrulewidth}{%
\centering\XESPDfontTabHead\XESPDchngColumnIIname}&
\parbox[c]{\XESPDchngColumnIIIwidth-2\tabcolsep-\arrayrulewidth}{%
\centering\XESPDfontTabHead\XESPDchngColumnIIIname}&
\parbox[c]{\XESPDchngColumnIVwidth-2\tabcolsep-\arrayrulewidth}{%
\centering\XESPDfontTabHead\XESPDchngColumnIVname}&
\parbox[c]{\XESPDchngColumnVwidth-2\tabcolsep-\arrayrulewidth}{%
\centering\XESPDfontTabHead\XESPDchngColumnVname}&
\parbox[c]{\XESPDchngColumnVIwidth-2\tabcolsep-\arrayrulewidth}{%
\vspace{-\baselineskip}\centering\XESPDfontTabHead\XESPDchngColumnVIname}&
\parbox[c]{\XESPDchngColumnVIIwidth-2\tabcolsep-\arrayrulewidth}{%
\vspace{-\baselineskip}\centering\XESPDfontTabHead\XESPDcolumnXVIname}&
\parbox[c]{\XESPDchngColumnVIIIwidth-2\tabcolsep-\arrayrulewidth}{%
\vspace{3mm}\vspace{-\baselineskip}\centering\XESPDfontTabHead\XESPDchngColumnVIIIname\vspace{3mm}}&
\parbox[c]{\XESPDchngColumnIXwidth-2\tabcolsep-\arrayrulewidth}{%
\vspace{-\baselineskip}\centering\XESPDfontTabHead\XESPDcolumnXVIIname}&
\parbox[c]{\XESPDchngColumnXwidth-2\tabcolsep-1.5\arrayrulewidth}{%
\vspace{-\baselineskip}\centering\XESPDfontTabHead\XESPDcolumnXVIIIname}\\\hline
\endfirsthead
\hline
&\multicolumn{4}{S|}{\XESPDchngColumnsIIhName}&&&&&\\\cline{2-5}
\parbox[c]{\XESPDchngColumnIwidth-2\tabcolsep-1.5\arrayrulewidth}{%
\vspace{-\baselineskip}\centering\XESPDfontTabHead\XESPDcolumnXIVname}&
\parbox[c]{\XESPDchngColumnIIwidth-2\tabcolsep-\arrayrulewidth}{%
\centering\XESPDfontTabHead\XESPDchngColumnIIname}&
\parbox[c]{\XESPDchngColumnIIIwidth-2\tabcolsep-\arrayrulewidth}{%
\centering\XESPDfontTabHead\XESPDchngColumnIIIname}&
\parbox[c]{\XESPDchngColumnIVwidth-2\tabcolsep-\arrayrulewidth}{%
\centering\XESPDfontTabHead\XESPDchngColumnIVname}&
\parbox[c]{\XESPDchngColumnVwidth-2\tabcolsep-\arrayrulewidth}{%
\centering\XESPDfontTabHead\XESPDchngColumnVname}&
\parbox[c]{\XESPDchngColumnVIwidth-2\tabcolsep-\arrayrulewidth}{%
\vspace{-\baselineskip}\centering\XESPDfontTabHead\XESPDchngColumnVIname}&
\parbox[c]{\XESPDchngColumnVIIwidth-2\tabcolsep-\arrayrulewidth}{%
\vspace{-\baselineskip}\centering\XESPDfontTabHead\XESPDcolumnXVIname}&
\parbox[c]{\XESPDchngColumnVIIIwidth-2\tabcolsep-\arrayrulewidth}{%
\vspace{3mm}\vspace{-\baselineskip}\centering\XESPDfontTabHead\XESPDchngColumnVIIIname\vspace{3mm}}&
\parbox[c]{\XESPDchngColumnIXwidth-2\tabcolsep-\arrayrulewidth}{%
\vspace{-\baselineskip}\centering\XESPDfontTabHead\XESPDcolumnXVIIname}&
\parbox[c]{\XESPDchngColumnXwidth-2\tabcolsep-1.5\arrayrulewidth}{%
\vspace{-\baselineskip}\centering\XESPDfontTabHead\XESPDcolumnXVIIIname}\\\hline
\endhead
\hline
\endfoot}{\end{longtable}}