161 lines
5.4 KiB
Plaintext
161 lines
5.4 KiB
Plaintext
|
% 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}
|
||
|
|
||
|
|
||
|
% Окружение принимает один необязательный аргумент - размер шрифта таблицы.
|
||
|
% По умолчанию он будет равен 10pt
|
||
|
\newenvironment{XESPDchangeSheet}[1][10pt]{%
|
||
|
|
||
|
% Заголовок таблицы будет набран шрифтом 10pt
|
||
|
\renewcommand{\XESPDfontTabHead}{%
|
||
|
\fontsize{10pt}{12pt}\selectfont\XESPDfontShape}
|
||
|
|
||
|
% слегка растянем табличную подпорку для класса xespdtab
|
||
|
\@ifundefined{XESPD@docfont}{\renewcommand{\arraystretch}{1.225}}{}%
|
||
|
|
||
|
\begin{XESPDzeroPadding}
|
||
|
\XESPDclearDoublePage
|
||
|
\setlength{\tabcolsep}{0.5mm}
|
||
|
|
||
|
\newlength{\XESPDchngColumnIwidth}
|
||
|
\setlength{\XESPDchngColumnIwidth}{8mm}
|
||
|
\newlength{\XESPDchngColumnIIwidth}
|
||
|
\setlength{\XESPDchngColumnIIwidth}{20mm}
|
||
|
\newlength{\XESPDchngColumnIIIwidth}
|
||
|
\setlength{\XESPDchngColumnIIIwidth}{20mm}
|
||
|
\newlength{\XESPDchngColumnIVwidth}
|
||
|
\setlength{\XESPDchngColumnIVwidth}{20mm}
|
||
|
\newlength{\XESPDchngColumnVwidth}
|
||
|
\setlength{\XESPDchngColumnVwidth}{20mm}
|
||
|
\newlength{\XESPDchngColumnVIwidth}
|
||
|
\setlength{\XESPDchngColumnVIwidth}{20mm}
|
||
|
\newlength{\XESPDchngColumnVIIwidth}
|
||
|
\setlength{\XESPDchngColumnVIIwidth}{25mm}
|
||
|
\newlength{\XESPDchngColumnVIIIwidth}
|
||
|
\setlength{\XESPDchngColumnVIIIwidth}{25mm}
|
||
|
\newlength{\XESPDchngColumnIXwidth}
|
||
|
\setlength{\XESPDchngColumnIXwidth}{15mm}
|
||
|
\newlength{\XESPDchngColumnXwidth}
|
||
|
\setlength{\XESPDchngColumnXwidth}{12mm}
|
||
|
|
||
|
\newcommand{\chngsheet@firsthead}{
|
||
|
\multicolumn{10}{|c}
|
||
|
{\parbox[c][10mm][c]{\textwidth -2\tabcolsep}
|
||
|
{\centering\XESPDfontTabHead\XESPDchangeSheetName}}\\\hline}
|
||
|
|
||
|
\newcommand{\chngsheet@secondhead}{%
|
||
|
\multirow{2}{*}[-1mm]
|
||
|
{\parbox[c][25mm][c]{\XESPDchngColumnIwidth -2\tabcolsep}
|
||
|
{\centering\XESPDfontTabHead\XESPDchngColumnIname}}&
|
||
|
\multicolumn{4}{c|}
|
||
|
{\parbox[c][5mm][c]{80mm -2\tabcolsep}
|
||
|
{\centering\XESPDfontTabHead\XESPDchngColumnsIIhName}}&
|
||
|
\multirow{2}{*}[-1mm]
|
||
|
{\parbox[c][25mm][c]{\XESPDchngColumnVIwidth -2\tabcolsep}
|
||
|
{\centering\XESPDfontTabHead\XESPDchngColumnVIname}}&
|
||
|
\multirow{2}{*}[-1mm]
|
||
|
{\parbox[c][25mm][c]{\XESPDchngColumnVIIwidth -2\tabcolsep}
|
||
|
{\centering\XESPDfontTabHead\XESPDchngColumnVIIname}}&
|
||
|
\multirow{2}{*}[-1mm]
|
||
|
{\parbox[c][25mm][c]{\XESPDchngColumnVIIIwidth -2\tabcolsep}
|
||
|
{\centering\XESPDfontTabHead\XESPDchngColumnVIIIname}}&
|
||
|
\multirow{2}{*}[-1mm]
|
||
|
{\parbox[c][25mm][c]{\XESPDchngColumnIXwidth -2\tabcolsep}
|
||
|
{\centering\XESPDfontTabHead\XESPDchngColumnIXname}}&
|
||
|
\multirow{2}{*}[-1mm]
|
||
|
{\parbox[c][25mm][c]{\XESPDchngColumnXwidth -2\tabcolsep}
|
||
|
{\centering\XESPDfontTabHead\XESPDchngColumnXname}}\\\cline{2-5}
|
||
|
&
|
||
|
\parbox[c][20mm][c]{\XESPDchngColumnIIwidth -2\tabcolsep}
|
||
|
{\centering\XESPDfontTabHead\XESPDchngColumnIIname}&
|
||
|
\parbox[c][20mm][c]{\XESPDchngColumnIIIwidth -2\tabcolsep}
|
||
|
{\centering\XESPDfontTabHead\XESPDchngColumnIIIname}&
|
||
|
\parbox[c][20mm][c]{\XESPDchngColumnIVwidth -2\tabcolsep}
|
||
|
{\centering\XESPDfontTabHead\XESPDchngColumnIVname}&
|
||
|
\parbox[c][20mm][c]{\XESPDchngColumnVwidth -2\tabcolsep}
|
||
|
{\centering\XESPDfontTabHead\XESPDchngColumnVname}&&&&\\\hline}
|
||
|
|
||
|
\fontsize{#1}{6mm}\XESPDfontShape\selectfont
|
||
|
\noindent
|
||
|
\begin{longtable}{% дополнительно надо вычесть еще ширИны самих линеек таблицы
|
||
|
p{\XESPDchngColumnIwidth -2\tabcolsep -0.2mm}
|
||
|
|p{\XESPDchngColumnIIwidth -2\tabcolsep -0.1mm}
|
||
|
|p{\XESPDchngColumnIIIwidth -2\tabcolsep -0.1mm}
|
||
|
|p{\XESPDchngColumnIVwidth -2\tabcolsep -0.1mm}
|
||
|
|p{\XESPDchngColumnVwidth -2\tabcolsep -0.1mm}
|
||
|
|p{\XESPDchngColumnVIwidth -2\tabcolsep -0.1mm}
|
||
|
|p{\XESPDchngColumnVIIwidth -2\tabcolsep -0.1mm}
|
||
|
|p{\XESPDchngColumnVIIIwidth -2\tabcolsep -0.1mm}
|
||
|
|p{\XESPDchngColumnIXwidth -2\tabcolsep -0.1mm}
|
||
|
|p{\XESPDchngColumnXwidth -2\tabcolsep -0.2mm}}
|
||
|
\hline
|
||
|
\chngsheet@firsthead\chngsheet@secondhead\endfirsthead
|
||
|
\chngsheet@secondhead\endhead
|
||
|
\hline\endfoot
|
||
|
\endlastfoot}%
|
||
|
{\end{longtable}\end{XESPDzeroPadding}%
|
||
|
\renewcommand{\arraystretch}{1}%
|
||
|
}
|
||
|
|
||
|
\newcommand{\XESPDchangeSheetFill}{%
|
||
|
&&&&&&&&&\\\hline
|
||
|
&&&&&&&&&\\\hline
|
||
|
&&&&&&&&&\\\hline
|
||
|
&&&&&&&&&\\\hline
|
||
|
&&&&&&&&&\\\hline
|
||
|
&&&&&&&&&\\\hline
|
||
|
&&&&&&&&&\\\hline
|
||
|
&&&&&&&&&\\\hline
|
||
|
&&&&&&&&&\\\hline
|
||
|
&&&&&&&&&\\\hline
|
||
|
&&&&&&&&&\\\hline
|
||
|
&&&&&&&&&\\\hline
|
||
|
&&&&&&&&&\\\hline
|
||
|
&&&&&&&&&\\\hline
|
||
|
&&&&&&&&&\\\hline
|
||
|
&&&&&&&&&\\\hline
|
||
|
&&&&&&&&&\\\hline
|
||
|
&&&&&&&&&\\\hline
|
||
|
&&&&&&&&&\\\hline
|
||
|
&&&&&&&&&\\\hline
|
||
|
&&&&&&&&&\\\hline
|
||
|
&&&&&&&&&\\\hline
|
||
|
&&&&&&&&&\\\hline
|
||
|
&&&&&&&&&\\\hline
|
||
|
&&&&&&&&&\\\hline
|
||
|
&&&&&&&&&\\\hline
|
||
|
&&&&&&&&&\\\hline
|
||
|
&&&&&&&&&\\\hline
|
||
|
&&&&&&&&&\\\hline
|
||
|
&&&&&&&&&\\\hline%
|
||
|
}
|
||
|
|
||
|
|