Compare commits
23 Commits
Author | SHA1 | Date | |
---|---|---|---|
1a4697c25e | |||
ef89214007 | |||
892dcd6556 | |||
784b3df1cf | |||
f7c9590cd7 | |||
c5f9dabbbd | |||
0e4aed2d85 | |||
4751b0469b | |||
0381613a2d | |||
60a23c16de | |||
81947d17a5 | |||
9e33dc3d78 | |||
873c488c1c | |||
974f9d9fbe | |||
bb8d889083 | |||
4ab4c9fe3b | |||
1d17915d21 | |||
8e4f6b100c | |||
cabef3d03c | |||
fee1c77737 | |||
a95aca9e5e | |||
c4b4a79740 | |||
4d0c770e61 |
76
eqexpl.sty
Normal file
76
eqexpl.sty
Normal file
@ -0,0 +1,76 @@
|
||||
%% The package is licenced under Creative Commons Attribution-ShareAlike
|
||||
%% 4.0 International (CC BY-SA 4.0)
|
||||
|
||||
\ProvidesPackage{eqexpl}[2019/05/15 v. 1.1]
|
||||
\RequirePackage{etoolbox}
|
||||
\RequirePackage{xparse}
|
||||
\RequirePackage{calc}
|
||||
|
||||
%% Spaces between elements
|
||||
\newlength{\eqexplSpaceWidth}
|
||||
\newcommand{\eqexplSetSpace}[1]{%
|
||||
\setlength{\eqexplSpaceWidth}{\ifstrempty{#1}{2mm}{#1}}%
|
||||
}
|
||||
\eqexplSetSpace{}
|
||||
|
||||
%% Width of 'intro' (typ. 'where')
|
||||
\newcommand{\eqexplSetIntro}[1]{%
|
||||
\def\eqexplIntro{#1}%
|
||||
}
|
||||
\eqexplSetIntro{}
|
||||
|
||||
%% Width of delimiter
|
||||
\newcommand{\eqexplSetDelim}[1]{%
|
||||
\def\eqexplDelim{#1}%
|
||||
}
|
||||
\eqexplSetDelim{---}
|
||||
|
||||
%% Width of item
|
||||
\newcommand{\eqexplSetItemWidth}[1]{%
|
||||
\def\eqexplItemWidth{#1}%
|
||||
}
|
||||
\eqexplSetItemWidth{5mm}
|
||||
|
||||
%% Align of item
|
||||
\newcommand{\eqexplSetItemAlign}[1]{%
|
||||
\def\eqexplItemAlign{#1}%
|
||||
}
|
||||
\eqexplSetItemAlign{r}
|
||||
|
||||
\newlength{\itemWidth}
|
||||
\newlength{\leftSideWidth}
|
||||
|
||||
\newenvironment{eqexpl}[1][\eqexplItemWidth]{%
|
||||
\let\olditem\item%
|
||||
\setlength{\itemWidth}{#1}%
|
||||
\setlength{\leftSideWidth}{\ifdefempty{\eqexplIntro}{}{\widthof{\eqexplIntro}+%
|
||||
\eqexplSpaceWidth+}%
|
||||
\itemWidth+%
|
||||
\eqexplSpaceWidth+%
|
||||
\widthof{\eqexplDelim}+%
|
||||
\eqexplSpaceWidth}%
|
||||
\newtoggle{eqexplFirstItem}%
|
||||
\toggletrue{eqexplFirstItem}%
|
||||
\RenewDocumentCommand{\item}{ m O{\eqexplDelim}}{%
|
||||
\olditem \makebox[\leftSideWidth]{%
|
||||
\ifdefempty{\eqexplIntro}{}{
|
||||
\makebox[\widthof{\eqexplIntro}][l]{\iftoggle{eqexplFirstItem}{\eqexplIntro}{}}%
|
||||
\hspace{\eqexplSpaceWidth}%
|
||||
}
|
||||
\makebox[\itemWidth][\eqexplItemAlign]{##1}%
|
||||
\hspace{\eqexplSpaceWidth}%
|
||||
\makebox[\widthof{##2}][c]{##2}%
|
||||
\hspace{\eqexplSpaceWidth}%
|
||||
}%
|
||||
\togglefalse{eqexplFirstItem}%
|
||||
\ignorespaces% https://tex.stackexchange.com/a/44062
|
||||
}%
|
||||
\begin{list}{}{\setlength{\parsep}{0pt}%
|
||||
\setlength{\topsep}{0pt}%
|
||||
\setlength{\itemsep}{0pt}%
|
||||
\setlength{\labelsep}{0pt}%
|
||||
\setlength{\leftmargin}{\leftSideWidth}%
|
||||
\setlength{\itemindent}{-\leftSideWidth}}}{%
|
||||
\end{list}
|
||||
}
|
||||
\endinput
|
@ -1,73 +0,0 @@
|
||||
% 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{espdappsheet}[2010/01/14 v0.98 Approving Sheet GOST 2.105]
|
||||
|
||||
\RequirePackage{espdlang}
|
||||
\RequirePackage{espdtitle}
|
||||
|
||||
\newcount\ESPD@appsheet@doc@cnt
|
||||
\ESPD@appsheet@doc@cnt = 0
|
||||
|
||||
\newcommand{\ESPDapprovingDoc}[1]{%
|
||||
\advance \ESPD@appsheet@doc@cnt 1
|
||||
\@namedef{ESPD@appsheet@doc@\number\ESPD@appsheet@doc@cnt}{#1}}
|
||||
|
||||
\renewcommand{\ESPDtheTitleFieldV}{%
|
||||
\ESPDapprovingSheetName}
|
||||
|
||||
\renewcommand{\ESPDtheTitleFieldVI}{%
|
||||
\MakeUppercase{\ESPDtheSignature}}
|
||||
|
||||
\renewcommand{\ESPDtheTitleFieldVII}{}
|
||||
|
||||
\def\ESPDtheTitleFieldVIIIlb{}
|
||||
\renewcommand{\ESPDtheTitleFieldVIIIlb}{%
|
||||
\ESPD@tmpcnta = 1
|
||||
\ESPD@tmpcntb = \ESPD@appsheet@doc@cnt
|
||||
\advance \ESPD@tmpcntb 1
|
||||
\loop
|
||||
\ifnum \ESPD@tmpcnta < \ESPD@tmpcntb
|
||||
\@nameuse{ESPD@appsheet@doc@\number\ESPD@tmpcnta}\par
|
||||
\advance \ESPD@tmpcnta 2
|
||||
\repeat}
|
||||
\def\ESPDtheTitleFieldVIIIrb{}
|
||||
\renewcommand{\ESPDtheTitleFieldVIIIrb}{%
|
||||
\ESPD@tmpcnta = 2
|
||||
\ESPD@tmpcntb = \ESPD@appsheet@doc@cnt
|
||||
\advance \ESPD@tmpcntb 1
|
||||
\loop
|
||||
\ifnum \ESPD@tmpcnta < \ESPD@tmpcntb
|
||||
\@nameuse{ESPD@appsheet@doc@\number\ESPD@tmpcnta}\par
|
||||
\advance \ESPD@tmpcnta 2
|
||||
\repeat}
|
||||
\renewcommand{\ESPDtheTitleFieldVIII}{%
|
||||
\ESPD@title@split@field{\ESPDtheTitleFieldVIIIl}{\ESPDtheTitleFieldVIIIr}
|
||||
\par
|
||||
\ESPD@title@split@field{\ESPDtheTitleFieldVIIIlb}{\ESPDtheTitleFieldVIIIrb}}
|
||||
|
||||
\renewcommand{\ESPDtheTitleFieldX}{}
|
||||
|
||||
\renewcommand{\ESPDtitleFontX}{\ESPDfontIII}
|
||||
|
||||
\newcommand{\ESPDmakeApprovingSheet}{\maketitle}
|
||||
|
@ -1,117 +0,0 @@
|
||||
% 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{espdchngsheet}[2010/01/14 v0.98 Sheet of Changes GOST 2.503-90]
|
||||
|
||||
\RequirePackage{espdlang}
|
||||
\RequirePackage{espdstamp}
|
||||
\RequirePackage{array}
|
||||
\RequirePackage{longtable}
|
||||
\RequirePackage{forloop}
|
||||
\RequirePackage{makecell}
|
||||
|
||||
\newcommand{\ESPDchngColumnIwidth}{.08\textwidth}
|
||||
\newcommand{\ESPDchngColumnIIwidth}{.08\textwidth}
|
||||
\newcommand{\ESPDchngColumnIIIwidth}{.08\textwidth}
|
||||
\newcommand{\ESPDchngColumnIVwidth}{.08\textwidth}
|
||||
\newcommand{\ESPDchngColumnVwidth}{.08\textwidth}
|
||||
\newcommand{\ESPDchngColumnVIwidth}{.15\textwidth}
|
||||
\newcommand{\ESPDchngColumnVIIwidth}{.10\textwidth}
|
||||
\newcommand{\ESPDchngColumnVIIIwidth}{.15\textwidth}
|
||||
\newcommand{\ESPDchngColumnIXwidth}{.10\textwidth}
|
||||
\newcommand{\ESPDchngColumnXwidth}{.10\textwidth}
|
||||
|
||||
\newenvironment{ESPDchangeSheet}{%
|
||||
\ESPDclearDoublePage
|
||||
\setlength{\tabcolsep}{0.5mm}
|
||||
\newcolumntype{s}{>{\ESPDfontTabBody}c}
|
||||
\newcolumntype{S}{>{\ESPDfontTabHead}c}
|
||||
\noindent
|
||||
\renewcommand*{\arraystretch}{0.78}% Высота строк
|
||||
\begin{longtable}{|*{10}{s|}}
|
||||
\hline
|
||||
\multicolumn{10}{|S|}{\ESPDchangeSheetName}\\\hline
|
||||
&\multicolumn{4}{S|}{\ESPDchngColumnsIIhName}&&&&&\\\cline{2-5}
|
||||
\parbox[c]{\ESPDchngColumnIwidth-2\tabcolsep-1.5\arrayrulewidth}{%
|
||||
\vspace{-\baselineskip}\centering\ESPDfontTabHead\ESPDcolumnXIVname}&
|
||||
\parbox[c]{\ESPDchngColumnIIwidth-2\tabcolsep-\arrayrulewidth}{%
|
||||
\centering\ESPDfontTabHead\ESPDchngColumnIIname}&
|
||||
\parbox[c]{\ESPDchngColumnIIIwidth-2\tabcolsep-\arrayrulewidth}{%
|
||||
\centering\ESPDfontTabHead\ESPDchngColumnIIIname}&
|
||||
\parbox[c]{\ESPDchngColumnIVwidth-2\tabcolsep-\arrayrulewidth}{%
|
||||
\centering\ESPDfontTabHead\ESPDchngColumnIVname}&
|
||||
\parbox[c]{\ESPDchngColumnVwidth-2\tabcolsep-\arrayrulewidth}{%
|
||||
\centering\ESPDfontTabHead\ESPDchngColumnVname}&
|
||||
\parbox[c]{\ESPDchngColumnVIwidth-2\tabcolsep-\arrayrulewidth}{%
|
||||
\vspace{-\baselineskip}\centering\ESPDfontTabHead\ESPDchngColumnVIname}&
|
||||
\parbox[c]{\ESPDchngColumnVIIwidth-2\tabcolsep-\arrayrulewidth}{%
|
||||
\vspace{-\baselineskip}\centering\ESPDfontTabHead\ESPDcolumnXVIname}&
|
||||
\parbox[c]{\ESPDchngColumnVIIIwidth-2\tabcolsep-\arrayrulewidth}{%
|
||||
\vspace{-\baselineskip}\centering\ESPDfontTabHead\ESPDchngColumnVIIIname\vspace{1mm}}&
|
||||
\parbox[c]{\ESPDchngColumnIXwidth-2\tabcolsep-\arrayrulewidth}{%
|
||||
\vspace{-\baselineskip}\centering\ESPDfontTabHead\ESPDcolumnXVIIname}&
|
||||
\parbox[c]{\ESPDchngColumnXwidth-2\tabcolsep-1.5\arrayrulewidth}{%
|
||||
\vspace{-\baselineskip}\centering\ESPDfontTabHead\ESPDcolumnXVIIIname}\\\hline
|
||||
\endfirsthead
|
||||
\hline
|
||||
&\multicolumn{4}{S|}{\ESPDchngColumnsIIhName}&&&&&\\\cline{2-5}
|
||||
\parbox[c]{\ESPDchngColumnIwidth-2\tabcolsep-1.5\arrayrulewidth}{%
|
||||
\vspace{-\baselineskip}\centering\ESPDfontTabHead\ESPDcolumnXIVname}&
|
||||
\parbox[c]{\ESPDchngColumnIIwidth-2\tabcolsep-\arrayrulewidth}{%
|
||||
\centering\ESPDfontTabHead\ESPDchngColumnIIname}&
|
||||
\parbox[c]{\ESPDchngColumnIIIwidth-2\tabcolsep-\arrayrulewidth}{%
|
||||
\centering\ESPDfontTabHead\ESPDchngColumnIIIname}&
|
||||
\parbox[c]{\ESPDchngColumnIVwidth-2\tabcolsep-\arrayrulewidth}{%
|
||||
\centering\ESPDfontTabHead\ESPDchngColumnIVname}&
|
||||
\parbox[c]{\ESPDchngColumnVwidth-2\tabcolsep-\arrayrulewidth}{%
|
||||
\centering\ESPDfontTabHead\ESPDchngColumnVname}&
|
||||
\parbox[c]{\ESPDchngColumnVIwidth-2\tabcolsep-\arrayrulewidth}{%
|
||||
\vspace{-\baselineskip}\centering\ESPDfontTabHead\ESPDchngColumnVIname}&
|
||||
\parbox[c]{\ESPDchngColumnVIIwidth-2\tabcolsep-\arrayrulewidth}{%
|
||||
\vspace{-\baselineskip}\centering\ESPDfontTabHead\ESPDcolumnXVIname}&
|
||||
\parbox[c]{\ESPDchngColumnVIIIwidth-2\tabcolsep-\arrayrulewidth}{%
|
||||
\vspace{-\baselineskip}\centering\ESPDfontTabHead\ESPDchngColumnVIIIname\vspace{1mm}}&
|
||||
\parbox[c]{\ESPDchngColumnIXwidth-2\tabcolsep-\arrayrulewidth}{%
|
||||
\vspace{-\baselineskip}\centering\ESPDfontTabHead\ESPDcolumnXVIIname}&
|
||||
\parbox[c]{\ESPDchngColumnXwidth-2\tabcolsep-1.5\arrayrulewidth}{%
|
||||
\vspace{-\baselineskip}\centering\ESPDfontTabHead\ESPDcolumnXVIIIname}\\\hline
|
||||
\endhead
|
||||
\hline
|
||||
\endfoot}{\end{longtable}}
|
||||
|
||||
\newcount\lincnt
|
||||
\long\def\addto#1#2{%
|
||||
\expandafter\def\expandafter#1\expandafter{#1#2}}
|
||||
|
||||
\def\tabledata{}\lincnt=28 % Количество строк
|
||||
% \addto\tabledata{ 1 & & Все & & & & \makecell{РЕВМ.57 \\ 1/2} & & & \makecell{20.04. \\ 17} \\ \hline}
|
||||
\loop
|
||||
\addto\tabledata{& & & & & & & & & \\ \hline}
|
||||
\advance\lincnt -1
|
||||
\ifnum\lincnt>0
|
||||
\repeat
|
||||
|
||||
\newcommand{\ESPDprintEmptyChangeSheet}{
|
||||
\begin{ESPDchangeSheet}
|
||||
\tabledata
|
||||
\end{ESPDchangeSheet}}
|
||||
|
81
espdfont.sty
81
espdfont.sty
@ -1,81 +0,0 @@
|
||||
% 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{espdfont}[2010/01/14 v0.98 Font Definitions]
|
||||
|
||||
\newcommand{\ESPDfontBaseLineStretch}{1}
|
||||
|
||||
\newcommand{\ESPDfontSetBaseLineStretch}{%
|
||||
\renewcommand{\baselinestretch}{\ESPDfontBaseLineStretch}}
|
||||
|
||||
\newcommand{\ESPDfontShape}{\rmfamily}
|
||||
|
||||
\newcommand{\ESPDfontIIsize}{\fontsize{8pt}{10pt}}
|
||||
\newcommand{\ESPDfontIIIsize}{\fontsize{10pt}{13pt}}
|
||||
\newcommand{\ESPDfontIVsize}{\fontsize{12pt}{16pt}}
|
||||
\newcommand{\ESPDfontVsize}{\fontsize{14pt}{18pt}}
|
||||
\newcommand{\ESPDfontVIIsize}{\fontsize{18pt}{24pt}}
|
||||
\newcommand{\ESPDfontXsize}{\fontsize{32pt}{40pt}}
|
||||
|
||||
\newcommand{\ESPDfontII}{%
|
||||
\ESPDfontSetBaseLineStretch
|
||||
\ESPDfontIIsize\selectfont\ESPDfontShape}
|
||||
\newcommand{\ESPDfontIII}{%
|
||||
\ESPDfontSetBaseLineStretch
|
||||
\ESPDfontIIIsize\selectfont\ESPDfontShape}
|
||||
\newcommand{\ESPDfontIV}{%
|
||||
\ESPDfontSetBaseLineStretch
|
||||
\ESPDfontIVsize\selectfont\ESPDfontShape}
|
||||
\newcommand{\ESPDfontV}{%
|
||||
\ESPDfontSetBaseLineStretch
|
||||
\ESPDfontVsize\selectfont\ESPDfontShape}
|
||||
\newcommand{\ESPDfontVII}{%
|
||||
\ESPDfontSetBaseLineStretch
|
||||
\ESPDfontVIIsize\selectfont\ESPDfontShape}
|
||||
\newcommand{\ESPDfontX}{%
|
||||
\ESPDfontSetBaseLineStretch
|
||||
\ESPDfontXsize\selectfont\ESPDfontShape}
|
||||
|
||||
\RequirePackage{ifxetex}
|
||||
\ifxetex
|
||||
\newcommand{\ESPDtheGostFontName}{}
|
||||
\newcommand{\ESPDgostFontName}[1]{\renewcommand{\ESPDtheGostFontName}{#1}}
|
||||
\usepackage{fontspec}
|
||||
\newcommand{\ESPDfontGostIII}{%
|
||||
\ESPDfontSetBaseLineStretch
|
||||
\ESPDfontIIIsize\setmainfont{\ESPDtheGostFontName}}
|
||||
\newcommand{\ESPDfontGostIV}{%
|
||||
\ESPDfontSetBaseLineStretch
|
||||
\ESPDfontIVsize\setmainfont{\ESPDtheGostFontName}}
|
||||
\else
|
||||
\RequirePackage{gostfont}
|
||||
\newcommand{\ESPDfontGostIII}{%
|
||||
\ESPDfontSetBaseLineStretch
|
||||
\ESPDfontIIIsize\selectfont\GostBFont}
|
||||
\newcommand{\ESPDfontGostIV}{%
|
||||
\ESPDfontSetBaseLineStretch
|
||||
\ESPDfontIVsize\selectfont\GostBFont}
|
||||
\fi
|
||||
|
||||
\newcommand{\ESPDfontTabHead}{\ESPDfontV}
|
||||
\newcommand{\ESPDfontTabBody}{\ESPDfontV}
|
||||
|
@ -1,80 +0,0 @@
|
||||
% 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{espdframe}[2011/05/09 v0.98 Frame Page Style]
|
||||
|
||||
\RequirePackage{espdstamp}
|
||||
\RequirePackage{setspace}
|
||||
\RequirePackage{calc}
|
||||
|
||||
\def\ESPD@frame@vt{%
|
||||
\setlength{\ESPD@tmpdimc}{%
|
||||
\ESPDframeY+\ESPDframeH-\ESPD@padding@v}}
|
||||
|
||||
\def\ESPD@frame@vb{%
|
||||
\setlength{\ESPD@tmpdimc}{%
|
||||
\ESPDframeY+\ESPD@padding@v-15mm}}
|
||||
|
||||
\def\ESPD@frame@hl{%
|
||||
\ifESPD@twoside
|
||||
\ifodd\c@page\raggedright\else\raggedleft\fi
|
||||
\else\raggedright\fi}
|
||||
|
||||
\def\ESPD@frame@hr{%
|
||||
\ifESPD@twoside
|
||||
\ifodd\c@page\raggedleft\else\raggedright\fi
|
||||
\else\raggedleft\fi}
|
||||
|
||||
\def\ESPD@frame@hc{\centering}
|
||||
|
||||
\let\ESPD@frame@ha\ESPD@frame@hc
|
||||
\let\ESPD@frame@va\ESPD@frame@vb
|
||||
|
||||
\DeclareOption{numbertop}{\let\ESPD@frame@va\ESPD@frame@vt}
|
||||
\DeclareOption{numberbottom}{\let\ESPD@frame@va\ESPD@frame@vb}
|
||||
\DeclareOption{numberleft}{\let\ESPD@frame@ha\ESPD@frame@hl}
|
||||
\DeclareOption{numbercenter}{\let\ESPD@frame@ha\ESPD@frame@hc}
|
||||
\DeclareOption{numberright}{\let\ESPD@frame@ha\ESPD@frame@hr}
|
||||
|
||||
\ProcessOptions\relax
|
||||
|
||||
% Колонтитул
|
||||
\newcommand{\ESPDdrawFramePageNumber}{
|
||||
\setlength{\ESPD@tmpdima}{\ESPDframeX+\ESPD@padding@h}
|
||||
\setlength{\ESPD@tmpdimb}{\ESPDframeW-2\ESPD@padding@h}
|
||||
\ESPD@frame@va
|
||||
\put(\ESPDltu{\ESPD@tmpdima},\ESPDltu{\ESPD@tmpdimc}){%
|
||||
\parbox[b][25mm][c]{\ESPD@tmpdimb}{%
|
||||
\begin{singlespace}
|
||||
\reset@font\normalsize
|
||||
\ESPD@frame@ha\thepage \\ \MakeUppercase\ESPDtheSignature
|
||||
\end{singlespace}
|
||||
}}}
|
||||
|
||||
\ESPDnewStyle{frame}{0mm}
|
||||
\ESPDputOnStyle{frame}{pagenumber}{\ESPDdrawFramePageNumber}
|
||||
\renewcommand{\ESPDdrawFrame}{}
|
||||
|
||||
\ESPDdefaultTitleStyle{title}
|
||||
\ESPDdefaultFirstStyle{frame}
|
||||
\ESPDdefaultStyle{frame}
|
||||
|
176
espdfreesize.sty
176
espdfreesize.sty
@ -1,176 +0,0 @@
|
||||
% 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.
|
||||
%
|
||||
|
||||
% Пакет предоставляет возможность вставки листа
|
||||
% почти любого размера (ограничения описаны в руководстве
|
||||
% пользователя espdx):
|
||||
|
||||
|
||||
%
|
||||
% This is automaticaly generated file, do not edit it.
|
||||
%
|
||||
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{espdfreesize}[2010/02/20 v0.98 Inserting Free Size Sheets]
|
||||
|
||||
\RequirePackage{espdstamp}
|
||||
|
||||
% переключение размера возможно только в pdflatex.
|
||||
% Tем не менее, latex тоже сможет собрать такой документ,
|
||||
% но все большие страницы
|
||||
% обрежет по размерам формата, установленного в documentclass
|
||||
\RequirePackage{ifpdf}
|
||||
\ifpdf{}
|
||||
\else{\PackageWarningNoLine{espdfreesize}
|
||||
{It's better to compile this document with pdflatex.\MessageBreak
|
||||
In DVI you will get only part of the inserted big sheet}}
|
||||
\fi
|
||||
|
||||
|
||||
|
||||
% в espdstamp для ускорения отрисовки рамки применен \savebox
|
||||
% в нашем случае это неудобно, будем рисовать персонально
|
||||
% на каждой странице
|
||||
\newcommand{\ESPDdrawFrameFree}{%
|
||||
\put(\ESPDltu{\ESPDframeX},\ESPDltu{\ESPDframeY}){%
|
||||
\setlength{\unitlength}{1mm}%
|
||||
\begin{picture}(0,0)(0,0)
|
||||
\linethickness{\ESPDlineThick}
|
||||
\put(0,\ESPDltu{\ESPDframeH}){\line(1,0){\ESPDltu{\ESPDframeW}}}
|
||||
\put(0,0){\line(1,0){\ESPDltu{\ESPDframeW}}}
|
||||
\put(0,0){\line(0,1){\ESPDltu{\ESPDframeH}}}
|
||||
\put(\ESPDltu{\ESPDframeW},0){\line(0,1){\ESPDltu{\ESPDframeH}}}
|
||||
\end{picture}}}
|
||||
|
||||
% содержимое нестандартной графы 32 по умолчанию
|
||||
\newcommand\ESPDtheColumnXXXIIfree{\@nameuse{ESPDemptyFormatName}}
|
||||
|
||||
% определим нашу собственную нестандартную графу 32
|
||||
\newcommand{\ESPDdrawColumnXXXIIfree}{%
|
||||
\setlength{\ESPD@tmpdima}{\ESPDframeX+\ESPDframeW-50mm}%
|
||||
\setlength{\ESPD@tmpdimb}{\ESPDframeY-3.7mm}%
|
||||
\put(\ESPDltu{\ESPD@tmpdima},\ESPDltu{\ESPD@tmpdimb}){%
|
||||
\makebox[50mm][r]{\ESPDfontIII\ESPDtheColumnXXXIIfree}}}
|
||||
|
||||
|
||||
|
||||
% Определим новый стиль. Подробнее про определение своих стилей
|
||||
% можно прочитать в руководстве пользователя espdx,
|
||||
% или заглянуть в espdstamp.sty,
|
||||
% кусок оттуда был использован как основа для стиля freesize
|
||||
\ESPDnewStyle{freesize}{8mm}
|
||||
\ESPDputOnStyle{freesize}{frame}{\ESPDdrawFrameFree}
|
||||
\ESPDputOnStyle{freesize}{stamp}{\ESPDdrawStampIIa}
|
||||
\ifESPD@enable@columns@xix
|
||||
\ESPDputOnStyle{freesize}{columnsxix}{\ESPDdrawColumnsXIX}
|
||||
\fi
|
||||
\ifESPD@enable@column@xxvi
|
||||
\ESPDputOnStyle{freesize}{columnxxvi}{\ESPDdrawColumnXXVI}
|
||||
\fi
|
||||
\ifESPD@enable@columns@xxvii
|
||||
\ESPDputOnStyle{freesize}{columnsxxvii}{\ESPDdrawColumnsXXVIIi}
|
||||
\fi
|
||||
\ifESPD@enable@column@xxxi
|
||||
\ESPDputOnStyle{freesize}{columnxxxi}{\ESPDdrawColumnXXXI}
|
||||
\fi
|
||||
\ifESPD@enable@column@xxxii
|
||||
% наша новая графа 32
|
||||
\ESPDputOnStyle{freesize}{columnxxxii}{\ESPDdrawColumnXXXIIfree}
|
||||
\fi
|
||||
\ifESPD@enable@column@xxxiii
|
||||
\ESPDputOnStyle{freesize}{columnxxxiii}{\ESPDdrawColumnXXXIII}
|
||||
\fi
|
||||
\ifESPD@enable@column@xxxiv
|
||||
\ESPDputOnStyle{freesize}{columnxxxiv}{\ESPDdrawColumnXXXIV}
|
||||
\fi
|
||||
\ifESPD@zonelabels%
|
||||
\ESPDputOnStyle{freesize}{zonelabels}{\ESPDdrawZoneLabelsI}
|
||||
\fi
|
||||
|
||||
|
||||
% вспомогательные счетчики для записей в лог
|
||||
\newcounter{ESPD@free@sizepagebegin}
|
||||
\newcounter{ESPD@free@sizepageend}
|
||||
|
||||
% теперь самое сложное - сам переключатель
|
||||
\newcommand{\ESPDfreeSize}[3]{%
|
||||
\ESPDclearDoublePage%
|
||||
\setcounter{ESPD@free@sizepagebegin}{\value{page}}% запомним текущую страницу
|
||||
\pdfpagewidth=#1%
|
||||
\pdfpageheight=#2%
|
||||
\setlength{\ESPD@origin@y}{#2-1in}%
|
||||
\setlength{\ESPDframeW}{\pdfpagewidth-\ESPD@margin@si-\ESPD@margin@so}%
|
||||
\setlength{\ESPDframeH}{\pdfpageheight-\ESPD@margin@t-\ESPD@margin@b}%
|
||||
\ESPDstyle{freesize}%
|
||||
\expandafter{#3}%
|
||||
% зафиксируем факт вставки листа в \jobname.log
|
||||
\ESPDclearDoublePage%
|
||||
\renewcommand\ESPDtheColumnXXXIIfree{\@nameuse{ESPDemptyFormatName}}% сброс графы 32
|
||||
\setcounter{ESPD@free@sizepageend}{\value{page}}%
|
||||
\addtocounter{ESPD@free@sizepageend}{-1}%
|
||||
\ifthenelse{\value{ESPD@free@sizepagebegin}<\value{ESPD@free@sizepageend}}% латех начал новую страницу
|
||||
{\immediate\write0{espdfreesize: sheet(s) with size (#1 x #2) inserted
|
||||
at page(s) \noexpand[\arabic{ESPD@free@sizepagebegin}%
|
||||
-\arabic{ESPD@free@sizepageend}\noexpand]}}
|
||||
{\immediate\write0{espdfreesize: sheet(s) with size (#1 x #2) inserted
|
||||
at page(s) \noexpand[\arabic{ESPD@free@sizepageend}\noexpand]}}
|
||||
% теперь вернем всё как было до нас
|
||||
\setlength{\ESPD@origin@y}{\paperheight-1in}%
|
||||
\pdfpageheight=\paperheight%
|
||||
\pdfpagewidth=\paperwidth%
|
||||
\setlength{\ESPDframeW}{\paperwidth-\ESPD@margin@si-\ESPD@margin@so}%
|
||||
\setlength{\ESPDframeH}{\paperheight-\ESPD@margin@t-\ESPD@margin@b}%
|
||||
\ESPDstyle{\ESPD@default@style@other}%
|
||||
\newpage%
|
||||
}
|
||||
|
||||
|
||||
% Определим несколько готовых к употреблению форматов
|
||||
\newcommand{\ESPDlandscapeAIII}[1]{%
|
||||
\renewcommand\ESPDtheColumnXXXIIfree{\@nameuse{ESPDa3FormatName}}%
|
||||
\ESPDfreeSize{420mm}{297mm}{#1}}
|
||||
|
||||
\newcommand{\ESPDportraitAIII}[1]{%
|
||||
\renewcommand\ESPDtheColumnXXXIIfree{\@nameuse{ESPDa3FormatName}}%
|
||||
\ESPDfreeSize{297mm}{420mm}{#1}}
|
||||
|
||||
\newcommand{\ESPDlandscapeAII}[1]{%
|
||||
\renewcommand\ESPDtheColumnXXXIIfree{\@nameuse{ESPDa2FormatName}}%
|
||||
\ESPDfreeSize{594mm}{420mm}{#1}}
|
||||
|
||||
\newcommand{\ESPDportraitAII}[1]{%
|
||||
\renewcommand\ESPDtheColumnXXXIIfree{\@nameuse{ESPDa2FormatName}}%
|
||||
\ESPDfreeSize{420mm}{594mm}{#1}}
|
||||
|
||||
\newcommand{\ESPDlandscapeAI}[1]{%
|
||||
\renewcommand\ESPDtheColumnXXXIIfree{\@nameuse{ESPDa1FormatName}}%
|
||||
\ESPDfreeSize{841mm}{594mm}{#1}}
|
||||
|
||||
\newcommand{\ESPDportraitAI}[1]{%
|
||||
\renewcommand\ESPDtheColumnXXXIIfree{\@nameuse{ESPDa1FormatName}}%
|
||||
\ESPDfreeSize{594mm}{841mm}{#1}}
|
||||
|
||||
\newcommand{\ESPDlandscapeAZERO}[1]{%
|
||||
\renewcommand\ESPDtheColumnXXXIIfree{\@nameuse{ESPDa0FormatName}}%
|
||||
\ESPDfreeSize{1189mm}{841mm}{#1}}
|
||||
|
||||
\newcommand{\ESPDportraitAZERO}[1]{%
|
||||
\renewcommand\ESPDtheColumnXXXIIfree{\@nameuse{ESPDa0FormatName}}%
|
||||
\ESPDfreeSize{841mm}{1189mm}{#1}}
|
||||
|
||||
\newcommand{\ESPDlandscapeBanner}[1]{%
|
||||
% Пятиметровое полотно для подшивки гармошкой в обычную папку А4.
|
||||
% Просто для демонстрации
|
||||
\ESPDfreeSize{5000mm}{297mm}{#1}}
|
60
espdhash.sty
60
espdhash.sty
@ -1,60 +0,0 @@
|
||||
% 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{espdhash}[2010/01/14 v0.98 Hash Routines]
|
||||
|
||||
\newcommand{\ESPD@hash@new}[1]{%
|
||||
\global\expandafter\newcount\csname ESPD@hash@c@#1\endcsname
|
||||
\global\csname ESPD@hash@c@#1\endcsname = 0
|
||||
\global\expandafter\newcount\csname ESPD@hash@p@#1\endcsname
|
||||
\global\csname ESPD@hash@p@#1\endcsname = 0\relax}
|
||||
|
||||
\newcommand{\ESPD@hash@set}[3]{%
|
||||
\expandafter\ifx\csname ESPD@hash@v@#1@#2\endcsname\relax
|
||||
\expandafter\gdef\csname ESPD@hash@k@#1@\expandafter\number\csname
|
||||
ESPD@hash@c@#1\endcsname\endcsname{#2}
|
||||
\expandafter\advance\csname ESPD@hash@c@#1\endcsname 1
|
||||
\fi
|
||||
\expandafter\gdef\csname ESPD@hash@v@#1@#2\endcsname{#3}}
|
||||
|
||||
\newcommand{\ESPD@hash@get}[2]{%
|
||||
\csname ESPD@hash@v@#1@#2\endcsname}
|
||||
|
||||
\newcommand{\ESPD@hash@reset}[1]{%
|
||||
\csname ESPD@hash@p@#1\endcsname = 0\relax}
|
||||
|
||||
\newcommand{\ESPD@hash@next@key}[1]{%
|
||||
\csname ESPD@hash@k@#1@\expandafter\number\csname
|
||||
ESPD@hash@p@#1\endcsname\endcsname
|
||||
\expandafter\advance\csname ESPD@hash@p@#1\endcsname 1\relax}
|
||||
|
||||
\newcommand{\ESPD@hash@next@value}[1]{%
|
||||
\csname ESPD@hash@v@#1@\csname ESPD@hash@k@#1@\expandafter\number\csname
|
||||
ESPD@hash@p@#1\endcsname\endcsname\endcsname
|
||||
\expandafter\advance\csname ESPD@hash@p@#1\endcsname 1\relax}
|
||||
|
||||
\newcommand{\ESPD@hash@count}[1]{%
|
||||
\expandafter\number\csname ESPD@hash@c@#1\endcsname}
|
||||
|
||||
\newcommand{\ESPD@hash@pos}[1]{%
|
||||
\expandafter\number\csname ESPD@hash@p@#1\endcsname}
|
||||
|
111
espdinfo.sty
111
espdinfo.sty
@ -1,111 +0,0 @@
|
||||
% 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{espdinfo}[2010/01/14 v0.98 Document Information]
|
||||
|
||||
\newcommand{\ESPDtheDepartment}{}
|
||||
\newcommand{\ESPDdepartment}[1]{\renewcommand{\ESPDtheDepartment}{#1}}
|
||||
|
||||
\newcommand{\ESPDtheCompany}{}
|
||||
\newcommand{\ESPDcompany}[1]{\renewcommand{\ESPDtheCompany}{#1}}
|
||||
|
||||
\newcommand{\ESPDtheClassCode}{}
|
||||
\newcommand{\ESPDclassCode}[1]{\renewcommand{\ESPDtheClassCode}{#1}}
|
||||
|
||||
\newcommand{\ESPDtheUnitName}{}
|
||||
\newcommand{\ESPDunitName}[1]{%
|
||||
\renewcommand{\ESPDtheUnitName}{#1}%
|
||||
\renewcommand{\@title}{#1}}
|
||||
\newcommand{\ESPDtheTitle}{\ESPDtheUnitName}
|
||||
\newcommand{\ESPDtitle}[1]{\ESPDunitName{#1}}
|
||||
\renewcommand{\title}[1]{\ESPDunitName{#1}}
|
||||
|
||||
\newcommand{\ESPDtheDocName}{}
|
||||
\newcommand{\ESPDdocName}[1]{\renewcommand{\ESPDtheDocName}{#1}}
|
||||
|
||||
\newcommand{\ESPDtheSignature}{}
|
||||
\newcommand{\ESPDsignature}[1]{\renewcommand{\ESPDtheSignature}{#1}}
|
||||
|
||||
\newcommand{\ESPDtheFileName}{}
|
||||
\newcommand{\ESPDfileName}[1]{\renewcommand{\ESPDtheFileName}{#1}}
|
||||
|
||||
\newcommand{\ESPDtheREVMBase}{}
|
||||
\newcommand{\ESPDREVMBase}[1]{\renewcommand{\ESPDtheREVMBase}{#1}}
|
||||
|
||||
\newcommand{\ESPDtheREVMType}{}
|
||||
\newcommand{\ESPDREVMType}[1]{\renewcommand{\ESPDtheREVMType}{#1}}
|
||||
|
||||
\newcommand{\ESPDtheLetterI}{}
|
||||
\newcommand{\ESPDtheLetterII}{}
|
||||
\newcommand{\ESPDtheLetterIII}{}
|
||||
\newcommand{\ESPDletter}[3]{%
|
||||
\renewcommand{\ESPDtheLetterI}{#1}%
|
||||
\renewcommand{\ESPDtheLetterII}{#2}%
|
||||
\renewcommand{\ESPDtheLetterIII}{#3}}
|
||||
|
||||
\newcommand{\ESPDtheMaterial}{}
|
||||
\newcommand{\ESPDmaterial}[1]{%
|
||||
\renewcommand{\ESPDtheMaterial}{#1}}
|
||||
|
||||
\newcommand{\ESPDtheMass}{}
|
||||
\newcommand{\ESPDmass}[1]{%
|
||||
\renewcommand{\ESPDtheMass}{#1}}
|
||||
|
||||
\newcommand{\ESPDtheScale}{}
|
||||
\newcommand{\ESPDscale}[1]{%
|
||||
\renewcommand{\ESPDtheScale}{#1}}
|
||||
|
||||
\newcommand{\ESPDtheGroup}{}
|
||||
\newcommand{\ESPDgroup}[1]{\renewcommand{\ESPDtheGroup}{#1}}
|
||||
|
||||
\newcommand{\ESPDtheAuthor}{}
|
||||
\newcommand{\ESPDauthor}[1]{%
|
||||
\renewcommand{\ESPDtheAuthor}{#1}%
|
||||
\renewcommand{\@author}{#1}}
|
||||
\renewcommand{\author}[1]{\ESPDauthor{#1}}
|
||||
|
||||
\newcommand{\ESPDtheChecker}{}
|
||||
\newcommand{\ESPDchecker}[1]{\renewcommand{\ESPDtheChecker}{#1}}
|
||||
|
||||
\newcommand{\ESPDtheNormContr}{}
|
||||
\newcommand{\ESPDnormContr}[1]{\renewcommand{\ESPDtheNormContr}{#1}}
|
||||
|
||||
\newcommand{\ESPDtheApprovedBy}{}
|
||||
\newcommand{\ESPDapprovedBy}[1]{\renewcommand{\ESPDtheApprovedBy}{#1}}
|
||||
|
||||
\newcommand{\ESPDtheYear}{\number\year}
|
||||
\newcommand{\ESPDtheMonth}{\number\month}
|
||||
\newcommand{\ESPDtheDay}{\number\day}
|
||||
\def\ESPD@set@date#1/#2/#3 enddate{%
|
||||
\renewcommand{\ESPDtheYear}{#1}%
|
||||
\renewcommand{\ESPDtheMonth}{#2}%
|
||||
\renewcommand{\ESPDtheDay}{#3}}
|
||||
\newcommand{\ESPDdate}[1]{%
|
||||
\ESPD@set@date #1 enddate%
|
||||
\renewcommand{\@date}{#1}}
|
||||
\renewcommand{\date}[1]{\ESPDdate{#1}}
|
||||
|
||||
\RequirePackage{espdafterpkg}
|
||||
\ESPD@after@package{hyperref}{%
|
||||
\hypersetup{breaklinks,pdftitle=\ESPDtheUnitName,%
|
||||
pdfsubject=\ESPDtheDocName,pdfauthor=\ESPDtheAuthor}}
|
||||
|
51
espdpara.sty
51
espdpara.sty
@ -1,51 +0,0 @@
|
||||
% 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{espdpara}[2010/01/14 v0.98 Paragraphs]
|
||||
|
||||
\RequirePackage{espdsect}
|
||||
|
||||
\newcommand{\ESPDparagraphAlign}{\ESPDsectAlignLeft}
|
||||
\newcommand{\ESPDsubparagraphAlign}{\ESPDsectAlignLeft}
|
||||
|
||||
\newcommand{\ESPDparagraphStyle}{\normalfont\normalsize\bfseries}
|
||||
\newcommand{\ESPDsubparagraphStyle}{\normalfont\normalsize\bfseries}
|
||||
|
||||
\newlength{\ESPDparagraphSkipBefore}
|
||||
\newlength{\ESPDparagraphSkipAfter}
|
||||
\setlength{\ESPDparagraphSkipBefore}{-15mm \@plus -3mm \@minus -2mm}
|
||||
\setlength{\ESPDparagraphSkipAfter}{15mm \@plus 1mm \@minus 2mm}
|
||||
\newlength{\ESPDsubparagraphSkipBefore}
|
||||
\newlength{\ESPDsubparagraphSkipAfter}
|
||||
\setlength{\ESPDsubparagraphSkipBefore}{-15mm \@plus -3mm \@minus -2mm}
|
||||
\setlength{\ESPDsubparagraphSkipAfter}{15mm \@plus 1mm \@minus 2mm}
|
||||
|
||||
\renewcommand\paragraph{\@startsection{paragraph}{4}{\parindent}%
|
||||
{\ESPDparagraphSkipBefore}%
|
||||
{\ESPDparagraphSkipAfter}%
|
||||
{\ESPDparagraphAlign\ESPDparagraphStyle}}
|
||||
\renewcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
|
||||
{\ESPDsubparagraphSkipBefore}%
|
||||
{\ESPDsubparagraphSkipAfter}%
|
||||
{\ESPDsubparagraphAlign\ESPDsubparagraphStyle}}
|
||||
|
@ -1,78 +0,0 @@
|
||||
% 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{espdplain}[2011/05/09 v0.98 Plain Page Style]
|
||||
|
||||
\RequirePackage{espdstamp}
|
||||
\RequirePackage{setspace}
|
||||
\RequirePackage{calc}
|
||||
|
||||
\def\ESPD@plain@vt{%
|
||||
\setlength{\ESPD@tmpdimc}{%
|
||||
\ESPDframeY+\ESPDframeH-\ESPD@padding@v}}
|
||||
|
||||
\def\ESPD@plain@vb{%
|
||||
\setlength{\ESPD@tmpdimc}{%
|
||||
\ESPDframeY+\ESPD@padding@v-15mm}}
|
||||
|
||||
\def\ESPD@plain@hl{%
|
||||
\ifESPD@twoside
|
||||
\ifodd\c@page\raggedright\else\raggedleft\fi
|
||||
\else\raggedright\fi}
|
||||
|
||||
\def\ESPD@plain@hr{%
|
||||
\ifESPD@twoside
|
||||
\ifodd\c@page\raggedleft\else\raggedright\fi
|
||||
\else\raggedleft\fi}
|
||||
|
||||
\def\ESPD@plain@hc{\centering}
|
||||
|
||||
\let\ESPD@plain@ha\ESPD@plain@hc
|
||||
\let\ESPD@plain@va\ESPD@plain@vb
|
||||
|
||||
\DeclareOption{numbertop}{\let\ESPD@plain@va\ESPD@plain@vt}
|
||||
\DeclareOption{numberbottom}{\let\ESPD@plain@va\ESPD@plain@vb}
|
||||
\DeclareOption{numberleft}{\let\ESPD@plain@ha\ESPD@plain@hl}
|
||||
\DeclareOption{numbercenter}{\let\ESPD@plain@ha\ESPD@plain@hc}
|
||||
\DeclareOption{numberright}{\let\ESPD@plain@ha\ESPD@plain@hr}
|
||||
|
||||
\ProcessOptions\relax
|
||||
|
||||
\newcommand{\ESPDdrawPlainPageNumber}{
|
||||
\setlength{\ESPD@tmpdima}{\ESPDframeX+\ESPD@padding@h}
|
||||
\setlength{\ESPD@tmpdimb}{\ESPDframeW-2\ESPD@padding@h}
|
||||
\ESPD@plain@va
|
||||
\put(\ESPDltu{\ESPD@tmpdima},\ESPDltu{\ESPD@tmpdimc}){%
|
||||
\parbox[b][15mm][c]{\ESPD@tmpdimb}{%
|
||||
\begin{singlespace}
|
||||
\reset@font\normalsize
|
||||
\ESPD@plain@ha\thepage \\ \MakeUppercase\ESPDtheSignature
|
||||
\end{singlespace}
|
||||
}}}
|
||||
|
||||
\ESPDnewStyle{plain}{0mm}
|
||||
\ESPDputOnStyle{plain}{pagenumber}{\ESPDdrawPlainPageNumber}
|
||||
|
||||
\ESPDdefaultTitleStyle{empty}
|
||||
\ESPDdefaultFirstStyle{plain}
|
||||
\ESPDdefaultStyle{plain}
|
||||
|
@ -1,83 +0,0 @@
|
||||
% 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{espdplain}[2011/05/09 v0.98 Plain Page Style]
|
||||
|
||||
\RequirePackage{espdstamp}
|
||||
\RequirePackage{setspace}
|
||||
\RequirePackage{calc}
|
||||
|
||||
\def\ESPD@plain@vt{%
|
||||
\setlength{\ESPD@tmpdimc}{%
|
||||
\ESPDframeY+\ESPDframeH-\ESPD@padding@v}}
|
||||
|
||||
\def\ESPD@plain@vb{%
|
||||
\setlength{\ESPD@tmpdimc}{%
|
||||
\ESPDframeY+\ESPD@padding@v-15mm}}
|
||||
|
||||
\def\ESPD@plain@hl{%
|
||||
\ifESPD@twoside
|
||||
\ifodd\c@page\raggedright\else\raggedleft\fi
|
||||
\else\raggedright\fi}
|
||||
|
||||
\def\ESPD@plain@hr{%
|
||||
\ifESPD@twoside
|
||||
\ifodd\c@page\raggedleft\else\raggedright\fi
|
||||
\else\raggedleft\fi}
|
||||
|
||||
\def\ESPD@plain@hc{\centering}
|
||||
|
||||
\let\ESPD@plain@ha\ESPD@plain@hc
|
||||
\let\ESPD@plain@va\ESPD@plain@vb
|
||||
|
||||
\DeclareOption{numbertop}{\let\ESPD@plain@va\ESPD@plain@vt}
|
||||
\DeclareOption{numberbottom}{\let\ESPD@plain@va\ESPD@plain@vb}
|
||||
\DeclareOption{numberleft}{\let\ESPD@plain@ha\ESPD@plain@hl}
|
||||
\DeclareOption{numbercenter}{\let\ESPD@plain@ha\ESPD@plain@hc}
|
||||
\DeclareOption{numberright}{\let\ESPD@plain@ha\ESPD@plain@hr}
|
||||
|
||||
\ProcessOptions\relax
|
||||
|
||||
\newcommand{\ESPDdrawPlainPageNumber}{
|
||||
\setlength{\ESPD@tmpdima}{\ESPDframeX+\ESPD@padding@h}
|
||||
\setlength{\ESPD@tmpdimb}{\ESPDframeW-2\ESPD@padding@h}
|
||||
\ESPD@plain@va
|
||||
\put(\ESPDltu{\ESPD@tmpdima},\ESPDltu{\ESPD@tmpdimc}){%
|
||||
\parbox[b][20mm][c]{\ESPD@tmpdimb}{%
|
||||
\begin{singlespace}
|
||||
\reset@font\normalsize
|
||||
\ESPD@plain@ha\thepage \\ \MakeUppercase\ESPDtheSignature
|
||||
\end{singlespace}
|
||||
}}}
|
||||
|
||||
\ESPDnewStyle{plain}{0mm}
|
||||
\ESPDputOnStyle{plain}{pagenumber}{\ESPDdrawPlainPageNumber}
|
||||
|
||||
\ESPDdefaultTitleStyle{empty}
|
||||
\ESPDdefaultFirstStyle{plain}
|
||||
\ESPDdefaultStyle{plain}
|
||||
|
||||
\renewcommand{\ESPDtheTitleFieldIII}{}
|
||||
\renewcommand{\ESPDtheTitleFieldVII}{}
|
||||
\renewcommand{\ESPDtheTitleFieldX}{}
|
||||
\renewcommand{\ESPDtheTitleFieldXI}{}
|
||||
|
22
espdrtis.sty
22
espdrtis.sty
@ -1,22 +0,0 @@
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{espdrtis}[2018/09/30 v0.98 Document Information]
|
||||
|
||||
\RequirePackage{calc}
|
||||
\RequirePackage{indentfirst}
|
||||
\RequirePackage[defaultlines=3,all]{nowidow}
|
||||
\RequirePackage{bookmark}
|
||||
|
||||
% Обязательно переносить при достижении полей
|
||||
\sloppy
|
||||
|
||||
% При переносе оставлять минимум 3 символа на первой строке и 3 на второй
|
||||
\renewcommand\russianhyphenmins{33}
|
||||
|
||||
% Обязательно (полуторный интервал)
|
||||
\linespread{1.5}
|
||||
|
||||
% Использовать для кавычек-ёлочек данные символы
|
||||
\renewcommand{\flqq}{«}
|
||||
\renewcommand{\frqq}{»}
|
||||
|
||||
\providecommand{\strong}[1]{\textbf{#1}}
|
93
espdspec.sty
93
espdspec.sty
@ -1,93 +0,0 @@
|
||||
% 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{espdspec}[2010/01/14 v0.98 Specification GOST 2.106.95]
|
||||
|
||||
\RequirePackage{espdlang}
|
||||
\RequirePackage{espdstamp}
|
||||
\RequirePackage{rotating}
|
||||
\RequirePackage{array}
|
||||
\RequirePackage{longtable}
|
||||
|
||||
\newcommand{\ESPDdrawSpecification}{
|
||||
\put(\ESPDltu{\ESPDframeX},\ESPDltu{\ESPDframeY}){%
|
||||
\begin{picture}(0,0)
|
||||
\ESPD@tmpdimb=\ESPDframeH
|
||||
\ESPD@tmpdima=\ESPD@style@sh@formII
|
||||
\ESPD@tmpdimc=8mm
|
||||
\advance\ESPD@tmpdimb -\ESPD@tmpdima
|
||||
\advance\ESPD@tmpdimb -15mm
|
||||
\divide\ESPD@tmpdimb by \ESPD@tmpdimc
|
||||
\ESPD@tmpcnta=\ESPD@tmpdimb
|
||||
\ESPD@tmpdimb=\ESPD@tmpdimc
|
||||
\multiply\ESPD@tmpdimb by \ESPD@tmpcnta
|
||||
\advance\ESPD@tmpdimb 15mm
|
||||
\ESPD@tmpdima=\ESPDframeH
|
||||
\advance\ESPD@tmpdima -\ESPD@tmpdimb
|
||||
\linethickness{\ESPDlineThick}
|
||||
\put(6,\ESPDltu{\ESPD@tmpdima}){\line(0,1){\ESPDltu{\ESPD@tmpdimb}}}
|
||||
\put(12,\ESPDltu{\ESPD@tmpdima}){\line(0,1){\ESPDltu{\ESPD@tmpdimb}}}
|
||||
\put(20,\ESPDltu{\ESPD@tmpdima}){\line(0,1){\ESPDltu{\ESPD@tmpdimb}}}
|
||||
\put(90,\ESPDltu{\ESPD@tmpdima}){\line(0,1){\ESPDltu{\ESPD@tmpdimb}}}
|
||||
\put(153,\ESPDltu{\ESPD@tmpdima}){\line(0,1){\ESPDltu{\ESPD@tmpdimb}}}
|
||||
\put(163,\ESPDltu{\ESPD@tmpdima}){\line(0,1){\ESPDltu{\ESPD@tmpdimb}}}
|
||||
\ESPD@tmpdimb=\ESPDframeH
|
||||
\advance\ESPD@tmpdimb -15mm
|
||||
\put(0,\ESPDltu{\ESPD@tmpdimb}){\line(1,0){\ESPDltu{\ESPDframeW}}}
|
||||
\linethickness{\ESPDlineThin}
|
||||
\multiput(0,\ESPDltu{\ESPD@tmpdima})(0, 8){\the\ESPD@tmpcnta}{%
|
||||
\line(1,0){\ESPDltu{\ESPDframeW}}}
|
||||
\end{picture}}}
|
||||
|
||||
\newenvironment{ESPDspecification}{%
|
||||
\ESPDputOnStyle{formII}{specification}{\ESPDdrawSpecification}
|
||||
\ESPDputOnStyle{formIIab}{specification}{\ESPDdrawSpecification}
|
||||
\begin{ESPDzeroPadding}%
|
||||
\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}{ssssnss}
|
||||
\parbox[c][15mm][c]{5mm}{\centering\begin{sideways}\ESPDfontTabHead%
|
||||
\ESPDspecColumnIname\end{sideways}}&
|
||||
\parbox[c][15mm][c]{5mm}{\centering\begin{sideways}\ESPDfontTabHead%
|
||||
\ESPDspecColumnIIname\end{sideways}}&
|
||||
\parbox[c][15mm][c]{7mm}{\centering\begin{sideways}\ESPDfontTabHead%
|
||||
\ESPDspecColumnIIIname\end{sideways}}&
|
||||
\parbox[c][15mm][c]{69mm}{\centering\ESPDfontTabHead%
|
||||
\ESPDspecColumnIVname}&
|
||||
\parbox[c][15mm][c]{61mm}{\centering\ESPDfontTabHead%
|
||||
\ESPDspecColumnVname}&
|
||||
\parbox[c][15mm][c]{9mm}{\centering\begin{sideways}\ESPDfontTabHead%
|
||||
\ESPDspecColumnVIname\end{sideways}}&
|
||||
\parbox[c][15mm][c]{21mm}{\centering\ESPDfontTabHead%
|
||||
\ESPDspecColumnVIIname}\endhead}{%
|
||||
\end{longtable}%
|
||||
\end{ESPDzeroPadding}%
|
||||
\ESPDremoveFromStyle{formII}{spec}%
|
||||
\ESPDremoveFromStyle{formIIab}{spec}}
|
||||
|
179
espdspecii.sty
179
espdspecii.sty
@ -1,179 +0,0 @@
|
||||
% 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}}
|
||||
|
1140
espdstamp.sty
1140
espdstamp.sty
File diff suppressed because it is too large
Load Diff
112
espdtext.cls
112
espdtext.cls
@ -1,112 +0,0 @@
|
||||
% 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}
|
||||
\ProvidesClass{espdtext}[2010/01/14 v0.98 Textual Documentation]
|
||||
|
||||
\newcommand{\ESPD@docfont}{14pt}
|
||||
\newcommand{\ESPD@float@style}{single}
|
||||
\newcommand{\ESPD@equation@style}{single}
|
||||
|
||||
\DeclareOption{russian}{\PassOptionsToPackage{\CurrentOption}{espdlang}}
|
||||
\DeclareOption{ukrainian}{\PassOptionsToPackage{\CurrentOption}{espdlang}}
|
||||
\DeclareOption{koi8-r}{\PassOptionsToPackage{\CurrentOption}{espdlang}}
|
||||
\DeclareOption{koi8-u}{\PassOptionsToPackage{\CurrentOption}{espdlang}}
|
||||
\DeclareOption{cp1251}{\PassOptionsToPackage{\CurrentOption}{espdlang}}
|
||||
\DeclareOption{iso8859-5}{\PassOptionsToPackage{\CurrentOption}{espdlang}}
|
||||
\DeclareOption{cp866}{\PassOptionsToPackage{\CurrentOption}{espdlang}}
|
||||
\DeclareOption{utf-8}{\PassOptionsToPackage{\CurrentOption}{espdlang}}
|
||||
\DeclareOption{utf8}{\PassOptionsToPackage{\CurrentOption}{espdlang}}
|
||||
\DeclareOption{12pt}{\renewcommand{\ESPD@docfont}{12pt}}
|
||||
\DeclareOption{14pt}{\renewcommand{\ESPD@docfont}{14pt}}
|
||||
\DeclareOption{pointsingle}{\PassOptionsToPackage{\CurrentOption}{espdsect}}
|
||||
\DeclareOption{pointsection}{\PassOptionsToPackage{\CurrentOption}{espdsect}}
|
||||
\DeclareOption{pointsubsection}{\PassOptionsToPackage{\CurrentOption}{espdsect}}
|
||||
\DeclareOption{floatsingle}{\renewcommand{\ESPD@float@style}{single}}
|
||||
\DeclareOption{floatsection}{\renewcommand{\ESPD@float@style}{section}}
|
||||
\DeclareOption{floatsubsection}{\renewcommand{\ESPD@float@style}{subsection}}
|
||||
\DeclareOption{equationsingle}{\renewcommand{\ESPD@equation@style}{single}}
|
||||
\DeclareOption{equationsection}{\renewcommand{\ESPD@equation@style}{section}}
|
||||
\DeclareOption{equationsubsection}{\renewcommand{\ESPD@equation@style}{subsection}}
|
||||
\DeclareOption{footnotearabic}{\PassOptionsToPackage{\CurrentOption}{espdfootnote}}
|
||||
\DeclareOption{footnoteasterisk}{\PassOptionsToPackage{\CurrentOption}{espdfootnote}}
|
||||
\DeclareOption{twoside}{%
|
||||
\PassOptionsToClass{\CurrentOption}{extarticle}%
|
||||
\PassOptionsToPackage{\CurrentOption}{espdstamp}}
|
||||
\DeclareOption{draft}{\PassOptionsToClass{\CurrentOption}{extarticle}}
|
||||
\DeclareOption{formI}{%
|
||||
\ClassError{espdtext}{formI style is for graphical documentaion}{}}
|
||||
\DeclareOption{zonelabels}{%
|
||||
\ClassError{espdtext}{Zone labels is not allowed for textual documentaion}{}}
|
||||
\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{espdstamp}}
|
||||
|
||||
\ProcessOptions\relax
|
||||
|
||||
\LoadClass[\ESPD@docfont]{extarticle}
|
||||
\RequirePackage{espdlang}
|
||||
\RequirePackage[a4paper,espd]{espdstamp}
|
||||
\RequirePackage{espdindent}
|
||||
\RequirePackage{espdlist}
|
||||
\RequirePackage{espdsect}
|
||||
\RequirePackage{espdcap}
|
||||
\RequirePackage{espdfootnote}
|
||||
\RequirePackage{espdbiblist}
|
||||
\RequirePackage{espdexplan}
|
||||
\RequirePackage{espdinfo}
|
||||
\RequirePackage{espdtitlebase}
|
||||
\RequirePackage{espdtitle}
|
||||
|
||||
\linespread{1.5}
|
||||
|
||||
\newcommand{\ESPD@float@style@single}{}
|
||||
|
||||
\newcommand{\ESPD@float@style@section}{
|
||||
\@addtoreset{figure}{section}
|
||||
\@addtoreset{table}{section}
|
||||
\renewcommand{\thefigure}{%
|
||||
\ifnum \c@section>\z@ \thesection.\fi \arabic{figure}}
|
||||
\renewcommand{\thetable}{%
|
||||
\ifnum \c@section>\z@ \thesection.\fi \arabic{table}}}
|
||||
|
||||
\newcommand{\ESPD@float@style@subsection}{
|
||||
\@addtoreset{figure}{subsection}
|
||||
\@addtoreset{table}{subsection}
|
||||
\renewcommand{\thefigure}{%
|
||||
\ifnum \c@subsection>\z@ \thesubsection.\fi \arabic{figure}}
|
||||
\renewcommand{\thetable}{%
|
||||
\ifnum \c@subsection>\z@ \thesubsection.\fi \arabic{table}}}
|
||||
|
||||
\@nameuse{ESPD@float@style@\ESPD@float@style}
|
||||
|
||||
\newcommand{\ESPD@equation@style@single}{}
|
||||
|
||||
\newcommand{\ESPD@equation@style@section}{
|
||||
\@addtoreset{equation}{section}
|
||||
\renewcommand{\theequation}{%
|
||||
\ifnum \c@section>\z@ \thesection.\fi \arabic{equation}}}
|
||||
|
||||
\newcommand{\ESPD@equation@style@subsection}{
|
||||
\@addtoreset{equation}{subsection}
|
||||
\renewcommand{\theequation}{%
|
||||
\ifnum \c@subsection>\z@ \thesubsection.\fi \arabic{equation}}}
|
||||
|
||||
\@nameuse{ESPD@equation@style@\ESPD@equation@style}
|
||||
|
153
espdtitle.sty
153
espdtitle.sty
@ -1,153 +0,0 @@
|
||||
% 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{espdtitle}[2010/01/14 v0.98 Title GOST 2.105]
|
||||
|
||||
\RequirePackage{espdstamp}
|
||||
\RequirePackage{espdlang}
|
||||
\RequirePackage{espdinfo}
|
||||
\RequirePackage{espdtotal}
|
||||
\RequirePackage{espdtitlebase}
|
||||
\RequirePackage{ifthen}
|
||||
|
||||
\newcommand{\ESPD@title@split@field}[2]{%
|
||||
\parbox[t]{.4\hsize}{\raggedright#1}\hfill
|
||||
\parbox[t]{.4\hsize}{\raggedright#2}}
|
||||
|
||||
\renewcommand{\ESPDtheTitleFieldI}{%
|
||||
\ESPDtheDepartment\par\ESPDtheCompany}
|
||||
|
||||
\def\ESPDtheTitleFieldIIl{}
|
||||
\renewcommand{\ESPDtheTitleFieldIIl}{%
|
||||
\ESPDtheClassCode}
|
||||
\def\ESPDtheTitleFieldIIr{}
|
||||
\renewcommand{\ESPDtheTitleFieldIIr}{}
|
||||
\renewcommand{\ESPDtheTitleFieldII}{%
|
||||
\ESPD@title@split@field{\ESPDtheTitleFieldIIl}{\ESPDtheTitleFieldIIr}}
|
||||
|
||||
\def\ESPDtheTitleFieldIIIl{}
|
||||
\renewcommand{\ESPDtheTitleFieldIIIl}{%
|
||||
\ifx\ESPD@title@approving@sheet\@undefined
|
||||
\expandafter\ifx\csname ESPD@title@agreed@name@1\endcsname\relax\else
|
||||
\text{\MakeUppercase{\ESPDagreedName}}\\
|
||||
\ESPD@title@make@stamp{agreed}{1}
|
||||
\fi
|
||||
\else
|
||||
\textrm{\MakeUppercase{\ESPDapprovedName}}\\
|
||||
\ESPD@title@approving@sheet
|
||||
\fi}
|
||||
\def\ESPDtheTitleFieldIIIr{}
|
||||
\renewcommand{\ESPDtheTitleFieldIIIr}{%
|
||||
\ifx\ESPD@title@approving@sheet\@undefined
|
||||
\expandafter\ifx\csname ESPD@title@approved@name@1\endcsname\relax\else
|
||||
\text{\MakeUppercase{\ESPDapprovingName}}\\
|
||||
\ESPD@title@make@stamp{approved}{1}
|
||||
\fi
|
||||
\fi}
|
||||
\renewcommand{\ESPDtheTitleFieldIII}{%
|
||||
\ESPD@title@split@field{\ESPDtheTitleFieldIIIl}{\ESPDtheTitleFieldIIIr}}
|
||||
|
||||
\renewcommand{\ESPDtheTitleFieldIV}{%
|
||||
{\MakeUppercase{\ESPDtheTitle}\par\ESPDtheDocName}%
|
||||
}
|
||||
|
||||
\renewcommand{\ESPDtheTitleFieldV}{}
|
||||
|
||||
\renewcommand{\ESPDtheTitleFieldVI}{%
|
||||
\MakeUppercase{\ESPDtheSignature}}
|
||||
|
||||
\renewcommand{\ESPDtheTitleFieldVIa}{%
|
||||
{\ESPDtheFileName}}
|
||||
|
||||
%\renewcommand{\ESPDtheTitleFieldVII}{}
|
||||
\renewcommand{\ESPDtheTitleFieldVII}{\normalfont\cyr\CYRL\cyri\cyrs\cyrt\cyro\cyrv\ \ESPDtotal{page}}
|
||||
|
||||
\def\ESPDtheTitleFieldVIIIl{}
|
||||
\renewcommand{\ESPDtheTitleFieldVIIIl}{%
|
||||
\ifx\ESPD@title@approving@sheet\@undefined
|
||||
\ESPD@tmpcnta = 1
|
||||
\loop
|
||||
\ifnum \ESPD@tmpcnta < \ESPD@title@agreed@cnt
|
||||
\advance \ESPD@tmpcnta 1
|
||||
\ESPD@title@make@stamp{agreed}{\number\ESPD@tmpcnta}
|
||||
\par\vspace{5mm}
|
||||
\repeat
|
||||
\fi}
|
||||
\def\ESPDtheTitleFieldVIIIr{}
|
||||
\renewcommand{\ESPDtheTitleFieldVIIIr}{%
|
||||
\ifx\ESPD@title@approving@sheet\@undefined
|
||||
\ESPD@tmpcnta = 0
|
||||
\loop
|
||||
\ifnum \ESPD@tmpcnta < \ESPD@title@designed@cnt
|
||||
\advance \ESPD@tmpcnta 1
|
||||
\ESPD@title@make@stamp{designed}{\number\ESPD@tmpcnta}
|
||||
\par\vspace{5mm}
|
||||
\repeat
|
||||
\fi}
|
||||
\renewcommand{\ESPDtheTitleFieldVIII}{%
|
||||
\ESPD@title@split@field{\ESPDtheTitleFieldVIIIl}{\ESPDtheTitleFieldVIIIr}}
|
||||
|
||||
\renewcommand{\ESPDtheTitleFieldX}{\ESPDtheYear}
|
||||
\renewcommand{\ESPDtheTitleFieldXI}{\cyr\CYRL\cyri\cyrt\cyre\cyrr\cyra}
|
||||
|
||||
\renewcommand{\ESPDtitleFontI}{\ESPDfontV}
|
||||
\renewcommand{\ESPDtitleFontII}{\ESPDfontV}
|
||||
\renewcommand{\ESPDtitleFontIII}{\ESPDfontV}
|
||||
\renewcommand{\ESPDtitleFontIV}{\ESPDfontV}
|
||||
\renewcommand{\ESPDtitleFontV}{\ESPDfontV}
|
||||
\renewcommand{\ESPDtitleFontVI}{\ESPDfontV}
|
||||
\renewcommand{\ESPDtitleFontVIa}{\ESPDfontV}
|
||||
\renewcommand{\ESPDtitleFontVII}{\ESPDfontV}
|
||||
\renewcommand{\ESPDtitleFontVIII}{\ESPDfontV}
|
||||
\renewcommand{\ESPDtitleFontX}{\ESPDfontV}
|
||||
\renewcommand{\ESPDtitleFontXI}{\ESPDfontV}
|
||||
|
||||
\renewcommand{\maketitle}{%
|
||||
\begin{ESPDtitlePage}
|
||||
\setlength{\topsep}{0mm}
|
||||
\noindent
|
||||
\parbox[c][.28\vsize][t]{\hsize}{%
|
||||
% \vspace{5mm \@plus 15mm \@minus 3mm}
|
||||
% \begin{center}\ESPDtitleFontI\bfseries\ESPDtheTitleFieldI\end{center}
|
||||
% \vspace{5mm \@plus 15mm \@minus 3mm}
|
||||
% \begin{center}\ESPDtitleFontII\ESPDtheTitleFieldII\end{center}}
|
||||
\vspace{5mm \@plus 15mm \@minus 3mm}
|
||||
\begin{center}\ESPDtitleFontIII\ESPDtheTitleFieldIII\end{center}}
|
||||
\par\vspace{10mm \@plus 2mm \@minus 4mm}\noindent
|
||||
\parbox[c][.30\vsize][t]{\hsize}{%
|
||||
\ifthenelse{\equal{\ESPDtheTitleFieldIV}{}}{}
|
||||
{\begin{center}\ESPDtitleFontIV\ESPDtheTitleFieldIV\end{center}}
|
||||
\ifthenelse{\equal{\ESPDtheTitleFieldV}{}}{}
|
||||
{\begin{center}\ESPDtitleFontV\ESPDtheTitleFieldV\end{center}}
|
||||
\ifthenelse{\equal{\ESPDtheTitleFieldVI}{}}{}
|
||||
{\begin{center}\ESPDtitleFontVI\ESPDtheTitleFieldVI\end{center}}
|
||||
\ifthenelse{\equal{\ESPDtheTitleFieldVIa}{}}{}
|
||||
{\begin{center}\ESPDtitleFontVI\ESPDtheTitleFieldVIa\end{center}}
|
||||
\ifthenelse{\equal{\ESPDtheTitleFieldVII}{}}{}
|
||||
{\begin{center}\ESPDtitleFontVII\ESPDtheTitleFieldVII\end{center}}}
|
||||
\par\vspace{4mm \@plus 2mm \@minus 2mm}\noindent
|
||||
\begin{center}\ESPDtitleFontVIII\ESPDtheTitleFieldVIII\end{center}
|
||||
\vfill
|
||||
\begin{center}\ESPDtitleFontX\ESPDtheTitleFieldX\end{center}
|
||||
\begin{flushright}\ESPDtitleFontXI\ESPDtheTitleFieldXI\hspace{20mm}\enspace\end{flushright}% Литера
|
||||
\end{ESPDtitlePage}}
|
||||
|
@ -1,92 +0,0 @@
|
||||
% 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}
|
||||
|
18
espdtz.sty
18
espdtz.sty
@ -1,18 +0,0 @@
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{espdtz}[2018/09/14 v0.98 Document Information]
|
||||
\RequirePackage{kvoptions}
|
||||
\RequirePackage[numbertop,numbercenter]{espdplain}
|
||||
|
||||
\DeclareStringOption{project}
|
||||
\ProcessKeyvalOptions*
|
||||
|
||||
\renewcommand{\ESPDtheTitleFieldVII}{}
|
||||
\renewcommand{\ESPDtheTitleFieldXI}{}
|
||||
\renewcommand{\ESPDtheTitleFieldIV}{%
|
||||
{\MakeUppercase{\espdtz@project}
|
||||
\vspace{3pt}
|
||||
\par\ESPDtheDocName
|
||||
\vspace{3pt}
|
||||
\par\cyrk\cyro\cyrm\cyrp\cyrl\cyre\cyrk\cyrs\cyra\ \cyrp\cyrr\cyro\cyrg\cyrr\cyra\cyrm\cyrm\ \ESPDtheTitle}%
|
||||
}
|
||||
|
275
siunitx.cfg
Normal file
275
siunitx.cfg
Normal file
@ -0,0 +1,275 @@
|
||||
\ProvidesFile{siunitx.cfg}
|
||||
% Put any \sisetup{} command here too
|
||||
|
||||
% Основные единицы (SI base units, Table 1)
|
||||
|
||||
% Наименование Символ размерности Русское наименование Французское наименование Английское наименование Русское обозначение Международное обозначение
|
||||
% Длина L метр mètre metre м m
|
||||
% Масса M килограмм kilogramme kilogram кг kg
|
||||
% Время T секунда seconde second с s
|
||||
% Сила электрического тока I ампер ampère ampere А A
|
||||
% Термодинамическая температура Θ кельвин kelvin kelvin К K
|
||||
% Количество вещества N моль mole mole моль mol
|
||||
% Сила света J кандела candela candela кд cd
|
||||
|
||||
\DeclareSIUnit\metre{\text{м}}
|
||||
\DeclareSIUnit\meter{\text{м}}
|
||||
%\DeclareSIUnit\kilogram{\text{кг}} % определяется через грамм
|
||||
\DeclareSIUnit\second{\text{с}}
|
||||
\DeclareSIUnit\ampere{\text{А}}
|
||||
\DeclareSIUnit\kelvin{\text{К}}
|
||||
\DeclareSIUnit\mole{\text{моль}}
|
||||
\DeclareSIUnit\candela{\text{кд}}
|
||||
|
||||
|
||||
% Производные единицы, имеющие специальные наименования и обозначения (Coherent derived units in the SI with special names and symbols, Table 2)
|
||||
|
||||
% Величина Русское наименование Английское наименование Русское обозначение Международное обозначение Выражение через основные единицы
|
||||
% Активность радиоактивного источника беккерель becquerel Бк Bq с−1
|
||||
% Температура Цельсия градус Цельсия degree Celsius °C °C K
|
||||
% Электрический заряд кулон coulomb Кл C А·с
|
||||
% Электроёмкость фарад farad Ф F Кл/В=с4·А2·кг−1·м−2
|
||||
% Масса грамм gram г g 10-3кг
|
||||
% Поглощённая доза ионизирующего излучения грей gray Гр Gy Дж/кг=м²/c²
|
||||
% Частота герц hertz Гц Hz с−1
|
||||
% Индуктивность генри henry Гн H кг·м2·с−2·А−2
|
||||
% Энергия джоуль joule Дж J Н·м=кг·м2·c−2
|
||||
% Активность катализатора катал katal кат kat моль/с
|
||||
% Световой поток люмен lumen лм lm кд·ср
|
||||
% Освещённость люкс lux лк lx лм/м²=кд·ср/м²
|
||||
% Сила ньютон newton Н N кг·м·c−2
|
||||
% Сопротивление ом ohm Ом Ω В/А=кг·м2·с−3·А−2
|
||||
% Давление паскаль pascal Па Pa Н/м2=кг·м−1·с−2
|
||||
% Плоский угол радиан radian рад rad м·м−1=1
|
||||
% Электрическая проводимость сименс siemens См S Ом−1=с3·А2·кг−1·м−2
|
||||
% Эффективная доза ионизирующего излучения зиверт sievert Зв Sv Дж/кг=м²/c²
|
||||
% Телесный угол стерадиан steradian ср sr м2·м−2=1
|
||||
% Магнитная индукция тесла tesla Тл T Вб/м2=кг·с−2·А−1
|
||||
% Разность потенциалов вольт volt В V Дж/Кл=кг·м2·с−3·А−1
|
||||
% Мощность ватт watt Вт W Дж/с=кг·м2·c−3
|
||||
% Магнитный поток вебер weber Вб Wb кг·м2·с−2·А−1
|
||||
|
||||
\DeclareSIUnit\becquerel{\text{Бк}}
|
||||
%\DeclareSIUnit\degreeCelsius{\text{°C}}
|
||||
\DeclareSIUnit\coulomb{\text{Кл}}
|
||||
\DeclareSIUnit\farad{\text{Ф}}
|
||||
\DeclareSIUnit\gram{\text{г}}
|
||||
\DeclareSIUnit\gray{\text{Гр}}
|
||||
\DeclareSIUnit\hertz{\text{Гц}}
|
||||
\DeclareSIUnit\henry{\text{Гн}}
|
||||
\DeclareSIUnit\joule{\text{Дж}}
|
||||
\DeclareSIUnit\katal{\text{кат}}
|
||||
\DeclareSIUnit\lumen{\text{лм}}
|
||||
\DeclareSIUnit\lux{\text{лк}}
|
||||
\DeclareSIUnit\newton{\text{Н}}
|
||||
\DeclareSIUnit\ohm{\text{Ом}}
|
||||
\DeclareSIUnit\pascal{\text{Па}}
|
||||
\DeclareSIUnit\radian{\text{рад}}
|
||||
\DeclareSIUnit\siemens{\text{См}}
|
||||
\DeclareSIUnit\sievert{\text{Зв}}
|
||||
\DeclareSIUnit\steradian{\text{ср}}
|
||||
\DeclareSIUnit\tesla{\text{Тл}}
|
||||
\DeclareSIUnit\volt{\text{В}}
|
||||
\DeclareSIUnit\watt{\text{Вт}}
|
||||
\DeclareSIUnit\weber{\text{Вб}}
|
||||
|
||||
|
||||
% Единицы, не входящие в СИ (Non-SI units accepted for use with the International System of Units, Table 3)
|
||||
|
||||
% Единица Английское наименование Русское обозначение Международное обозначение Величина в единицах СИ
|
||||
% сутки day сут d 24ч=86400с
|
||||
% угловой градус degree ° ° (π/180)рад
|
||||
% минута minute мин min 60с
|
||||
% гектар hectare га ha 10000м²
|
||||
% час hour ч h 60мин=3600с
|
||||
% литр litre л l,L 0,001м³
|
||||
% угловая минута minute ′ ′ (1/60)°=(π/10800)
|
||||
% угловая секунда second ″ ″ (1/60)′=(π/648000)
|
||||
% тонна tonne т t 1000кг
|
||||
|
||||
\DeclareSIUnit\day{\text{сут}}
|
||||
%\DeclareSIUnit\degree{\text{°}}
|
||||
\DeclareSIUnit\hectare{\text{га}}
|
||||
\DeclareSIUnit\hour{\text{ч}}
|
||||
\DeclareSIUnit\litre{\text{л}}
|
||||
\DeclareSIUnit\liter{\text{л}}
|
||||
%\DeclareSIUnit\arcminute{\text{′}}
|
||||
\DeclareSIUnit\minute{\text{мин}}
|
||||
%\DeclareSIUnit\arcsecond{\text{″}}
|
||||
\DeclareSIUnit\tonne{\text{т}}
|
||||
|
||||
|
||||
% Non-SI units whose values in SI units must be obtained experimentally, Table 4
|
||||
|
||||
\DeclareSIUnit\astronomicalunit{\text{а. е.}}
|
||||
\DeclareSIUnit\atomicmassunit{\text{а. е. м.}}
|
||||
%\bohr
|
||||
%\clight
|
||||
\DeclareSIUnit\dalton{\text{а. е. м.}}
|
||||
%\electronmass
|
||||
\DeclareSIUnit\electronvolt{\text{эВ}}
|
||||
%\elementarycharge
|
||||
%\hartree
|
||||
%\planckbar
|
||||
|
||||
|
||||
% Other non-SI units, Table 5
|
||||
|
||||
% Единица Английское наименование Русское обозначение Международное обозначение Величина в единицах СИ
|
||||
% ангстрем ångström Å Å 10−10м
|
||||
% бар bar бар bar 100000 Па
|
||||
% барн barn б b 10−28м²
|
||||
% бел bel Б B безразмерна
|
||||
% узел knot уз kn 1 морская миля в час = (1852/3600) м/с
|
||||
% морская миля nautical mile миля M 1852 м (точно)
|
||||
% непер neper Нп Np безразмерна
|
||||
|
||||
%\DeclareSIUnit\angstrom{\text{Å}}
|
||||
%\DeclareSIUnit\are{\text{а}} % ар (100 м²) не имеет макроса в siunitx по умолчанию
|
||||
\DeclareSIUnit\bar{\text{бар}}
|
||||
\DeclareSIUnit\barn{\text{б}}
|
||||
\DeclareSIUnit\bel{\text{Б}}
|
||||
\DeclareSIUnit\decibel{\text{дБ}}
|
||||
\DeclareSIUnit\knot{\text{уз}}
|
||||
\DeclareSIUnit\mmHg{\text{мм рт. ст.}}
|
||||
\DeclareSIUnit\nauticalmile{\text{миля}}
|
||||
\DeclareSIUnit\neper{\text{Нп}}
|
||||
|
||||
|
||||
% SI prefixes, Table 6
|
||||
|
||||
% Степень Русская приставка Международная приставка Русское обозначение Международное обозначение
|
||||
% 1 дека deca да da
|
||||
% 2 гекто hecto г h
|
||||
% 3 кило kilo к k
|
||||
% 6 мега mega М M
|
||||
% 9 гига giga Г G
|
||||
% 12 тера tera Т T
|
||||
% 15 пета peta П P
|
||||
% 18 экса exa Э E
|
||||
% 21 зетта zetta З Z
|
||||
% 24 иотта yotta И Y
|
||||
|
||||
\DeclareSIPrefix\deca{\text{да}}{1}
|
||||
\DeclareSIPrefix\hecto{\text{г}}{2}
|
||||
\DeclareSIPrefix\kilo{\text{к}}{3}
|
||||
\DeclareSIPrefix\mega{\text{М}}{6}
|
||||
\DeclareSIPrefix\giga{\text{Г}}{9}
|
||||
\DeclareSIPrefix\tera{\text{Т}}{12}
|
||||
\DeclareSIPrefix\peta{\text{П}}{15}
|
||||
\DeclareSIPrefix\exa{\text{Э}}{18}
|
||||
\DeclareSIPrefix\zetta{\text{З}}{21}
|
||||
\DeclareSIPrefix\yotta{\text{И}}{24}
|
||||
|
||||
|
||||
% Степень Русская приставка Международная приставка Русское обозначение Международное обозначение
|
||||
% -1 деци deci д d
|
||||
% -2 санти centi с c
|
||||
% -3 милли milli м m
|
||||
% -6 микро micro мк µ
|
||||
% -9 нано nano н n
|
||||
% -12 пико pico п p
|
||||
% -15 фемто femto ф f
|
||||
% -18 атто atto а a
|
||||
% -21 зепто zepto з z
|
||||
% -24 иокто yocto и y
|
||||
|
||||
\DeclareSIPrefix\deci{\text{д}}{-1}
|
||||
\DeclareSIPrefix\centi{\text{с}}{-2}
|
||||
\DeclareSIPrefix\milli{\text{м}}{-3}
|
||||
\DeclareSIPrefix\micro{\text{мк}}{-6}
|
||||
\DeclareSIPrefix\nano{\text{н}}{-9}
|
||||
\DeclareSIPrefix\pico{\text{п}}{-12}
|
||||
\DeclareSIPrefix\femto{\text{ф}}{-15}
|
||||
\DeclareSIPrefix\atto{\text{а}}{-18}
|
||||
\DeclareSIPrefix\zepto{\text{з}}{-21}
|
||||
\DeclareSIPrefix\yocto{\text{и}}{-24}
|
||||
|
||||
|
||||
% Степень Международное обозначение Международная приставка Русское обозначение Русское написание числа бит Русская приставка
|
||||
% 10 kibi Ki киби Кибит Ки
|
||||
% 20 mebi Mi меби Мибит Ми
|
||||
% 30 gibi Gi гиби Гибит Ги
|
||||
% 40 tebi Ti теби Тибит Ти
|
||||
% 50 pebi Pi пеби Пибит Пи
|
||||
% 60 exbi Ei эксби Эибит Эи
|
||||
% 70 zebi Zi зеби Зибит Зи
|
||||
% 80 yobi Yi йоби Йибит Йи
|
||||
|
||||
\DeclareBinaryPrefix\kibi{\text{Ки}}{10}
|
||||
\DeclareBinaryPrefix\mebi{\text{Ми}}{20}
|
||||
\DeclareBinaryPrefix\gibi{\text{Ги}}{30}
|
||||
\DeclareBinaryPrefix\tebi{\text{Ти}}{40}
|
||||
\DeclareBinaryPrefix\pebi{\text{Пи}}{50}
|
||||
\DeclareBinaryPrefix\exbi{\text{Эи}}{60}
|
||||
\DeclareBinaryPrefix\zebi{\text{Зи}}{70}
|
||||
\DeclareBinaryPrefix\yobi{\text{Йи}}{80}
|
||||
|
||||
|
||||
|
||||
% Положение о единицах величин, допускаемых к применению в Российской Федерации,
|
||||
% разрешает применение следующих внесистемных единиц:
|
||||
% карат
|
||||
% град (гон)
|
||||
% световой год
|
||||
% парсек
|
||||
% фут
|
||||
% дюйм
|
||||
% килограмм-сила на квадратный сантиметр
|
||||
% миллиметр водяного столба
|
||||
% метр водяного столба
|
||||
% техническая атмосфера
|
||||
% диоптрия
|
||||
% текс
|
||||
% гал
|
||||
% оборот в секунду
|
||||
% оборот в минуту
|
||||
% киловатт-час
|
||||
% вольт-ампер
|
||||
% вар
|
||||
% ампер-час
|
||||
% бит
|
||||
% байт
|
||||
% бит в секунду
|
||||
% байт в секунду
|
||||
% рентген
|
||||
% бэр
|
||||
% рад
|
||||
% рентген в секунду
|
||||
% кюри
|
||||
% стокс
|
||||
% калория (международная)
|
||||
% калория термохимическая
|
||||
% калория 15-градусная
|
||||
% калория в секунду
|
||||
% килокалория в час
|
||||
% гигакалория в час
|
||||
|
||||
% Положение разрешает применять единицы относительных и логарифмических величин, такие как:
|
||||
% процент
|
||||
% промилле
|
||||
% миллионная доля
|
||||
% децибел
|
||||
% фон
|
||||
% октава
|
||||
% декада
|
||||
|
||||
% Допускается также применять единицы времени, получившие широкое распространение, например:
|
||||
% неделя
|
||||
% месяц
|
||||
% год
|
||||
% век
|
||||
% тысячелетие
|
||||
|
||||
% Не применяются с кратными и дольными приставками СИ наименования и обозначения внесистемных единиц:
|
||||
% массы
|
||||
% времени
|
||||
% плоского угла
|
||||
% длины
|
||||
% площади
|
||||
% давления
|
||||
% оптической силы
|
||||
% линейной плотности
|
||||
% скорости
|
||||
% ускорения
|
||||
% частоты вращения
|
@ -23,9 +23,9 @@
|
||||
%
|
||||
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{espdafterpkg}[2010/01/14 v0.98 Apply Commands After Package]
|
||||
\ProvidesPackage{xespdafterpkg}[2010/01/14 v0.98 Apply Commands After Package]
|
||||
|
||||
\newcommand*\ESPD@after@package[1]{%
|
||||
\newcommand*\XESPD@after@package[1]{%
|
||||
\expandafter\ifx\csname ver@#1.\@pkgextension\endcsname\relax
|
||||
\@ifundefined{#1.\@pkgextension-@dd}{%
|
||||
\expandafter\let\csname#1.\@pkgextension-@dd\endcsname\@empty
|
||||
@ -40,19 +40,19 @@
|
||||
\fi
|
||||
\@tempa
|
||||
}
|
||||
\@onlypreamble\ESPD@after@package
|
||||
\let\ESPD@ATP@popfilename\@popfilename
|
||||
\@onlypreamble\ESPD@ATP@popfilename
|
||||
\@onlypreamble\XESPD@after@package
|
||||
\let\XESPD@ATP@popfilename\@popfilename
|
||||
\@onlypreamble\XESPD@ATP@popfilename
|
||||
\def\@popfilename{%
|
||||
\@ifundefined{\@currname.\@currext-@dd}{}{%
|
||||
\ESPD@ATP@apply@info{\@currname}%
|
||||
\XESPD@ATP@apply@info{\@currname}%
|
||||
\csname\@currname.\@currext-@dd\endcsname
|
||||
\expandafter\let\csname\@currname.\@currext-@dd\endcsname\relax
|
||||
}%
|
||||
\ESPD@ATP@popfilename
|
||||
\XESPD@ATP@popfilename
|
||||
}
|
||||
\def\ESPD@ATP@apply@info#1{%
|
||||
\def\XESPD@ATP@apply@info#1{%
|
||||
\wlog{After Package Info: Apply commands to #1\on@line}%
|
||||
}
|
||||
\@onlypreamble\ESPD@ATP@apply@info
|
||||
\@onlypreamble\XESPD@ATP@apply@info
|
||||
|
73
xespdappsheet.sty
Normal file
73
xespdappsheet.sty
Normal file
@ -0,0 +1,73 @@
|
||||
% 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{xespdappsheet}[2010/01/14 v0.98 Approving Sheet GOST 2.105]
|
||||
|
||||
\RequirePackage{xespdlang}
|
||||
\RequirePackage{xespdtitle}
|
||||
|
||||
\newcount\XESPD@appsheet@doc@cnt
|
||||
\XESPD@appsheet@doc@cnt = 0
|
||||
|
||||
\newcommand{\XESPDapprovingDoc}[1]{%
|
||||
\advance \XESPD@appsheet@doc@cnt 1
|
||||
\@namedef{XESPD@appsheet@doc@\number\XESPD@appsheet@doc@cnt}{#1}}
|
||||
|
||||
\renewcommand{\XESPDtheTitleFieldV}{%
|
||||
\XESPDapprovingSheetName}
|
||||
|
||||
\renewcommand{\XESPDtheTitleFieldVI}{%
|
||||
\MakeUppercase{\XESPDtheSignature}}
|
||||
|
||||
\renewcommand{\XESPDtheTitleFieldVII}{}
|
||||
|
||||
\def\XESPDtheTitleFieldVIIIlb{}
|
||||
\renewcommand{\XESPDtheTitleFieldVIIIlb}{%
|
||||
\XESPD@tmpcnta = 1
|
||||
\XESPD@tmpcntb = \XESPD@appsheet@doc@cnt
|
||||
\advance \XESPD@tmpcntb 1
|
||||
\loop
|
||||
\ifnum \XESPD@tmpcnta < \XESPD@tmpcntb
|
||||
\@nameuse{XESPD@appsheet@doc@\number\XESPD@tmpcnta}\par
|
||||
\advance \XESPD@tmpcnta 2
|
||||
\repeat}
|
||||
\def\XESPDtheTitleFieldVIIIrb{}
|
||||
\renewcommand{\XESPDtheTitleFieldVIIIrb}{%
|
||||
\XESPD@tmpcnta = 2
|
||||
\XESPD@tmpcntb = \XESPD@appsheet@doc@cnt
|
||||
\advance \XESPD@tmpcntb 1
|
||||
\loop
|
||||
\ifnum \XESPD@tmpcnta < \XESPD@tmpcntb
|
||||
\@nameuse{XESPD@appsheet@doc@\number\XESPD@tmpcnta}\par
|
||||
\advance \XESPD@tmpcnta 2
|
||||
\repeat}
|
||||
\renewcommand{\XESPDtheTitleFieldVIII}{%
|
||||
\XESPD@title@split@field{\XESPDtheTitleFieldVIIIl}{\XESPDtheTitleFieldVIIIr}
|
||||
\par
|
||||
\XESPD@title@split@field{\XESPDtheTitleFieldVIIIlb}{\XESPDtheTitleFieldVIIIrb}}
|
||||
|
||||
\renewcommand{\XESPDtheTitleFieldX}{}
|
||||
|
||||
\renewcommand{\XESPDtitleFontX}{\XESPDfontIII}
|
||||
|
||||
\newcommand{\XESPDmakeApprovingSheet}{\maketitle}
|
||||
|
@ -20,7 +20,7 @@
|
||||
%
|
||||
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{espdbiblist}[2010/01/14 v0.98 Bibliography List]
|
||||
\ProvidesPackage{xespdbiblist}[2010/01/14 v0.98 Bibliography List]
|
||||
|
||||
\renewcommand{\@biblabel}[1]{#1.}
|
||||
|
@ -20,7 +20,7 @@
|
||||
%
|
||||
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{espdcap}[2010/01/14 v0.98 Captions]
|
||||
\ProvidesPackage{xespdcap}[2010/01/14 v0.98 Captions]
|
||||
|
||||
\RequirePackage{caption}
|
||||
\DeclareCaptionLabelSeparator{endash}{ \textendash{}\ }
|
||||
@ -28,10 +28,10 @@
|
||||
\captionsetup[table]{%
|
||||
labelsep=endash,justification=raggedright,singlelinecheck=false,%
|
||||
aboveskip=0mm,belowskip=0mm}
|
||||
\captionsetup[longtable]{%
|
||||
labelsep=endash,justification=raggedright,singlelinecheck=false,%
|
||||
aboveskip=0mm,belowskip=0mm}
|
||||
\captionsetup[figure]{%
|
||||
labelsep=endash,justification=centering,singlelinecheck=false,%
|
||||
aboveskip=4mm,belowskip=0mm}
|
||||
\captionsetup[longtable]{%
|
||||
labelsep=endash,justification=raggedright,singlelinecheck=false,%
|
||||
aboveskip=0mm,belowskip=0mm}
|
||||
|
97
xespdchngsheet.sty
Normal file
97
xespdchngsheet.sty
Normal file
@ -0,0 +1,97 @@
|
||||
% 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}[2010/01/14 v0.98 Sheet of Changes GOST 2.503-90]
|
||||
|
||||
\RequirePackage{xespdlang}
|
||||
\RequirePackage{xespdstamp}
|
||||
\RequirePackage{array}
|
||||
\RequirePackage{longtable}
|
||||
|
||||
\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{-\baselineskip}\centering\XESPDfontTabHead\XESPDchngColumnVIIIname\vspace{1mm}}&
|
||||
\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{-\baselineskip}\centering\XESPDfontTabHead\XESPDchngColumnVIIIname\vspace{1mm}}&
|
||||
\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}}
|
||||
|
@ -20,30 +20,30 @@
|
||||
%
|
||||
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{espddstu}[2010/01/20 v0.98 Ukrainian DSTU implementation]
|
||||
\ProvidesPackage{xespddstu}[2010/01/20 v0.98 Ukrainian DSTU implementation]
|
||||
|
||||
|
||||
% Настройка пояснений к формулам согласно ДСТУ 3008, п. 7.10.3
|
||||
|
||||
% временная длина для передачи внутрь окружения {list}
|
||||
% величины абзацного отступа
|
||||
\setlength{\ESPDexplanIndent}{\parindent}
|
||||
\setlength{\XESPDexplanIndent}{\parindent}
|
||||
|
||||
% определим нашу собственную команду для замены \makelabel
|
||||
\newcommand{\ESPD@dstu@expl@label}[1]{%
|
||||
\newcommand{\XESPD@dstu@expl@label}[1]{%
|
||||
\ifthenelse{\equal{}{#1}}
|
||||
{}
|
||||
{\hspace{\ESPDexplanIndent}#1}%
|
||||
{\hspace{\XESPDexplanIndent}#1}%
|
||||
}
|
||||
|
||||
\renewenvironment{ESPDexplanation}[1][\ESPDexplanWidth]{%
|
||||
\renewenvironment{XESPDexplanation}[1][\XESPDexplanWidth]{%
|
||||
\begin{list}{}{\setlength{\parsep}{0pt}%
|
||||
\setlength{\topsep}{0pt}%
|
||||
\setlength{\itemsep}{0pt}%
|
||||
\setlength{\labelsep}{0pt}%
|
||||
\setlength{\labelwidth}{0pt}%
|
||||
\setlength{\leftmargin}{0pt}%
|
||||
\let\makelabel\ESPD@dstu@expl@label}}{%
|
||||
\let\makelabel\XESPD@dstu@expl@label}}{%
|
||||
\end{list}}
|
||||
|
||||
|
@ -20,22 +20,22 @@
|
||||
%
|
||||
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{espdexplan}[2010/01/19 v0.98 ESPD Explanation]
|
||||
\ProvidesPackage{xespdexplan}[2010/01/19 v0.98 XESPD Explanation]
|
||||
|
||||
\RequirePackage{espdlang}
|
||||
\RequirePackage{xespdlang}
|
||||
|
||||
\newlength{\ESPDexplanIndent}
|
||||
\newlength{\XESPDexplanIndent}
|
||||
% По умолчанию пояснения к формулам прижимаются левому к краю страницы
|
||||
% и не имеют отступа, так как ГОСТ 2.105-95 четко не говорит нужно ли
|
||||
% ставить отступ перед пояснениями или нет.
|
||||
\setlength{\ESPDexplanIndent}{0pt}
|
||||
\setlength{\XESPDexplanIndent}{0pt}
|
||||
|
||||
\newenvironment{ESPDexplanation}[1][\ESPDexplanWidth]{%
|
||||
\newenvironment{XESPDexplanation}[1][\XESPDexplanWidth]{%
|
||||
\begin{list}{}{\setlength{\parsep}{0pt}%
|
||||
\setlength{\topsep}{0pt}%
|
||||
\setlength{\itemsep}{0pt}%
|
||||
\setlength{\labelsep}{0pt}%
|
||||
\setlength{\labelwidth}{#1}%
|
||||
\setlength{\leftmargin}{\labelwidth+\ESPDexplanIndent}}}{%
|
||||
\setlength{\leftmargin}{\labelwidth+\XESPDexplanIndent}}}{%
|
||||
\end{list}}
|
||||
|
102
xespdfont.sty
Normal file
102
xespdfont.sty
Normal file
@ -0,0 +1,102 @@
|
||||
% 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{xespdfont}[2010/01/14 v0.98 Font Definitions]
|
||||
|
||||
\newcommand{\XESPDfontBaseLineStretch}{1}
|
||||
|
||||
\newcommand{\XESPDfontSetBaseLineStretch}{%
|
||||
\renewcommand{\baselinestretch}{\XESPDfontBaseLineStretch}}
|
||||
|
||||
|
||||
\RequirePackage{ifxetex}
|
||||
\ifxetex
|
||||
\RequirePackage{fontspec}
|
||||
\defaultfontfeatures{Mapping=tex-text}
|
||||
\defaultfontfeatures{Scale=MatchLowercase}
|
||||
\fi
|
||||
|
||||
\newcommand{\XESPDfontShape}{\rmfamily}
|
||||
|
||||
\newcommand{\XESPDfontIIsize}{\fontsize{8pt}{10pt}}
|
||||
\newcommand{\XESPDfontIIIsize}{\fontsize{10pt}{13pt}}
|
||||
\newcommand{\XESPDfontIVsize}{\fontsize{12pt}{16pt}}
|
||||
\newcommand{\XESPDfontVsize}{\fontsize{14pt}{18pt}}
|
||||
\newcommand{\XESPDfontVIIsize}{\fontsize{18pt}{24pt}}
|
||||
\newcommand{\XESPDfontXsize}{\fontsize{32pt}{40pt}}
|
||||
|
||||
\newcommand{\XESPDfontII}{%
|
||||
\XESPDfontSetBaseLineStretch
|
||||
\XESPDfontIIsize\selectfont\XESPDfontShape}
|
||||
\newcommand{\XESPDfontIII}{%
|
||||
\XESPDfontSetBaseLineStretch
|
||||
\XESPDfontIIIsize\selectfont\XESPDfontShape}
|
||||
\newcommand{\XESPDfontIV}{%
|
||||
\XESPDfontSetBaseLineStretch
|
||||
\XESPDfontIVsize\selectfont\XESPDfontShape}
|
||||
\newcommand{\XESPDfontV}{%
|
||||
\XESPDfontSetBaseLineStretch
|
||||
\XESPDfontVsize\selectfont\XESPDfontShape}
|
||||
\newcommand{\XESPDfontVII}{%
|
||||
\XESPDfontSetBaseLineStretch
|
||||
\XESPDfontVIIsize\selectfont\XESPDfontShape}
|
||||
\newcommand{\XESPDfontX}{%
|
||||
\XESPDfontSetBaseLineStretch
|
||||
\XESPDfontXsize\selectfont\XESPDfontShape}
|
||||
|
||||
\RequirePackage{ifxetex}
|
||||
\ifxetex
|
||||
\newfontfamily\gostafont{GOST A}
|
||||
\newcommand{\XESPDfontGostIII}{%
|
||||
\XESPDfontSetBaseLineStretch\XESPDfontIIIsize\gostafont}
|
||||
\newcommand{\XESPDfontGostIV}{%
|
||||
\XESPDfontSetBaseLineStretch\XESPDfontIVsize\gostafont}
|
||||
\setsansfont[Mapping=tex-text]{Arial}
|
||||
\setromanfont[Mapping=tex-text]{XITS}
|
||||
\setmainfont[Ligatures=TeX]{Times New Roman}
|
||||
\newfontfamily\cyrillicfont{Times New Roman}[Script=Cyrillic]
|
||||
\setmonofont[Mapping=tex-text]{Pragmata Pro Mono}
|
||||
\newfontfamily\listingsfont{Pragmata Pro Mono Bold}
|
||||
\newfontfamily\listingsfontinline{Pragmata Pro Mono Bold}
|
||||
\RequirePackage{amsmath}
|
||||
\DeclareSymbolFont{letters}{\encodingdefault}{\rmdefault}{m}{it}
|
||||
\usepackage{unicode-math}
|
||||
\setmathfont{XITS Math}
|
||||
\usepackage[T2A]{fontenc}
|
||||
\else
|
||||
\RequirePackage[T2A]{fontenc}
|
||||
\RequirePackage{mathptmx}
|
||||
\RequirePackage{gostfont}
|
||||
\RequirePackage[defaultroman]{mstimes}
|
||||
\RequirePackage[defaultsans]{msarial}
|
||||
\RequirePackage[defaultmono]{pragmatapro}
|
||||
\newcommand{\XESPDfontGostIII}{%
|
||||
\XESPDfontSetBaseLineStretch
|
||||
\XESPDfontIIIsize\selectfont\GostBFont}
|
||||
\newcommand{\XESPDfontGostIV}{%
|
||||
\XESPDfontSetBaseLineStretch
|
||||
\XESPDfontIVsize\selectfont\GostBFont}
|
||||
\fi
|
||||
|
||||
\newcommand{\XESPDfontTabHead}{\XESPDfontV}
|
||||
\newcommand{\XESPDfontTabBody}{\XESPDfontV}
|
||||
|
@ -20,7 +20,7 @@
|
||||
%
|
||||
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{espdfootnote}[2010/01/14 v0.98 Footnote Settings]
|
||||
\ProvidesPackage{xespdfootnote}[2010/01/14 v0.98 Footnote Settings]
|
||||
|
||||
% Нумероваться сноски должны в пределах одной страницы.
|
||||
% Самое очевидное решение - переподчинить счетчик footnote счетчику page,
|
||||
@ -29,7 +29,7 @@
|
||||
% Эту проблему решил Обердайк в своем пакете zref
|
||||
|
||||
% пакет amsmath должен быть загружен ПЕРЕД zref
|
||||
% возможно стоит загружать его в классе espdtext
|
||||
% возможно стоит загружать его в классе xespdtext
|
||||
% а не здесь
|
||||
\RequirePackage{amsmath}
|
||||
\RequirePackage{zref-perpage}
|
||||
@ -39,7 +39,7 @@
|
||||
|
||||
\let\footnotesize\small
|
||||
|
||||
% Нижеследующая строка была взята из espddstu.sty.
|
||||
% Нижеследующая строка была взята из xespddstu.sty.
|
||||
% Согласно ГОСT 2.105-95 после метки сноски должна быть закрывающая скобка.
|
||||
% Стандарт межгосударственный и данная строка будет более
|
||||
% уместно смотреться здесь
|
||||
@ -60,7 +60,7 @@
|
||||
\or**%
|
||||
\or***%
|
||||
\or****%
|
||||
\else\PackageError{espdfootnote}{Too many asterisks}%
|
||||
\else\PackageError{xespdfootnote}{Too many asterisks}%
|
||||
{GOST 2.105-95 does not recommend to use\MessageBreak
|
||||
more then 4 asterisks in footnotes.\MessageBreak
|
||||
Use 'footnotearabic' option in documentclass instead}%
|
58
xespdframe.sty
Normal file
58
xespdframe.sty
Normal file
@ -0,0 +1,58 @@
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{xespdframe}[2019/05/09 v0.98 Frame Page Style]
|
||||
|
||||
\RequirePackage{xespdstamp}
|
||||
\RequirePackage{calc}
|
||||
\RequirePackage{setspace}
|
||||
|
||||
\def\XESPD@frame@vt{%
|
||||
\setlength{\XESPD@tmpdimc}{%
|
||||
\XESPDframeY+\XESPDframeH-\XESPD@padding@v}}
|
||||
|
||||
\def\XESPD@frame@vb{%
|
||||
\setlength{\XESPD@tmpdimc}{%
|
||||
\XESPDframeY+\XESPD@padding@v-15mm}}
|
||||
|
||||
\def\XESPD@frame@hl{%
|
||||
\ifXESPD@twoside
|
||||
\ifodd\c@page\raggedright\else\raggedleft\fi
|
||||
\else\raggedright\fi}
|
||||
|
||||
\def\XESPD@frame@hr{%
|
||||
\ifXESPD@twoside
|
||||
\ifodd\c@page\raggedleft\else\raggedright\fi
|
||||
\else\raggedleft\fi}
|
||||
|
||||
\def\XESPD@frame@hc{\centering}
|
||||
|
||||
\let\XESPD@frame@ha\XESPD@frame@hc
|
||||
\let\XESPD@frame@va\XESPD@frame@vb
|
||||
|
||||
\DeclareOption{numbertop}{\let\XESPD@frame@va\XESPD@frame@vt}
|
||||
\DeclareOption{numberbottom}{\let\XESPD@frame@va\XESPD@frame@vb}
|
||||
\DeclareOption{numberleft}{\let\XESPD@frame@ha\XESPD@frame@hl}
|
||||
\DeclareOption{numbercenter}{\let\XESPD@frame@ha\XESPD@frame@hc}
|
||||
\DeclareOption{numberright}{\let\XESPD@frame@ha\XESPD@frame@hr}
|
||||
|
||||
\ProcessOptions\relax
|
||||
|
||||
% Колонтитул
|
||||
\newcommand{\XESPDdrawFramePageNumber}{
|
||||
\setlength{\XESPD@tmpdima}{\XESPDframeX+\XESPD@padding@h}
|
||||
\setlength{\XESPD@tmpdimb}{\XESPDframeW-2\XESPD@padding@h}
|
||||
\XESPD@frame@va
|
||||
\put(\XESPDltu{\XESPD@tmpdima},\XESPDltu{\XESPD@tmpdimc}){%
|
||||
\parbox[b][25mm][c]{\XESPD@tmpdimb}{%
|
||||
\begin{singlespace}
|
||||
\reset@font\normalsize
|
||||
\XESPD@frame@ha\thepage \\ \MakeUppercase\XESPDtheSignature
|
||||
\end{singlespace}}}}
|
||||
|
||||
\XESPDnewStyle{frame}{0mm}
|
||||
\XESPDputOnStyle{frame}{pagenumber}{\XESPDdrawFramePageNumber}
|
||||
\renewcommand{\XESPDdrawFrame}{}
|
||||
|
||||
\XESPDdefaultTitleStyle{title}
|
||||
\XESPDdefaultFirstStyle{frame}
|
||||
\XESPDdefaultStyle{frame}
|
||||
|
176
xespdfreesize.sty
Normal file
176
xespdfreesize.sty
Normal file
@ -0,0 +1,176 @@
|
||||
% 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.
|
||||
%
|
||||
|
||||
% Пакет предоставляет возможность вставки листа
|
||||
% почти любого размера (ограничения описаны в руководстве
|
||||
% пользователя xespdx):
|
||||
|
||||
|
||||
%
|
||||
% This is automaticaly generated file, do not edit it.
|
||||
%
|
||||
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{xespdfreesize}[2010/02/20 v0.98 Inserting Free Size Sheets]
|
||||
|
||||
\RequirePackage{xespdstamp}
|
||||
|
||||
% переключение размера возможно только в pdflatex.
|
||||
% Tем не менее, latex тоже сможет собрать такой документ,
|
||||
% но все большие страницы
|
||||
% обрежет по размерам формата, установленного в documentclass
|
||||
\RequirePackage{ifpdf}
|
||||
\ifpdf{}
|
||||
\else{\PackageWarningNoLine{xespdfreesize}
|
||||
{It's better to compile this document with pdflatex.\MessageBreak
|
||||
In DVI you will get only part of the inserted big sheet}}
|
||||
\fi
|
||||
|
||||
|
||||
|
||||
% в xespdstamp для ускорения отрисовки рамки применен \savebox
|
||||
% в нашем случае это неудобно, будем рисовать персонально
|
||||
% на каждой странице
|
||||
\newcommand{\XESPDdrawFrameFree}{%
|
||||
\put(\XESPDltu{\XESPDframeX},\XESPDltu{\XESPDframeY}){%
|
||||
\setlength{\unitlength}{1mm}%
|
||||
\begin{picture}(0,0)(0,0)
|
||||
\linethickness{\XESPDlineThick}
|
||||
\put(0,\XESPDltu{\XESPDframeH}){\line(1,0){\XESPDltu{\XESPDframeW}}}
|
||||
\put(0,0){\line(1,0){\XESPDltu{\XESPDframeW}}}
|
||||
\put(0,0){\line(0,1){\XESPDltu{\XESPDframeH}}}
|
||||
\put(\XESPDltu{\XESPDframeW},0){\line(0,1){\XESPDltu{\XESPDframeH}}}
|
||||
\end{picture}}}
|
||||
|
||||
% содержимое нестандартной графы 32 по умолчанию
|
||||
\newcommand\XESPDtheColumnXXXIIfree{\@nameuse{XESPDemptyFormatName}}
|
||||
|
||||
% определим нашу собственную нестандартную графу 32
|
||||
\newcommand{\XESPDdrawColumnXXXIIfree}{%
|
||||
\setlength{\XESPD@tmpdima}{\XESPDframeX+\XESPDframeW-50mm}%
|
||||
\setlength{\XESPD@tmpdimb}{\XESPDframeY-3.7mm}%
|
||||
\put(\XESPDltu{\XESPD@tmpdima},\XESPDltu{\XESPD@tmpdimb}){%
|
||||
\makebox[50mm][r]{\XESPDfontIII\XESPDtheColumnXXXIIfree}}}
|
||||
|
||||
|
||||
|
||||
% Определим новый стиль. Подробнее про определение своих стилей
|
||||
% можно прочитать в руководстве пользователя xespdx,
|
||||
% или заглянуть в xespdstamp.sty,
|
||||
% кусок оттуда был использован как основа для стиля freesize
|
||||
\XESPDnewStyle{freesize}{8mm}
|
||||
\XESPDputOnStyle{freesize}{frame}{\XESPDdrawFrameFree}
|
||||
\XESPDputOnStyle{freesize}{stamp}{\XESPDdrawStampIIa}
|
||||
\ifXESPD@enable@columns@xix
|
||||
\XESPDputOnStyle{freesize}{columnsxix}{\XESPDdrawColumnsXIX}
|
||||
\fi
|
||||
\ifXESPD@enable@column@xxvi
|
||||
\XESPDputOnStyle{freesize}{columnxxvi}{\XESPDdrawColumnXXVI}
|
||||
\fi
|
||||
\ifXESPD@enable@columns@xxvii
|
||||
\XESPDputOnStyle{freesize}{columnsxxvii}{\XESPDdrawColumnsXXVIIi}
|
||||
\fi
|
||||
\ifXESPD@enable@column@xxxi
|
||||
\XESPDputOnStyle{freesize}{columnxxxi}{\XESPDdrawColumnXXXI}
|
||||
\fi
|
||||
\ifXESPD@enable@column@xxxii
|
||||
% наша новая графа 32
|
||||
\XESPDputOnStyle{freesize}{columnxxxii}{\XESPDdrawColumnXXXIIfree}
|
||||
\fi
|
||||
\ifXESPD@enable@column@xxxiii
|
||||
\XESPDputOnStyle{freesize}{columnxxxiii}{\XESPDdrawColumnXXXIII}
|
||||
\fi
|
||||
\ifXESPD@enable@column@xxxiv
|
||||
\XESPDputOnStyle{freesize}{columnxxxiv}{\XESPDdrawColumnXXXIV}
|
||||
\fi
|
||||
\ifXESPD@zonelabels%
|
||||
\XESPDputOnStyle{freesize}{zonelabels}{\XESPDdrawZoneLabelsI}
|
||||
\fi
|
||||
|
||||
|
||||
% вспомогательные счетчики для записей в лог
|
||||
\newcounter{XESPD@free@sizepagebegin}
|
||||
\newcounter{XESPD@free@sizepageend}
|
||||
|
||||
% теперь самое сложное - сам переключатель
|
||||
\newcommand{\XESPDfreeSize}[3]{%
|
||||
\XESPDclearDoublePage%
|
||||
\setcounter{XESPD@free@sizepagebegin}{\value{page}}% запомним текущую страницу
|
||||
\pdfpagewidth=#1%
|
||||
\pdfpageheight=#2%
|
||||
\setlength{\XESPD@origin@y}{#2-1in}%
|
||||
\setlength{\XESPDframeW}{\pdfpagewidth-\XESPD@margin@si-\XESPD@margin@so}%
|
||||
\setlength{\XESPDframeH}{\pdfpageheight-\XESPD@margin@t-\XESPD@margin@b}%
|
||||
\XESPDstyle{freesize}%
|
||||
\expandafter{#3}%
|
||||
% зафиксируем факт вставки листа в \jobname.log
|
||||
\XESPDclearDoublePage%
|
||||
\renewcommand\XESPDtheColumnXXXIIfree{\@nameuse{XESPDemptyFormatName}}% сброс графы 32
|
||||
\setcounter{XESPD@free@sizepageend}{\value{page}}%
|
||||
\addtocounter{XESPD@free@sizepageend}{-1}%
|
||||
\ifthenelse{\value{XESPD@free@sizepagebegin}<\value{XESPD@free@sizepageend}}% латех начал новую страницу
|
||||
{\immediate\write0{xespdfreesize: sheet(s) with size (#1 x #2) inserted
|
||||
at page(s) \noexpand[\arabic{XESPD@free@sizepagebegin}%
|
||||
-\arabic{XESPD@free@sizepageend}\noexpand]}}
|
||||
{\immediate\write0{xespdfreesize: sheet(s) with size (#1 x #2) inserted
|
||||
at page(s) \noexpand[\arabic{XESPD@free@sizepageend}\noexpand]}}
|
||||
% теперь вернем всё как было до нас
|
||||
\setlength{\XESPD@origin@y}{\paperheight-1in}%
|
||||
\pdfpageheight=\paperheight%
|
||||
\pdfpagewidth=\paperwidth%
|
||||
\setlength{\XESPDframeW}{\paperwidth-\XESPD@margin@si-\XESPD@margin@so}%
|
||||
\setlength{\XESPDframeH}{\paperheight-\XESPD@margin@t-\XESPD@margin@b}%
|
||||
\XESPDstyle{\XESPD@default@style@other}%
|
||||
\newpage%
|
||||
}
|
||||
|
||||
|
||||
% Определим несколько готовых к употреблению форматов
|
||||
\newcommand{\XESPDlandscapeAIII}[1]{%
|
||||
\renewcommand\XESPDtheColumnXXXIIfree{\@nameuse{XESPDa3FormatName}}%
|
||||
\XESPDfreeSize{420mm}{297mm}{#1}}
|
||||
|
||||
\newcommand{\XESPDportraitAIII}[1]{%
|
||||
\renewcommand\XESPDtheColumnXXXIIfree{\@nameuse{XESPDa3FormatName}}%
|
||||
\XESPDfreeSize{297mm}{420mm}{#1}}
|
||||
|
||||
\newcommand{\XESPDlandscapeAII}[1]{%
|
||||
\renewcommand\XESPDtheColumnXXXIIfree{\@nameuse{XESPDa2FormatName}}%
|
||||
\XESPDfreeSize{594mm}{420mm}{#1}}
|
||||
|
||||
\newcommand{\XESPDportraitAII}[1]{%
|
||||
\renewcommand\XESPDtheColumnXXXIIfree{\@nameuse{XESPDa2FormatName}}%
|
||||
\XESPDfreeSize{420mm}{594mm}{#1}}
|
||||
|
||||
\newcommand{\XESPDlandscapeAI}[1]{%
|
||||
\renewcommand\XESPDtheColumnXXXIIfree{\@nameuse{XESPDa1FormatName}}%
|
||||
\XESPDfreeSize{841mm}{594mm}{#1}}
|
||||
|
||||
\newcommand{\XESPDportraitAI}[1]{%
|
||||
\renewcommand\XESPDtheColumnXXXIIfree{\@nameuse{XESPDa1FormatName}}%
|
||||
\XESPDfreeSize{594mm}{841mm}{#1}}
|
||||
|
||||
\newcommand{\XESPDlandscapeAZERO}[1]{%
|
||||
\renewcommand\XESPDtheColumnXXXIIfree{\@nameuse{XESPDa0FormatName}}%
|
||||
\XESPDfreeSize{1189mm}{841mm}{#1}}
|
||||
|
||||
\newcommand{\XESPDportraitAZERO}[1]{%
|
||||
\renewcommand\XESPDtheColumnXXXIIfree{\@nameuse{XESPDa0FormatName}}%
|
||||
\XESPDfreeSize{841mm}{1189mm}{#1}}
|
||||
|
||||
\newcommand{\XESPDlandscapeBanner}[1]{%
|
||||
% Пятиметровое полотно для подшивки гармошкой в обычную папку А4.
|
||||
% Просто для демонстрации
|
||||
\XESPDfreeSize{5000mm}{297mm}{#1}}
|
@ -20,33 +20,33 @@
|
||||
%
|
||||
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesClass{espdgraph}[2010/01/14 v0.98 Graphical Documentation]
|
||||
\ProvidesClass{xespdgraph}[2010/01/14 v0.98 Graphical Documentation]
|
||||
|
||||
\DeclareOption{russian}{\PassOptionsToPackage{\CurrentOption}{espdlang}}
|
||||
\DeclareOption{ukrainian}{\PassOptionsToPackage{\CurrentOption}{espdlang}}
|
||||
\DeclareOption{koi8-r}{\PassOptionsToPackage{\CurrentOption}{espdlang}}
|
||||
\DeclareOption{koi8-u}{\PassOptionsToPackage{\CurrentOption}{espdlang}}
|
||||
\DeclareOption{cp1251}{\PassOptionsToPackage{\CurrentOption}{espdlang}}
|
||||
\DeclareOption{iso8859-5}{\PassOptionsToPackage{\CurrentOption}{espdlang}}
|
||||
\DeclareOption{cp866}{\PassOptionsToPackage{\CurrentOption}{espdlang}}
|
||||
\DeclareOption{utf-8}{\PassOptionsToPackage{\CurrentOption}{espdlang}}
|
||||
\DeclareOption{utf8}{\PassOptionsToPackage{\CurrentOption}{espdlang}}
|
||||
\DeclareOption{russian}{\PassOptionsToPackage{\CurrentOption}{xespdlang}}
|
||||
\DeclareOption{ukrainian}{\PassOptionsToPackage{\CurrentOption}{xespdlang}}
|
||||
\DeclareOption{koi8-r}{\PassOptionsToPackage{\CurrentOption}{xespdlang}}
|
||||
\DeclareOption{koi8-u}{\PassOptionsToPackage{\CurrentOption}{xespdlang}}
|
||||
\DeclareOption{cp1251}{\PassOptionsToPackage{\CurrentOption}{xespdlang}}
|
||||
\DeclareOption{iso8859-5}{\PassOptionsToPackage{\CurrentOption}{xespdlang}}
|
||||
\DeclareOption{cp866}{\PassOptionsToPackage{\CurrentOption}{xespdlang}}
|
||||
\DeclareOption{utf-8}{\PassOptionsToPackage{\CurrentOption}{xespdlang}}
|
||||
\DeclareOption{utf8}{\PassOptionsToPackage{\CurrentOption}{xespdlang}}
|
||||
\DeclareOption{draft}{\PassOptionsToClass{\CurrentOption}{article}}
|
||||
\DeclareOption{twoside}{%
|
||||
\ClassError{espdgraph}{Two side printing is not allowed for
|
||||
\ClassError{xespdgraph}{Two side printing is not allowed for
|
||||
graphical documentation}{}}
|
||||
\DeclareOption{formII}{%
|
||||
\ClassError{espdgraph}{formII style is for textual documentation}{}}
|
||||
\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{espdstamp}}
|
||||
\ClassError{xespdgraph}{formII style is for textual documentation}{}}
|
||||
\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{xespdstamp}}
|
||||
|
||||
\ProcessOptions\relax
|
||||
|
||||
\LoadClass{article}
|
||||
\RequirePackage{espdlang}
|
||||
\RequirePackage[formI,columnxxvi,ignorestamp]{espdstamp}
|
||||
\RequirePackage{espdinfo}
|
||||
\RequirePackage{xespdlang}
|
||||
\RequirePackage[formI,columnxxvi,ignorestamp]{xespdstamp}
|
||||
\RequirePackage{xespdinfo}
|
||||
|
||||
\newenvironment{ESPDdrawing}{%
|
||||
\newenvironment{XESPDdrawing}{%
|
||||
\clearpage\mbox{}\strut\par\vspace{-\baselineskip}\vfill%
|
||||
\begin{center}}{\end{center}\vfill\clearpage}
|
||||
|
60
xespdhash.sty
Normal file
60
xespdhash.sty
Normal file
@ -0,0 +1,60 @@
|
||||
% 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{xespdhash}[2010/01/14 v0.98 Hash Routines]
|
||||
|
||||
\newcommand{\XESPD@hash@new}[1]{%
|
||||
\global\expandafter\newcount\csname XESPD@hash@c@#1\endcsname
|
||||
\global\csname XESPD@hash@c@#1\endcsname = 0
|
||||
\global\expandafter\newcount\csname XESPD@hash@p@#1\endcsname
|
||||
\global\csname XESPD@hash@p@#1\endcsname = 0\relax}
|
||||
|
||||
\newcommand{\XESPD@hash@set}[3]{%
|
||||
\expandafter\ifx\csname XESPD@hash@v@#1@#2\endcsname\relax
|
||||
\expandafter\gdef\csname XESPD@hash@k@#1@\expandafter\number\csname
|
||||
XESPD@hash@c@#1\endcsname\endcsname{#2}
|
||||
\expandafter\advance\csname XESPD@hash@c@#1\endcsname 1
|
||||
\fi
|
||||
\expandafter\gdef\csname XESPD@hash@v@#1@#2\endcsname{#3}}
|
||||
|
||||
\newcommand{\XESPD@hash@get}[2]{%
|
||||
\csname XESPD@hash@v@#1@#2\endcsname}
|
||||
|
||||
\newcommand{\XESPD@hash@reset}[1]{%
|
||||
\csname XESPD@hash@p@#1\endcsname = 0\relax}
|
||||
|
||||
\newcommand{\XESPD@hash@next@key}[1]{%
|
||||
\csname XESPD@hash@k@#1@\expandafter\number\csname
|
||||
XESPD@hash@p@#1\endcsname\endcsname
|
||||
\expandafter\advance\csname XESPD@hash@p@#1\endcsname 1\relax}
|
||||
|
||||
\newcommand{\XESPD@hash@next@value}[1]{%
|
||||
\csname XESPD@hash@v@#1@\csname XESPD@hash@k@#1@\expandafter\number\csname
|
||||
XESPD@hash@p@#1\endcsname\endcsname\endcsname
|
||||
\expandafter\advance\csname XESPD@hash@p@#1\endcsname 1\relax}
|
||||
|
||||
\newcommand{\XESPD@hash@count}[1]{%
|
||||
\expandafter\number\csname XESPD@hash@c@#1\endcsname}
|
||||
|
||||
\newcommand{\XESPD@hash@pos}[1]{%
|
||||
\expandafter\number\csname XESPD@hash@p@#1\endcsname}
|
||||
|
@ -20,7 +20,7 @@
|
||||
%
|
||||
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{espdindent}[2010/01/14 v0.98 Paragraph Indent]
|
||||
\ProvidesPackage{xespdindent}[2010/01/14 v0.98 Paragraph Indent]
|
||||
|
||||
\RequirePackage{indentfirst}
|
||||
\setlength{\parindent}{12.5mm}
|
122
xespdinfo.sty
Normal file
122
xespdinfo.sty
Normal file
@ -0,0 +1,122 @@
|
||||
% 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{xespdinfo}[2010/01/14 v0.98 Document Information]
|
||||
|
||||
\newcommand{\XESPDtheDepartment}{}
|
||||
\newcommand{\XESPDdepartment}[1]{\renewcommand{\XESPDtheDepartment}{#1}}
|
||||
|
||||
\newcommand{\XESPDtheCompany}{}
|
||||
\newcommand{\XESPDcompany}[1]{\renewcommand{\XESPDtheCompany}{#1}}
|
||||
|
||||
\newcommand{\XESPDtheClassCode}{}
|
||||
\newcommand{\XESPDclassCode}[1]{\renewcommand{\XESPDtheClassCode}{#1}}
|
||||
|
||||
\newcommand{\XESPDtheUnitName}{}
|
||||
\newcommand{\XESPDunitName}[1]{%
|
||||
\renewcommand{\XESPDtheUnitName}{#1}%
|
||||
\renewcommand{\@title}{#1}}
|
||||
\newcommand{\XESPDtheTitle}{\XESPDtheUnitName}
|
||||
\newcommand{\XESPDtitle}[1]{\XESPDunitName{#1}}
|
||||
\renewcommand{\title}[1]{\XESPDunitName{#1}}
|
||||
|
||||
\newcommand{\XESPDtheDocName}{}
|
||||
\newcommand{\XESPDdocName}[1]{\renewcommand{\XESPDtheDocName}{#1}}
|
||||
|
||||
\newcommand{\XESPDtheSignature}{}
|
||||
\newcommand{\XESPDsignature}[1]{\renewcommand{\XESPDtheSignature}{#1}}
|
||||
|
||||
\newcommand{\XESPDtheLetterI}{}
|
||||
\newcommand{\XESPDtheLetterII}{}
|
||||
\newcommand{\XESPDtheLetterIII}{}
|
||||
\newcommand{\XESPDletter}[3]{%
|
||||
\renewcommand{\XESPDtheLetterI}{#1}%
|
||||
\renewcommand{\XESPDtheLetterII}{#2}%
|
||||
\renewcommand{\XESPDtheLetterIII}{#3}}
|
||||
|
||||
\newcommand{\XESPDtheMaterial}{}
|
||||
\newcommand{\XESPDmaterial}[1]{%
|
||||
\renewcommand{\XESPDtheMaterial}{#1}}
|
||||
|
||||
\newcommand{\XESPDtheMass}{}
|
||||
\newcommand{\XESPDmass}[1]{%
|
||||
\renewcommand{\XESPDtheMass}{#1}}
|
||||
|
||||
\newcommand{\XESPDtheScale}{}
|
||||
\newcommand{\XESPDscale}[1]{%
|
||||
\renewcommand{\XESPDtheScale}{#1}}
|
||||
|
||||
\newcommand{\XESPDtheGroup}{}
|
||||
\newcommand{\XESPDgroup}[1]{\renewcommand{\XESPDtheGroup}{#1}}
|
||||
|
||||
\newcommand{\XESPDtheAuthor}{}
|
||||
\newcommand{\XESPDauthor}[1]{%
|
||||
\renewcommand{\XESPDtheAuthor}{#1}%
|
||||
\renewcommand{\@author}{#1}}
|
||||
\renewcommand{\author}[1]{\XESPDauthor{#1}}
|
||||
|
||||
\newcommand{\XESPDtheChecker}{}
|
||||
\newcommand{\XESPDchecker}[1]{\renewcommand{\XESPDtheChecker}{#1}}
|
||||
|
||||
\newcommand{\XESPDtheNormContr}{}
|
||||
\newcommand{\XESPDnormContr}[1]{\renewcommand{\XESPDtheNormContr}{#1}}
|
||||
|
||||
\newcommand{\XESPDtheApprovedBy}{}
|
||||
\newcommand{\XESPDapprovedBy}[1]{\renewcommand{\XESPDtheApprovedBy}{#1}}
|
||||
|
||||
\newcommand{\XESPDtheFileName}{}
|
||||
\newcommand{\XESPDfileName}[1]{\renewcommand{\XESPDtheFileName}{#1}}
|
||||
|
||||
\newcommand{\XESPDtheREVMBase}{}
|
||||
\newcommand{\XESPDREVMBase}[1]{\renewcommand{\XESPDtheREVMBase}{#1}}
|
||||
|
||||
\newcommand{\XESPDtheREVMType}{}
|
||||
\newcommand{\XESPDREVMType}[1]{\renewcommand{\XESPDtheREVMType}{#1}}
|
||||
|
||||
\newcommand{\XESPDtheYear}{\number\year}
|
||||
\newcommand{\XESPDtheMonth}{\number\month}
|
||||
\newcommand{\XESPDtheDay}{\number\day}
|
||||
\def\XESPD@set@date#1/#2/#3 enddate{%
|
||||
\renewcommand{\XESPDtheYear}{#1}%
|
||||
\renewcommand{\XESPDtheMonth}{#2}%
|
||||
\renewcommand{\XESPDtheDay}{#3}}
|
||||
\newcommand{\XESPDdate}[1]{%
|
||||
\XESPD@set@date #1 enddate%
|
||||
\renewcommand{\@date}{#1}}
|
||||
\renewcommand{\date}[1]{\XESPDdate{#1}}
|
||||
|
||||
\RequirePackage{xespdafterpkg}
|
||||
\RequirePackage{ifxetex}
|
||||
\XESPD@after@package{hyperref}{%
|
||||
\ifxetex
|
||||
\hypersetup{xetex,%
|
||||
breaklinks,pdftitle=\XESPDtheUnitName,%
|
||||
\XESPD@lang,unicode=true,pdfusetitle,bookmarks=true,%
|
||||
pdfsubject=\XESPDtheDocName,pdfauthor=\XESPDtheAuthor}
|
||||
\else
|
||||
\hypersetup{%
|
||||
breaklinks,pdftitle=\XESPDtheUnitName,%
|
||||
\XESPD@lang,unicode=true,pdfusetitle,bookmarks=true,%
|
||||
pdfsubject=\XESPDtheDocName,pdfauthor=\XESPDtheAuthor}
|
||||
\fi
|
||||
}
|
||||
|
@ -20,30 +20,40 @@
|
||||
%
|
||||
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{espdlang}[2010/01/14 v0.98 Language]
|
||||
\ProvidesPackage{xespdlang}[2010/01/14 v0.98 Language]
|
||||
|
||||
\newcommand{\ESPD@lang}{russian}
|
||||
\newcommand{\XESPD@lang}{russian}
|
||||
|
||||
\newif\ifESPD@given@encoding
|
||||
\ESPD@given@encodingfalse
|
||||
\newif\ifXESPD@given@encoding
|
||||
\XESPD@given@encodingfalse
|
||||
|
||||
\DeclareOption{russian}{\renewcommand{\ESPD@lang}{russian}}
|
||||
\DeclareOption{ukrainian}{\renewcommand{\ESPD@lang}{ukrainian}}
|
||||
\DeclareOption{russian}{\renewcommand{\XESPD@lang}{russian}}
|
||||
\DeclareOption{ukrainian}{\renewcommand{\XESPD@lang}{ukrainian}}
|
||||
\DeclareOption*{%
|
||||
\PassOptionsToPackage{\CurrentOption}{inputenc}%
|
||||
\ESPD@given@encodingtrue}
|
||||
\XESPD@given@encodingtrue}
|
||||
|
||||
\ProcessOptions\relax
|
||||
|
||||
\RequirePackage{csquotes}
|
||||
\RequirePackage{ifxetex}
|
||||
\ifxetex\RequirePackage{xecyr}
|
||||
\ifxetex
|
||||
\RequirePackage{textcase}
|
||||
\RequirePackage{xltxtra}
|
||||
\RequirePackage{xunicode}
|
||||
\RequirePackage{xecyr}
|
||||
\RequirePackage{polyglossia}
|
||||
\setmainlanguage{\XESPD@lang}
|
||||
\let\cyr\relax
|
||||
\setkeys{\XESPD@lang}{babelshorthands=true}
|
||||
\setotherlanguage{english}
|
||||
\else
|
||||
\ifESPD@given@encoding
|
||||
\RequirePackage{cmap}
|
||||
\ifXESPD@given@encoding
|
||||
\RequirePackage{inputenc}
|
||||
\fi
|
||||
\RequirePackage[T2A]{fontenc}
|
||||
\RequirePackage[\XESPD@lang]{babel}
|
||||
\fi
|
||||
|
||||
\RequirePackage[\ESPD@lang]{babel}
|
||||
\input{espd\ESPD@lang.def}
|
||||
\input{xespd\XESPD@lang.def}
|
||||
|
@ -20,9 +20,9 @@
|
||||
%
|
||||
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{espdlist}[2010/01/14 v0.98 List]
|
||||
\ProvidesPackage{xespdlist}[2010/01/14 v0.98 List]
|
||||
\RequirePackage{calc}
|
||||
\RequirePackage{enumitem}% убрать вертикальный отступ перед списками
|
||||
\RequirePackage{enumitem} % убрать вертикальный отступ перед списками
|
||||
|
||||
\setlist[itemize]{%
|
||||
topsep=0pt,
|
51
xespdpara.sty
Normal file
51
xespdpara.sty
Normal file
@ -0,0 +1,51 @@
|
||||
% 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{xespdpara}[2010/01/14 v0.98 Paragraphs]
|
||||
|
||||
\RequirePackage{xespdsect}
|
||||
|
||||
\newcommand{\XESPDparagraphAlign}{\XESPDsectAlignLeft}
|
||||
\newcommand{\XESPDsubparagraphAlign}{\XESPDsectAlignLeft}
|
||||
|
||||
\newcommand{\XESPDparagraphStyle}{\normalfont\normalsize\bfseries}
|
||||
\newcommand{\XESPDsubparagraphStyle}{\normalfont\normalsize\bfseries}
|
||||
|
||||
\newlength{\XESPDparagraphSkipBefore}
|
||||
\newlength{\XESPDparagraphSkipAfter}
|
||||
\setlength{\XESPDparagraphSkipBefore}{-15mm \@plus -3mm \@minus -2mm}
|
||||
\setlength{\XESPDparagraphSkipAfter}{15mm \@plus 1mm \@minus 2mm}
|
||||
\newlength{\XESPDsubparagraphSkipBefore}
|
||||
\newlength{\XESPDsubparagraphSkipAfter}
|
||||
\setlength{\XESPDsubparagraphSkipBefore}{-15mm \@plus -3mm \@minus -2mm}
|
||||
\setlength{\XESPDsubparagraphSkipAfter}{15mm \@plus 1mm \@minus 2mm}
|
||||
|
||||
\renewcommand\paragraph{\@startsection{paragraph}{4}{\parindent}%
|
||||
{\XESPDparagraphSkipBefore}%
|
||||
{\XESPDparagraphSkipAfter}%
|
||||
{\XESPDparagraphAlign\XESPDparagraphStyle}}
|
||||
\renewcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
|
||||
{\XESPDsubparagraphSkipBefore}%
|
||||
{\XESPDsubparagraphSkipAfter}%
|
||||
{\XESPDsubparagraphAlign\XESPDsubparagraphStyle}}
|
||||
|
75
xespdplain.sty
Normal file
75
xespdplain.sty
Normal file
@ -0,0 +1,75 @@
|
||||
% 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{xespdplain}[2011/05/09 v0.98 Plain Page Style]
|
||||
|
||||
\RequirePackage{xespdstamp}
|
||||
\RequirePackage{calc}
|
||||
\RequirePackage{setspace}
|
||||
|
||||
\def\XESPD@plain@vt{%
|
||||
\setlength{\XESPD@tmpdimc}{%
|
||||
\XESPDframeY+\XESPDframeH-\XESPD@padding@v}}
|
||||
|
||||
\def\XESPD@plain@vb{%
|
||||
\setlength{\XESPD@tmpdimc}{%
|
||||
\XESPDframeY+\XESPD@padding@v-15mm}}
|
||||
|
||||
\def\XESPD@plain@hl{%
|
||||
\ifXESPD@twoside
|
||||
\ifodd\c@page\raggedright\else\raggedleft\fi
|
||||
\else\raggedright\fi}
|
||||
|
||||
\def\XESPD@plain@hr{%
|
||||
\ifXESPD@twoside
|
||||
\ifodd\c@page\raggedleft\else\raggedright\fi
|
||||
\else\raggedleft\fi}
|
||||
|
||||
\def\XESPD@plain@hc{\centering}
|
||||
|
||||
\let\XESPD@plain@ha\XESPD@plain@hc
|
||||
\let\XESPD@plain@va\XESPD@plain@vb
|
||||
|
||||
\DeclareOption{numbertop}{\let\XESPD@plain@va\XESPD@plain@vt}
|
||||
\DeclareOption{numberbottom}{\let\XESPD@plain@va\XESPD@plain@vb}
|
||||
\DeclareOption{numberleft}{\let\XESPD@plain@ha\XESPD@plain@hl}
|
||||
\DeclareOption{numbercenter}{\let\XESPD@plain@ha\XESPD@plain@hc}
|
||||
\DeclareOption{numberright}{\let\XESPD@plain@ha\XESPD@plain@hr}
|
||||
|
||||
\ProcessOptions\relax
|
||||
|
||||
\newcommand{\XESPDdrawPlainPageNumber}{
|
||||
\setlength{\XESPD@tmpdima}{\XESPDframeX+\XESPD@padding@h}
|
||||
\setlength{\XESPD@tmpdimb}{\XESPDframeW-2\XESPD@padding@h}
|
||||
\XESPD@plain@va
|
||||
\put(\XESPDltu{\XESPD@tmpdima},\XESPDltu{\XESPD@tmpdimc}){%
|
||||
\parbox[b][15mm][c]{\XESPD@tmpdimb}{%
|
||||
\reset@font\normalsize\normalsfcodes
|
||||
\XESPD@plain@ha\thepage}}}
|
||||
|
||||
\XESPDnewStyle{plain}{0mm}
|
||||
\XESPDputOnStyle{plain}{pagenumber}{\XESPDdrawPlainPageNumber}
|
||||
|
||||
\XESPDdefaultTitleStyle{empty}
|
||||
\XESPDdefaultFirstStyle{plain}
|
||||
\XESPDdefaultStyle{plain}
|
||||
|
82
xespdprotocol.sty
Normal file
82
xespdprotocol.sty
Normal file
@ -0,0 +1,82 @@
|
||||
% 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{xespdplain}[2011/05/09 v0.98 Plain Page Style]
|
||||
|
||||
\RequirePackage{xespdstamp}
|
||||
\RequirePackage{setspace}
|
||||
\RequirePackage{calc}
|
||||
|
||||
\def\XESPD@plain@vt{%
|
||||
\setlength{\XESPD@tmpdimc}{%
|
||||
\XESPDframeY+\XESPDframeH-\XESPD@padding@v}}
|
||||
|
||||
\def\XESPD@plain@vb{%
|
||||
\setlength{\XESPD@tmpdimc}{%
|
||||
\XESPDframeY+\XESPD@padding@v-15mm}}
|
||||
|
||||
\def\XESPD@plain@hl{%
|
||||
\ifESPD@twoside
|
||||
\ifodd\c@page\raggedright\else\raggedleft\fi
|
||||
\else\raggedright\fi}
|
||||
|
||||
\def\XESPD@plain@hr{%
|
||||
\ifESPD@twoside
|
||||
\ifodd\c@page\raggedleft\else\raggedright\fi
|
||||
\else\raggedleft\fi}
|
||||
|
||||
\def\XESPD@plain@hc{\centering}
|
||||
|
||||
\let\XESPD@plain@ha\XESPD@plain@hc
|
||||
\let\XESPD@plain@va\XESPD@plain@vb
|
||||
|
||||
\DeclareOption{numbertop}{\let\XESPD@plain@va\XESPD@plain@vt}
|
||||
\DeclareOption{numberbottom}{\let\XESPD@plain@va\XESPD@plain@vb}
|
||||
\DeclareOption{numberleft}{\let\XESPD@plain@ha\XESPD@plain@hl}
|
||||
\DeclareOption{numbercenter}{\let\XESPD@plain@ha\XESPD@plain@hc}
|
||||
\DeclareOption{numberright}{\let\XESPD@plain@ha\XESPD@plain@hr}
|
||||
|
||||
\ProcessOptions\relax
|
||||
|
||||
\newcommand{\XESPDdrawPlainPageNumber}{
|
||||
\setlength{\XESPD@tmpdima}{\XESPDframeX+\XESPD@padding@h}
|
||||
\setlength{\XESPD@tmpdimb}{\XESPDframeW-2\XESPD@padding@h}
|
||||
\XESPD@plain@va
|
||||
\put(\XESPDltu{\XESPD@tmpdima},\XESPDltu{\XESPD@tmpdimc}){%
|
||||
\parbox[b][20mm][c]{\XESPD@tmpdimb}{%
|
||||
\begin{singlespace}
|
||||
\reset@font\normalsize
|
||||
\XESPD@plain@ha\thepage \\ \MakeUppercase\XESPDtheSignature
|
||||
\end{singlespace}}}}
|
||||
|
||||
\XESPDnewStyle{plain}{0mm}
|
||||
\XESPDputOnStyle{plain}{pagenumber}{\XESPDdrawPlainPageNumber}
|
||||
|
||||
\XESPDdefaultTitleStyle{empty}
|
||||
\XESPDdefaultFirstStyle{plain}
|
||||
\XESPDdefaultStyle{plain}
|
||||
|
||||
\renewcommand{\XESPDtheTitleFieldIII}{}
|
||||
\renewcommand{\XESPDtheTitleFieldVII}{}
|
||||
\renewcommand{\XESPDtheTitleFieldX}{}
|
||||
\renewcommand{\XESPDtheTitleFieldXI}{}
|
||||
|
92
xespdrtis.sty
Normal file
92
xespdrtis.sty
Normal file
@ -0,0 +1,92 @@
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{xespdrtis}[2018/09/30 v0.98 Document Information]
|
||||
|
||||
\RequirePackage{xespdinfo}
|
||||
\RequirePackage{xespdtitle}
|
||||
|
||||
\RequirePackage{calc}
|
||||
\RequirePackage{indentfirst}
|
||||
\RequirePackage[defaultlines=3,all]{nowidow}
|
||||
\RequirePackage{bookmark}
|
||||
|
||||
\RequirePackage{siunitx}
|
||||
\sisetup{range-phrase = \text{...}}
|
||||
\RequirePackage{physics}
|
||||
\RequirePackage{eqexpl}
|
||||
\eqexplSetIntro{где}
|
||||
|
||||
% Обязательно переносить при достижении полей
|
||||
\sloppy
|
||||
|
||||
% При переносе оставлять минимум 3 символа на первой строке и 3 на второй
|
||||
\renewcommand\russianhyphenmins{33}
|
||||
|
||||
% Обязательно (полуторный интервал)
|
||||
\linespread{1.5}
|
||||
|
||||
% Обязательно: отступ первой строки
|
||||
\setlength{\parindent}{12.5mm}
|
||||
|
||||
% Использовать для кавычек-ёлочек данные символы
|
||||
\renewcommand{\flqq}{«}
|
||||
\renewcommand{\frqq}{»}
|
||||
|
||||
\providecommand{\strong}[1]{\textbf{#1}}
|
||||
|
||||
\setlength{\XESPD@padding@h}{0mm}
|
||||
\setlength{\XESPD@padding@v}{5mm}
|
||||
|
||||
\newcounter{fontsnotfound}
|
||||
\newcommand{\iffontsexist}[3]{
|
||||
\setcounter{fontsnotfound}{0}
|
||||
\expandafter\forcsvlist\expandafter\checkfont\expandafter{#1}
|
||||
\ifnum\value{fontsnotfound}=0
|
||||
#2
|
||||
\else
|
||||
#3
|
||||
\fi
|
||||
}
|
||||
|
||||
%\XESPDdepartment{Ведомство}
|
||||
%\XESPDcompany{Предприятие}
|
||||
%\XESPDclassCode{Код по классификатору}
|
||||
%\XESPDtitleApprovedBy{Должность утверждающего}{Фам. утвер.}
|
||||
%\XESPDtitleAgreedBy{Должность первого согласовавшего}{Фам. первого согл.}
|
||||
%\XESPDtitleAgreedBy{Должность второго согласовавшего}{Фам. второго согл.}
|
||||
%\XESPDtitleAgreedBy{Должность третьего согласовавшего}{Фам. третьего согл.}
|
||||
%\XESPDtitleDesignedBy{Должность первого автора}{Фам. первого автора}
|
||||
%\XESPDtitleDesignedBy{Должность второго автора}{Фам. второго автора}
|
||||
|
||||
%\RequirePackage{forloop}
|
||||
%\RequirePackage{makecell}
|
||||
|
||||
%\newcount\lincnt
|
||||
%\long\def\addto#1#2{%
|
||||
% \expandafter\def\expandafter#1\expandafter{#1#2}}
|
||||
|
||||
%\def\changeSheetLine{}\lincnt=28 % Количество строк
|
||||
% \addto\changeSheetLine{ 1 & & Все & & & & \makecell{РЕВМ.57 \\ 1/2} & & & \makecell{20.04. \\ 17} \\ \hline}
|
||||
% \loop
|
||||
% \addto\changeSheetLine{& & & & & & & & & \\ \hline}
|
||||
% \advance\lincnt -1
|
||||
% \ifnum\lincnt>0
|
||||
% \repeat
|
||||
|
||||
\newcommand{\XESPDprintEmptyChangeSheet}{
|
||||
\renewcommand*{\arraystretch}{0.8}% Высота строк
|
||||
\begin{XESPDchangeSheet}
|
||||
\changeSheetLine
|
||||
\end{XESPDchangeSheet}}
|
||||
|
||||
%\RequirePackage{setspace}
|
||||
%\newcommand{\XESPDdrawPlainPageNumber}{
|
||||
% \setlength{\XESPD@tmpdima}{\XESPDframeX+\XESPD@padding@h}
|
||||
% \setlength{\XESPD@tmpdimb}{\XESPDframeW-2\XESPD@padding@h}
|
||||
% \XESPD@plain@va
|
||||
% \put(\XESPDltu{\XESPD@tmpdima},\XESPDltu{\XESPD@tmpdimc}){%
|
||||
% \parbox[b][15mm][c]{\XESPD@tmpdimb}{%
|
||||
% \begin{singlespace}
|
||||
% \reset@font\normalsize
|
||||
% \XESPD@plain@ha\thepage \\ \MakeUppercase\XESPDtheSignature
|
||||
% \end{singlespace}}}}
|
||||
|
@ -19,143 +19,148 @@
|
||||
% This is automaticaly generated file, do not edit it.
|
||||
%
|
||||
|
||||
\ProvidesFile{espdrussian.def}[2010/01/17 v0.98 Language File]
|
||||
\ProvidesFile{xespdrussian.def}[2010/01/17 v0.98 Language File]
|
||||
|
||||
\newcommand{\ESPDcolumnIVname}{%
|
||||
\newcommand{\XESPDcolumnIVname}{%
|
||||
\cyr\CYRL\cyri\cyrt.}
|
||||
\newcommand{\ESPDcolumnVname}{%
|
||||
\newcommand{\XESPDcolumnVname}{%
|
||||
\cyr\CYRM\cyra\cyrs\cyrs\cyra}
|
||||
\newcommand{\ESPDcolumnVIname}{%
|
||||
\newcommand{\XESPDcolumnVIname}{%
|
||||
\cyr\CYRM\cyra\cyrs\cyrsh\cyrt\cyra\cyrb}
|
||||
\newcommand{\ESPDcolumnVIIname}{%
|
||||
\newcommand{\XESPDcolumnVIIname}{%
|
||||
\cyr\CYRL\cyri\cyrs\cyrt}
|
||||
\newcommand{\ESPDcolumnVIItwosideName}{%
|
||||
\newcommand{\XESPDcolumnVIItwosideName}{%
|
||||
\cyr\CYRS\cyrt\cyrr.}
|
||||
\newcommand{\ESPDcolumnVIIIname}{%
|
||||
\newcommand{\XESPDcolumnVIIIname}{%
|
||||
\cyr\CYRL\cyri\cyrs\cyrt\cyro\cyrv}
|
||||
\newcommand{\ESPDcolumnVIIItwosideName}{%
|
||||
\newcommand{\XESPDcolumnVIIItwosideName}{%
|
||||
\cyr\CYRS\cyrt\cyrr\cyra\cyrn\cyri\cyrc}
|
||||
\newcommand{\ESPDcolumnXfIname}{%
|
||||
\newcommand{\XESPDcolumnXfIname}{%
|
||||
\cyr\CYRR\cyra\cyrz\cyrr\cyra\cyrb.}
|
||||
\newcommand{\ESPDcolumnXfIIname}{%
|
||||
\newcommand{\XESPDcolumnXfIIname}{%
|
||||
\cyr\CYRP\cyrr\cyro\cyrv.}
|
||||
\newcommand{\ESPDcolumnXfIIIname}{%
|
||||
\newcommand{\XESPDcolumnXfIIIname}{%
|
||||
\cyr\CYRT. \cyrk\cyro\cyrn\cyrt\cyrr.}
|
||||
\newcommand{\ESPDcolumnXfIVname}{}
|
||||
\newcommand{\ESPDcolumnXfVname}{%
|
||||
\newcommand{\XESPDcolumnXfIVname}{}
|
||||
\newcommand{\XESPDcolumnXfVname}{%
|
||||
\cyr\CYRN. \cyrk\cyro\cyrn\cyrt\cyrr.}
|
||||
\newcommand{\ESPDcolumnXfVIname}{%
|
||||
\newcommand{\XESPDcolumnXfVIname}{%
|
||||
\cyr\CYRU\cyrt\cyrv.}
|
||||
\newcommand{\ESPDcolumnXIVname}{%
|
||||
\newcommand{\XESPDcolumnXIVname}{%
|
||||
\cyr\CYRI\cyrz\cyrm.}
|
||||
\newcommand{\ESPDcolumnXVname}{%
|
||||
\newcommand{\XESPDcolumnXVname}{%
|
||||
\cyr\CYRL\cyri\cyrs\cyrt}
|
||||
\newcommand{\ESPDcolumnXVIname}{%
|
||||
\newcommand{\XESPDcolumnXVIname}{%
|
||||
\textnumero\ \cyr\cyrd\cyro\cyrk\cyru\cyrm.}
|
||||
\newcommand{\ESPDcolumnXVIIname}{%
|
||||
\newcommand{\XESPDcolumnXVIIname}{%
|
||||
\cyr\CYRP\cyro\cyrd\cyrp.}
|
||||
\newcommand{\ESPDcolumnXVIIIname}{%
|
||||
\newcommand{\XESPDcolumnXVIIIname}{%
|
||||
\cyr\CYRD\cyra\cyrt\cyra}
|
||||
\newcommand{\ESPDcolumnXIXname}{%
|
||||
\newcommand{\XESPDcolumnXIXname}{%
|
||||
\cyr\CYRI\cyrn\cyrv. \textnumero\ \cyrp\cyro\cyrd\cyrl.}
|
||||
\newcommand{\ESPDcolumnXXname}{%
|
||||
\newcommand{\XESPDcolumnXXname}{%
|
||||
\cyr\CYRP\cyro\cyrd\cyrp. \cyri\ \cyrd\cyra\cyrt\cyra}
|
||||
\newcommand{\ESPDcolumnXXIname}{%
|
||||
\newcommand{\XESPDcolumnXXIname}{%
|
||||
\cyr\CYRV\cyrz\cyra\cyrm. \cyri\cyrn\cyrv. \textnumero}
|
||||
\newcommand{\ESPDcolumnXXIIname}{%
|
||||
\newcommand{\XESPDcolumnXXIIname}{%
|
||||
\cyr\CYRI\cyrn\cyrv. \textnumero\ \cyrd\cyru\cyrb\cyrl.}
|
||||
\newcommand{\ESPDcolumnXXIIIname}{%
|
||||
\newcommand{\XESPDcolumnXXIIIname}{%
|
||||
\cyr\CYRP\cyro\cyrd\cyrp. \cyri\ \cyrd\cyra\cyrt\cyra}
|
||||
\newcommand{\ESPDcolumnXXIVname}{%
|
||||
\newcommand{\XESPDcolumnXXIVname}{%
|
||||
\cyr\CYRS\cyrp\cyrr\cyra\cyrv. \textnumero}
|
||||
\newcommand{\ESPDcolumnXXVname}{%
|
||||
\newcommand{\XESPDcolumnXXVname}{%
|
||||
\cyr\CYRP\cyre\cyrr\cyrv. \cyrp\cyrr\cyri\cyrm\cyre\cyrn.}
|
||||
\newcommand{\ESPDcolumnXXXIname}{%
|
||||
\newcommand{\XESPDcolumnXXXIname}{%
|
||||
\cyr\CYRK\cyro\cyrp\cyri\cyrr\cyro\cyrv\cyra\cyrl}
|
||||
\@namedef{ESPDa0FormatName}{%
|
||||
\@namedef{XESPDa0FormatName}{%
|
||||
\cyr\CYRF\cyro\cyrr\cyrm\cyra\cyrt\ \CYRA{}0}
|
||||
\@namedef{ESPDa1FormatName}{%
|
||||
\@namedef{XESPDa1FormatName}{%
|
||||
\cyr\CYRF\cyro\cyrr\cyrm\cyra\cyrt\ \CYRA{}1}
|
||||
\@namedef{ESPDa2FormatName}{%
|
||||
\@namedef{XESPDa2FormatName}{%
|
||||
\cyr\CYRF\cyro\cyrr\cyrm\cyra\cyrt\ \CYRA{}2}
|
||||
\@namedef{ESPDa3FormatName}{%
|
||||
\@namedef{XESPDa3FormatName}{%
|
||||
\cyr\CYRF\cyro\cyrr\cyrm\cyra\cyrt\ \CYRA{}3}
|
||||
\@namedef{ESPDa4FormatName}{%
|
||||
\@namedef{XESPDa4FormatName}{%
|
||||
\cyr\CYRF\cyro\cyrr\cyrm\cyra\cyrt\ \CYRA{}4}
|
||||
\@namedef{ESPDemptyFormatName}{%
|
||||
\@namedef{XESPDemptyFormatName}{%
|
||||
\cyr\CYRF\cyro\cyrr\cyrm\cyra\cyrt\ \ \ \ }
|
||||
\newcommand{\ESPDcolumnXXXIIIname}{%
|
||||
\newcommand{\XESPDcolumnXXXIIIname}{%
|
||||
\cyr\CYRZ\cyro\cyrn\cyra}
|
||||
|
||||
\newcommand{\ESPDagreedName}{%
|
||||
\newcommand{\XESPDagreedName}{%
|
||||
\cyr\CYRS\cyro\cyrg\cyrl\cyra\cyrs\cyro\cyrv\cyra\cyrn\cyro}
|
||||
\newcommand{\ESPDapprovingName}{%
|
||||
\newcommand{\XESPDapprovingName}{%
|
||||
\cyr\CYRU\cyrt\cyrv\cyre\cyrr\cyrzh\cyrd\cyra\cyryu}
|
||||
\newcommand{\ESPDapprovedName}{%
|
||||
\cyr\CYRU\CYRT\CYRV\CYRE\CYRR\CYRZH\CYRD\CYRE\CYRN}
|
||||
\newcommand{\ESPDapprovingSheetName}{%
|
||||
\newcommand{\XESPDapprovedName}{%
|
||||
\cyr\CYRU\cyrt\cyrv\cyre\cyrr\cyrzh\cyrd\cyre\cyrn}
|
||||
\newcommand{\XESPDapprovingSheetName}{%
|
||||
\cyr\CYRL\cyri\cyrs\cyrt\ %
|
||||
\cyru\cyrt\cyrv\cyre\cyrr\cyrzh\cyrd\cyre\cyrn\cyri\cyrya}
|
||||
|
||||
\newlength{\ESPDexplanWidth}
|
||||
\setlength{\ESPDexplanWidth}{1.8em}
|
||||
\newlength{\XESPDexplanWidth}
|
||||
\setlength{\XESPDexplanWidth}{1.8em}
|
||||
|
||||
\addto\captionsrussian{%
|
||||
\def\tablename{{\cyr\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyra}}%
|
||||
\def\figurename{{\cyr\CYRR\cyri\cyrs.}}%
|
||||
}
|
||||
|
||||
\newcommand{\ESPDspecColumnIname}{%
|
||||
\newcommand{\XESPDspecColumnIname}{%
|
||||
\cyr\CYRF\cyro\cyrr\cyrm\cyra\cyrt}
|
||||
\newcommand{\ESPDspecColumnIIname}{%
|
||||
\newcommand{\XESPDspecColumnIIname}{%
|
||||
\cyr\CYRZ\cyro\cyrn\cyra}
|
||||
\newcommand{\ESPDspecColumnIIIname}{%
|
||||
\newcommand{\XESPDspecColumnIIIname}{%
|
||||
\cyr\CYRP\cyro\cyrz.}
|
||||
\newcommand{\ESPDspecColumnIVname}{%
|
||||
\newcommand{\XESPDspecColumnIVname}{%
|
||||
\cyr\CYRO\cyrb\cyro\cyrz\cyrn\cyra\cyrch\cyre\cyrn\cyri\cyre}
|
||||
\newcommand{\ESPDspecColumnVname}{%
|
||||
\newcommand{\XESPDspecColumnVname}{%
|
||||
\cyr\CYRN\cyra\cyri\cyrm\cyre\cyrn\cyro\cyrv\cyra\cyrn\cyri\cyre}
|
||||
\newcommand{\ESPDspecColumnVIname}{%
|
||||
\newcommand{\XESPDspecColumnVIname}{%
|
||||
\cyr\CYRK\cyro\cyrl.}
|
||||
\newcommand{\ESPDspecColumnVIIname}{%
|
||||
\newcommand{\XESPDspecColumnVIIname}{%
|
||||
\cyr\CYRP\cyrr\cyri\cyrm\cyre\cyrch\cyra\cyrn\cyri\cyre}
|
||||
|
||||
\newcommand{\ESPDspecIIcolumnIname}{\ESPDspecColumnIname}
|
||||
\newcommand{\ESPDspecIIcolumnIIname}{\ESPDspecColumnIIname}
|
||||
\newcommand{\ESPDspecIIcolumnIIIname}{\ESPDspecColumnIIIname}
|
||||
\newcommand{\ESPDspecIIcolumnIVname}{\ESPDspecColumnIVname}
|
||||
\newcommand{\ESPDspecIIcolumnVname}{\ESPDspecColumnVname}
|
||||
\newcommand{\ESPDspecIIcolumnVIname}{\ESPDspecColumnVIname}
|
||||
\newcommand{\ESPDspecIIcolumnVIIname}{%
|
||||
\newcommand{\XESPDspecIIcolumnIname}{\XESPDspecColumnIname}
|
||||
\newcommand{\XESPDspecIIcolumnIIname}{\XESPDspecColumnIIname}
|
||||
\newcommand{\XESPDspecIIcolumnIIIname}{\XESPDspecColumnIIIname}
|
||||
\newcommand{\XESPDspecIIcolumnIVname}{\XESPDspecColumnIVname}
|
||||
\newcommand{\XESPDspecIIcolumnVname}{\XESPDspecColumnVname}
|
||||
\newcommand{\XESPDspecIIcolumnVIname}{\XESPDspecColumnVIname}
|
||||
\newcommand{\XESPDspecIIcolumnVIIname}{%
|
||||
\cyr\CYRM\cyra\cyrs\cyrs\cyra}
|
||||
\newcommand{\ESPDspecIIcolumnVIIIname}{%
|
||||
\newcommand{\XESPDspecIIcolumnVIIIname}{%
|
||||
\cyr\CYRM\cyra\cyrt\cyre\cyrr\cyri\cyra\cyrl}
|
||||
\newcommand{\ESPDspecIIcolumnIXname}{\ESPDspecColumnVIIname}
|
||||
\newcommand{\XESPDspecIIcolumnIXname}{\XESPDspecColumnVIIname}
|
||||
|
||||
\newcommand{\ESPDchangeSheetName}{%
|
||||
\newcommand{\XESPDchangeSheetName}{%
|
||||
\cyr\CYRL\cyri\cyrs\cyrt\ %
|
||||
\cyrr\cyre\cyrg\cyri\cyrs\cyrt\cyrr\cyra\cyrc\cyri\cyri\ %
|
||||
\cyri\cyrz\cyrm\cyre\cyrn\cyre\cyrn\cyri\cyrishrt}
|
||||
\newcommand{\ESPDchngColumnsIIhName}{%
|
||||
\newcommand{\XESPDchngColumnsIIhName}{%
|
||||
\cyr\CYRN\cyro\cyrm\cyre\cyrr\cyra\ \cyrl\cyri\cyrs\cyrt\cyro\cyrv\ %
|
||||
(\cyrs\cyrt\cyrr\cyra\cyrn\cyri\cyrc)}
|
||||
\newcommand{\ESPDchngColumnIIname}{%
|
||||
\newcommand{\XESPDchngColumnIIname}{%
|
||||
\cyr\cyri\cyrz\-\cyrm\cyre\-\cyrn\cyre\cyrn\-\cyrn\cyrery\cyrh}
|
||||
\newcommand{\ESPDchngColumnIIIname}{%
|
||||
\newcommand{\XESPDchngColumnIIIname}{%
|
||||
\cyr\cyrz\cyra\-\cyrm\cyre\-\cyrn\cyre\cyrn\-\cyrn\cyrery\cyrh}
|
||||
\newcommand{\ESPDchngColumnIVname}{%
|
||||
\newcommand{\XESPDchngColumnIVname}{%
|
||||
\cyr\cyrn\cyro\-\cyrv\cyrery\cyrh}
|
||||
\newcommand{\ESPDchngColumnVname}{%
|
||||
\newcommand{\XESPDchngColumnVname}{%
|
||||
\cyr\cyra\cyrn\-\cyrn\cyru\-\cyrl\cyri\-\cyrr\cyro\-\cyrv\cyra\cyrn\-%
|
||||
\cyrn\cyrery\cyrh}
|
||||
\newcommand{\ESPDchngColumnVIname}{%
|
||||
\newcommand{\XESPDchngColumnVIname}{%
|
||||
\cyr\CYRV\cyrs\cyre\cyrg\cyro\ \cyrl\cyri\cyrs\cyrt\cyro\cyrv\ %
|
||||
(\cyrs\cyrt\cyrr\cyra\cyrn\cyri\cyrc) \cyrv\ \cyrd\cyro\cyrk\cyru\cyrm.}
|
||||
\newcommand{\ESPDchngColumnVIIIname}{%
|
||||
\newcommand{\XESPDchngColumnVIIIname}{%
|
||||
\cyr\CYRV\cyrh\cyro\cyrd\cyrya\cyrshch\cyri\cyrishrt\ \textnumero\ %
|
||||
\cyrs\cyro\cyrp\cyrr\cyro\cyrv\cyro\cyrd\cyri\cyrt\cyre\cyrl\cyrsftsn
|
||||
\cyrn\cyro\cyrg\cyro\ \cyrd\cyro\cyrk\cyru\cyrm. \cyri\ %
|
||||
\cyrd\cyra\cyrt\cyra}
|
||||
\newcommand{\XESPDforewordName}{%
|
||||
\cyr\CYRV\cyrv\cyre\cyrd\cyre\cyrn\cyri\cyre}
|
||||
\newcommand{\XESPDabbreviationsListName}{%
|
||||
\cyr\CYRP\cyre\cyrr\cyre\cyrch\cyre\cyrn\cyrsftsn\ %
|
||||
\cyrs\cyro\cyrk\cyrr\cyra\cyrshch\cyre\cyrn\cyri\cyrishrt}
|
||||
|
||||
\def\@Asbuk#1{\ifcase#1\or
|
||||
\CYRA\or\CYRB\or\CYRV\or\CYRG\or\CYRD\or\CYRE\or\CYRZH\or
|
@ -1,4 +1,4 @@
|
||||
% Copyright 20.45 Konstantin Korikov <lostclus@ua.fm>
|
||||
% 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
|
||||
@ -20,14 +20,14 @@
|
||||
%
|
||||
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{espdsect}[2010/01/14 v0.98 Sectioning]
|
||||
\ProvidesPackage{xespdsect}[2010/01/14 v0.98 Sectioning]
|
||||
\RequirePackage{calc}
|
||||
|
||||
\newcommand{\ESPD@point@style}{single}
|
||||
\newcommand{\XESPD@point@style}{single}
|
||||
|
||||
\DeclareOption{pointsingle}{\renewcommand{\ESPD@point@style}{single}}
|
||||
\DeclareOption{pointsection}{\renewcommand{\ESPD@point@style}{section}}
|
||||
\DeclareOption{pointsubsection}{\renewcommand{\ESPD@point@style}{subsection}}
|
||||
\DeclareOption{pointsingle}{\renewcommand{\XESPD@point@style}{single}}
|
||||
\DeclareOption{pointsection}{\renewcommand{\XESPD@point@style}{section}}
|
||||
\DeclareOption{pointsubsection}{\renewcommand{\XESPD@point@style}{subsection}}
|
||||
|
||||
\ProcessOptions\relax
|
||||
|
||||
@ -51,64 +51,64 @@
|
||||
{\@ssect{#3}{#4}{#5}{#6}}%
|
||||
{\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}}
|
||||
|
||||
\newcommand{\ESPDsectAlignLeft}{%
|
||||
\newcommand{\XESPDsectAlignLeft}{%
|
||||
\let\\\@centercr\@rightskip\@flushglue \rightskip\@rightskip%
|
||||
\leftskip\z@skip}
|
||||
\newcommand{\ESPDsectAlignRight}{%
|
||||
\newcommand{\XESPDsectAlignRight}{%
|
||||
\let\\\@centercr\rightskip\z@skip\leftskip\@flushglue
|
||||
\parindent\z@\parfillskip\z@skip}
|
||||
\newcommand{\ESPDsectAlignCenter}{%
|
||||
\newcommand{\XESPDsectAlignCenter}{%
|
||||
\let\\\@centercr
|
||||
\rightskip\@flushglue\leftskip\@flushglue
|
||||
\parindent\z@\parfillskip\z@skip}
|
||||
|
||||
\newcommand{\ESPDsectionAlign}{\ESPDsectAlignLeft}
|
||||
\newcommand{\ESPDsubsectionAlign}{\ESPDsectAlignLeft}
|
||||
\newcommand{\ESPDsubsubsectionAlign}{\ESPDsectAlignLeft}
|
||||
\newcommand{\XESPDsectionAlign}{\XESPDsectAlignLeft}
|
||||
\newcommand{\XESPDsubsectionAlign}{\XESPDsectAlignLeft}
|
||||
\newcommand{\XESPDsubsubsectionAlign}{\XESPDsectAlignLeft}
|
||||
|
||||
\newcommand{\ESPDsectAlign}[2]{%
|
||||
\expandafter\renewcommand\csname\string ESPD#1Align\endcsname{%
|
||||
\@nameuse{ESPDsectAlign#2}}}
|
||||
\newcommand{\XESPDsectAlign}[2]{%
|
||||
\expandafter\renewcommand\csname\string XESPD#1Align\endcsname{%
|
||||
\@nameuse{XESPDsectAlign#2}}}
|
||||
|
||||
\newcommand{\ESPDsectionStyle}{\normalfont\normalsize\MakeUppercase}
|
||||
\newcommand{\ESPDsubsectionStyle}{\normalfont\normalsize}
|
||||
\newcommand{\ESPDsubsubsectionStyle}{\normalfont\normalsize}
|
||||
\newcommand{\XESPDsectionStyle}{\normalfont\normalsize\MakeUppercase}
|
||||
\newcommand{\XESPDsubsectionStyle}{\normalfont\normalsize}
|
||||
\newcommand{\XESPDsubsubsectionStyle}{\normalfont\normalsize}
|
||||
|
||||
\newcommand{\ESPDsectStyle}[2]{%
|
||||
\expandafter\renewcommand\csname\string ESPD#1Style\endcsname{#2}}
|
||||
\newcommand{\XESPDsectStyle}[2]{%
|
||||
\expandafter\renewcommand\csname\string XESPD#1Style\endcsname{#2}}
|
||||
|
||||
\newlength{\ESPDsectionSkipBefore}
|
||||
\newlength{\ESPDsectionSkipAfter}
|
||||
\setlength{\ESPDsectionSkipBefore}{-5mm \@plus -3mm \@minus -2mm}
|
||||
\setlength{\ESPDsectionSkipAfter}{5mm \@plus 1mm \@minus 2mm}
|
||||
\newlength{\ESPDsubsectionSkipBefore}
|
||||
\newlength{\ESPDsubsectionSkipAfter}
|
||||
\setlength{\ESPDsubsectionSkipBefore}{-6pt \@plus -0mm \@minus -0mm}
|
||||
\setlength{\ESPDsubsectionSkipAfter}{6pt \@plus 0mm \@minus 0mm}
|
||||
\newlength{\ESPDsubsubsectionSkipBefore}
|
||||
\newlength{\ESPDsubsubsectionSkipAfter}
|
||||
\setlength{\ESPDsubsubsectionSkipBefore}{-6pt \@plus -0mm \@minus -0mm}
|
||||
\setlength{\ESPDsubsubsectionSkipAfter}{6pt \@plus 0mm \@minus 0mm}
|
||||
\newlength{\XESPDsectionSkipBefore}
|
||||
\newlength{\XESPDsectionSkipAfter}
|
||||
\setlength{\XESPDsectionSkipBefore}{-5mm \@plus -3mm \@minus -2mm}
|
||||
\setlength{\XESPDsectionSkipAfter}{5mm \@plus 1mm \@minus 2mm}
|
||||
\newlength{\XESPDsubsectionSkipBefore}
|
||||
\newlength{\XESPDsubsectionSkipAfter}
|
||||
\setlength{\XESPDsubsectionSkipBefore}{-6pt \@plus -0mm \@minus -0mm}
|
||||
\setlength{\XESPDsubsectionSkipAfter}{6pt \@plus 0mm \@minus 0mm}
|
||||
\newlength{\XESPDsubsubsectionSkipBefore}
|
||||
\newlength{\XESPDsubsubsectionSkipAfter}
|
||||
\setlength{\XESPDsubsubsectionSkipBefore}{-6pt \@plus -0mm \@minus -0mm}
|
||||
\setlength{\XESPDsubsubsectionSkipAfter}{6pt \@plus 0mm \@minus 0mm}
|
||||
|
||||
\providecommand{\plus}{\@plus}
|
||||
\providecommand{\minus}{\@minus}
|
||||
|
||||
\newcommand{\ESPDsectSkip}[3]{%
|
||||
\expandafter\setlength\csname\string ESPD#1SkipBefore\endcsname{#2}%
|
||||
\expandafter\setlength\csname\string ESPD#1SkipAfter\endcsname{#3}}
|
||||
\newcommand{\XESPDsectSkip}[3]{%
|
||||
\expandafter\setlength\csname\string XESPD#1SkipBefore\endcsname{#2}%
|
||||
\expandafter\setlength\csname\string XESPD#1SkipAfter\endcsname{#3}}
|
||||
|
||||
\renewcommand\section{\@startsection {section}{1}{\parindent}%
|
||||
{\ESPDsectionSkipBefore}%
|
||||
{\ESPDsectionSkipAfter}%
|
||||
{\ESPDsectionAlign\ESPDsectionStyle}}
|
||||
{\XESPDsectionSkipBefore}%
|
||||
{\XESPDsectionSkipAfter}%
|
||||
{\XESPDsectionAlign\XESPDsectionStyle}}
|
||||
\renewcommand\subsection{\@startsection{subsection}{2}{\parindent}%
|
||||
{\ESPDsubsectionSkipBefore}%
|
||||
{\ESPDsubsectionSkipAfter}%
|
||||
{\ESPDsubsectionAlign\ESPDsubsectionStyle}}
|
||||
{\XESPDsubsectionSkipBefore}%
|
||||
{\XESPDsubsectionSkipAfter}%
|
||||
{\XESPDsubsectionAlign\XESPDsubsectionStyle}}
|
||||
\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\parindent}%
|
||||
{\ESPDsubsubsectionSkipBefore}%
|
||||
{\ESPDsubsubsectionSkipAfter}%
|
||||
{\ESPDsubsubsectionAlign\ESPDsubsubsectionStyle}}
|
||||
{\XESPDsubsubsectionSkipBefore}%
|
||||
{\XESPDsubsubsectionSkipAfter}%
|
||||
{\XESPDsubsubsectionAlign\XESPDsubsubsectionStyle}}
|
||||
|
||||
\let\oldsection\section
|
||||
\renewcommand\section{\clearpage\oldsection}
|
||||
@ -116,26 +116,26 @@
|
||||
\renewcommand{\thesection}{\arabic{section}}
|
||||
\renewcommand{\thesubsection}{\thesection.\arabic{subsection}}
|
||||
\renewcommand{\thesubsubsection}{\thesubsection.\arabic{subsubsection}}
|
||||
\newif\ifESPD@point@style@single
|
||||
\ESPD@point@style@singlefalse
|
||||
\newif\ifXESPD@point@style@single
|
||||
\XESPD@point@style@singlefalse
|
||||
|
||||
\newcommand{\ESPD@point@style@single}{
|
||||
\newcommand{\XESPD@point@style@single}{
|
||||
\newcounter{point}
|
||||
\renewcommand{\thepoint}{\arabic{point}}
|
||||
\newcommand{\theHpoint}{\arabic{point}}
|
||||
\ESPD@point@style@singletrue}
|
||||
\XESPD@point@style@singletrue}
|
||||
|
||||
\newcommand{\ESPD@point@style@section}{
|
||||
\newcommand{\XESPD@point@style@section}{
|
||||
\newcounter{point}[section]
|
||||
\renewcommand{\thepoint}{\thesection.\arabic{point}}
|
||||
\newcommand{\theHpoint}{\theHsection.\arabic{point}}}
|
||||
|
||||
\newcommand{\ESPD@point@style@subsection}{
|
||||
\newcommand{\XESPD@point@style@subsection}{
|
||||
\newcounter{point}[subsection]
|
||||
\renewcommand{\thepoint}{\thesubsection.\arabic{point}}
|
||||
\newcommand{\theHpoint}{\theHsubsection.\arabic{point}}}
|
||||
|
||||
\@nameuse{ESPD@point@style@\ESPD@point@style}
|
||||
\@nameuse{XESPD@point@style@\XESPD@point@style}
|
||||
\newcounter{subpoint}[point]
|
||||
\newcounter{subsubpoint}[subpoint]
|
||||
\renewcommand{\thesubpoint}{\thepoint.\arabic{subpoint}}
|
||||
@ -150,46 +150,23 @@
|
||||
\newcommand{\subsubpoint}{%
|
||||
\par\refstepcounter{subsubpoint}\thesubsubpoint\hspace{0.45em}}
|
||||
|
||||
\newcommand{\XESPDforeword}{\section*{\MakeTextUppercase{\XESPDforewordName{}}}}
|
||||
|
||||
\newcounter{pointII}[section]
|
||||
\newcounter{pointIII}[subsection]
|
||||
\newcounter{pointIV}[subsubsection]
|
||||
|
||||
\renewcommand{\thepointII}{\thesection.\arabic{pointII}}
|
||||
\renewcommand{\thepointIII}{\thesubsection.\arabic{pointIII}}
|
||||
\renewcommand{\thepointIV}{\thesubsubsection.\arabic{pointIV}}
|
||||
|
||||
\newcommand{\pointII}{%
|
||||
\par\refstepcounter{pointII}\thepointII.\hspace{0.45em}}
|
||||
\newcommand{\pointIII}{%
|
||||
\par\refstepcounter{pointIII}\thepointIII.\hspace{0.45em}}
|
||||
\newcommand{\pointIV}{%
|
||||
\par\refstepcounter{pointIV}\thepointIV.\hspace{0.45em}}
|
||||
|
||||
\newcounter{subpointIII}[pointII]
|
||||
\newcounter{subpointIV}[pointIII]
|
||||
|
||||
\renewcommand{\thesubpointIII}{\thepointII.\arabic{subpointIII}}
|
||||
\renewcommand{\thesubpointIV}{\thepointIII.\arabic{subpointIV}}
|
||||
|
||||
\newcommand{\subpointIII}{%
|
||||
\par\refstepcounter{subpointIII}\thesubpointIII.\hspace{0.45em}}
|
||||
\newcommand{\subpointIV}{%
|
||||
\par\refstepcounter{subpointIV}\thesubpointIV.\hspace{0.45em}}
|
||||
|
||||
|
||||
|
||||
\newcommand{\XESPDabbreviationsList}{
|
||||
\section*{\MakeUppercase{\XESPDabbreviationsListName{}}}
|
||||
\pdfbookmark[1]{\XESPDabbreviationsListName{}}{toc}
|
||||
\addcontentsline{toc}{section}{\XESPDabbreviationsListName{}}}
|
||||
|
||||
\newcounter{appendix}
|
||||
\renewcommand{\theappendix}{\Asbuk{appendix}}
|
||||
\newlength{\ESPDappendixSkip}
|
||||
\setlength{\ESPDappendixSkip}{15mm \@plus 3mm \@minus 10mm}
|
||||
\newlength{\XESPDappendixSkip}
|
||||
\setlength{\XESPDappendixSkip}{15mm \@plus 3mm \@minus 10mm}
|
||||
|
||||
\newcommand{\ESPDappendix}[2]{%
|
||||
\ESPDclearDoublePage%
|
||||
\newcommand{\XESPDappendix}[2]{%
|
||||
\XESPDclearDoublePage%
|
||||
\refstepcounter{appendix}%
|
||||
\setcounter{point}{0}%
|
||||
\ifESPD@point@style@single%
|
||||
\ifXESPD@point@style@single%
|
||||
\renewcommand{\thepoint}{\theappendix.\arabic{point}}%
|
||||
\fi
|
||||
\setcounter{section}{0}%
|
||||
@ -215,11 +192,11 @@
|
||||
\ifx#1\@empty\else\\(#1)\fi\\
|
||||
\item\centering\bf #2
|
||||
\end{list}%
|
||||
\par\nobreak\addvspace{\ESPDappendixSkip}}
|
||||
\par\nobreak\addvspace{\XESPDappendixSkip}}
|
||||
|
||||
%\renewcommand\tableofcontents{%
|
||||
% \begingroup
|
||||
% \ESPDsectAlign{section}{Center}
|
||||
% \XESPDsectAlign{section}{Center}
|
||||
% \section*{\contentsname
|
||||
% \@mkboth{%
|
||||
% \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
|
||||
@ -228,7 +205,7 @@
|
||||
|
||||
\RequirePackage[style]{abstract}
|
||||
\renewcommand{\abstitlestyle}[1]{\center\normalsize\MakeUppercase #1}
|
||||
\ESPDsectAlign{section}{Center}
|
||||
\XESPDsectAlign{section}{Center}
|
||||
|
||||
\makeatletter
|
||||
\renewcommand*{\@seccntformat}[1]{\csname the#1\endcsname.\hspace{0.45em}}
|
93
xespdspec.sty
Normal file
93
xespdspec.sty
Normal file
@ -0,0 +1,93 @@
|
||||
% 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{xespdspec}[2010/01/14 v0.98 Specification GOST 2.106.95]
|
||||
|
||||
\RequirePackage{xespdlang}
|
||||
\RequirePackage{xespdstamp}
|
||||
\RequirePackage{rotating}
|
||||
\RequirePackage{array}
|
||||
\RequirePackage{longtable}
|
||||
|
||||
\newcommand{\XESPDdrawSpecification}{
|
||||
\put(\XESPDltu{\XESPDframeX},\XESPDltu{\XESPDframeY}){%
|
||||
\begin{picture}(0,0)
|
||||
\XESPD@tmpdimb=\XESPDframeH
|
||||
\XESPD@tmpdima=\XESPD@style@sh@formII
|
||||
\XESPD@tmpdimc=8mm
|
||||
\advance\XESPD@tmpdimb -\XESPD@tmpdima
|
||||
\advance\XESPD@tmpdimb -15mm
|
||||
\divide\XESPD@tmpdimb by \XESPD@tmpdimc
|
||||
\XESPD@tmpcnta=\XESPD@tmpdimb
|
||||
\XESPD@tmpdimb=\XESPD@tmpdimc
|
||||
\multiply\XESPD@tmpdimb by \XESPD@tmpcnta
|
||||
\advance\XESPD@tmpdimb 15mm
|
||||
\XESPD@tmpdima=\XESPDframeH
|
||||
\advance\XESPD@tmpdima -\XESPD@tmpdimb
|
||||
\linethickness{\XESPDlineThick}
|
||||
\put(6,\XESPDltu{\XESPD@tmpdima}){\line(0,1){\XESPDltu{\XESPD@tmpdimb}}}
|
||||
\put(12,\XESPDltu{\XESPD@tmpdima}){\line(0,1){\XESPDltu{\XESPD@tmpdimb}}}
|
||||
\put(20,\XESPDltu{\XESPD@tmpdima}){\line(0,1){\XESPDltu{\XESPD@tmpdimb}}}
|
||||
\put(90,\XESPDltu{\XESPD@tmpdima}){\line(0,1){\XESPDltu{\XESPD@tmpdimb}}}
|
||||
\put(153,\XESPDltu{\XESPD@tmpdima}){\line(0,1){\XESPDltu{\XESPD@tmpdimb}}}
|
||||
\put(163,\XESPDltu{\XESPD@tmpdima}){\line(0,1){\XESPDltu{\XESPD@tmpdimb}}}
|
||||
\XESPD@tmpdimb=\XESPDframeH
|
||||
\advance\XESPD@tmpdimb -15mm
|
||||
\put(0,\XESPDltu{\XESPD@tmpdimb}){\line(1,0){\XESPDltu{\XESPDframeW}}}
|
||||
\linethickness{\XESPDlineThin}
|
||||
\multiput(0,\XESPDltu{\XESPD@tmpdima})(0, 8){\the\XESPD@tmpcnta}{%
|
||||
\line(1,0){\XESPDltu{\XESPDframeW}}}
|
||||
\end{picture}}}
|
||||
|
||||
\newenvironment{XESPDspecification}{%
|
||||
\XESPDputOnStyle{formII}{specification}{\XESPDdrawSpecification}
|
||||
\XESPDputOnStyle{formIIab}{specification}{\XESPDdrawSpecification}
|
||||
\begin{XESPDzeroPadding}%
|
||||
\setlength{\tabcolsep}{0.5mm}%
|
||||
\setlength{\LTpre}{0mm}%
|
||||
\setlength{\LTpost}{0mm}%
|
||||
\setlength{\LTleft}{0mm}%
|
||||
\setlength{\LTright}{\fill}%
|
||||
\newcolumntype{s}{>{\XESPDfontTabBody}c}%
|
||||
\newcolumntype{n}{>{\parbox[c][8mm][c]{1mm}{%
|
||||
\rule{0mm}{0mm}}\XESPDfontTabBody}l}%
|
||||
\noindent%
|
||||
\begin{longtable}{ssssnss}
|
||||
\parbox[c][15mm][c]{5mm}{\centering\begin{sideways}\XESPDfontTabHead%
|
||||
\XESPDspecColumnIname\end{sideways}}&
|
||||
\parbox[c][15mm][c]{5mm}{\centering\begin{sideways}\XESPDfontTabHead%
|
||||
\XESPDspecColumnIIname\end{sideways}}&
|
||||
\parbox[c][15mm][c]{7mm}{\centering\begin{sideways}\XESPDfontTabHead%
|
||||
\XESPDspecColumnIIIname\end{sideways}}&
|
||||
\parbox[c][15mm][c]{69mm}{\centering\XESPDfontTabHead%
|
||||
\XESPDspecColumnIVname}&
|
||||
\parbox[c][15mm][c]{61mm}{\centering\XESPDfontTabHead%
|
||||
\XESPDspecColumnVname}&
|
||||
\parbox[c][15mm][c]{9mm}{\centering\begin{sideways}\XESPDfontTabHead%
|
||||
\XESPDspecColumnVIname\end{sideways}}&
|
||||
\parbox[c][15mm][c]{21mm}{\centering\XESPDfontTabHead%
|
||||
\XESPDspecColumnVIIname}\endhead}{%
|
||||
\end{longtable}%
|
||||
\end{XESPDzeroPadding}%
|
||||
\XESPDremoveFromStyle{formII}{spec}%
|
||||
\XESPDremoveFromStyle{formIIab}{spec}}
|
||||
|
179
xespdspecii.sty
Normal file
179
xespdspecii.sty
Normal file
@ -0,0 +1,179 @@
|
||||
% 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{xespdspecii}[2010/01/14 v0.98 Specification GOST 2.106.95 Form 2]
|
||||
|
||||
\RequirePackage{xespdlang}
|
||||
\RequirePackage{xespdstamp}
|
||||
\RequirePackage{rotating}
|
||||
\RequirePackage{chngpage}
|
||||
\RequirePackage{lscape}
|
||||
\RequirePackage{array}
|
||||
\RequirePackage{longtable}
|
||||
|
||||
\newcommand{\XESPDdrawSpecificationII}{
|
||||
\put(\XESPDltu{\XESPDframeX},\XESPDltu{\XESPDframeY}){%
|
||||
\begin{picture}(0,0)
|
||||
\XESPD@tmpdimb=\XESPDframeW
|
||||
\XESPD@tmpdimc=8mm
|
||||
\advance\XESPD@tmpdimb -70mm
|
||||
\divide\XESPD@tmpdimb by \XESPD@tmpdimc
|
||||
\XESPD@tmpcnta=\XESPD@tmpdimb
|
||||
\XESPD@tmpdimb=\XESPD@tmpdimc
|
||||
\multiply\XESPD@tmpdimb by \XESPD@tmpcnta
|
||||
\advance\XESPD@tmpdimb 15mm
|
||||
\linethickness{\XESPDlineThick}
|
||||
\put(0,6){\line(1,0){\XESPDltu{\XESPD@tmpdimb}}}
|
||||
\put(0,12){\line(1,0){\XESPDltu{\XESPD@tmpdimb}}}
|
||||
\put(0,20){\line(1,0){\XESPDltu{\XESPD@tmpdimb}}}
|
||||
\put(0,90){\line(1,0){\XESPDltu{\XESPD@tmpdimb}}}
|
||||
\put(0,162){\line(1,0){\XESPDltu{\XESPD@tmpdimb}}}
|
||||
\put(0,172){\line(1,0){\XESPDltu{\XESPD@tmpdimb}}}
|
||||
\put(0,182){\line(1,0){\XESPDltu{\XESPD@tmpdimb}}}
|
||||
\put(0,257){\line(1,0){\XESPDltu{\XESPD@tmpdimb}}}
|
||||
\put(15,0){\line(0,1){\XESPDltu{\XESPDframeH}}}
|
||||
\linethickness{\XESPDlineThin}
|
||||
\multiput(23,0)(8, 0){\the\XESPD@tmpcnta}{%
|
||||
\line(0,1){\XESPDltu{\XESPDframeH}}}
|
||||
\end{picture}}}
|
||||
|
||||
\newcommand{\XESPDdrawSpecIIstampII}{%
|
||||
\setlength{\XESPD@tmpdima}{\XESPDframeX+\XESPDframeW}
|
||||
\setlength{\XESPD@tmpdimb}{\XESPDframeY+\XESPDframeH-185mm}
|
||||
\put(\XESPDltu{\XESPD@tmpdima},\XESPDltu{\XESPD@tmpdimb}){%
|
||||
\begin{sideways}\usebox{\XESPD@stamp@ii@box}\end{sideways}}
|
||||
\put(\XESPDltu{\XESPD@tmpdima},\XESPDltu{\XESPD@tmpdimb}){%
|
||||
\begin{sideways}\XESPD@stamp@ii@var\end{sideways}}}
|
||||
|
||||
\newcommand{\XESPDdrawSpecIIstampIIa}{%
|
||||
\setlength{\XESPD@tmpdima}{\XESPDframeX+\XESPDframeW}
|
||||
\setlength{\XESPD@tmpdimb}{\XESPDframeY+\XESPDframeH-185mm}
|
||||
\put(\XESPDltu{\XESPD@tmpdima},\XESPDltu{\XESPD@tmpdimb}){%
|
||||
\begin{sideways}\usebox{\XESPD@stamp@ii@a@box}\end{sideways}}
|
||||
\put(\XESPDltu{\XESPD@tmpdima},\XESPDltu{\XESPD@tmpdimb}){%
|
||||
\begin{sideways}\XESPD@stamp@ii@a@var\end{sideways}}}
|
||||
|
||||
\ifXESPD@enable@columns@xxvii
|
||||
\newcommand{\XESPDdrawSpecIIcolumnsXXVII}{%
|
||||
\setlength{\XESPD@tmpdima}{\XESPDframeX+\XESPDframeW-48mm}
|
||||
\setlength{\XESPD@tmpdimb}{\XESPDframeY+\XESPDframeH-120mm}
|
||||
\put(\XESPDltu{\XESPD@tmpdima},\XESPDltu{\XESPD@tmpdimb}){%
|
||||
\begin{sideways}\usebox{\XESPD@columns@xxvii@ii@box}\end{sideways}}%
|
||||
\addtolength{\XESPD@tmpdima}{8mm}%
|
||||
\put(\XESPDltu{\XESPD@tmpdima},\XESPDltu{\XESPD@tmpdimb}){%
|
||||
\begin{sideways}\usebox{\XESPD@column@xxx@box}\end{sideways}}}
|
||||
\fi
|
||||
|
||||
\ifXESPD@enable@column@xxxi
|
||||
\newcommand{\XESPDdrawSpecIIcolumnXXXI}{%
|
||||
\setlength{\XESPD@tmpdima}{\XESPDframeX+\XESPDframeW+1.2mm}%
|
||||
\setlength{\XESPD@tmpdimb}{\XESPDframeY+\XESPDframeH-120mm}%
|
||||
\put(\XESPDltu{\XESPD@tmpdima},\XESPDltu{\XESPD@tmpdimb}){%
|
||||
\begin{sideways}%
|
||||
\makebox[70mm][r]{\XESPDfontIII\XESPDcolumnXXXIname\hspace{4em}}%
|
||||
\end{sideways}}}
|
||||
\fi
|
||||
|
||||
\ifXESPD@enable@column@xxxii
|
||||
\newcommand{\XESPDdrawSpecIIcolumnXXXII}{%
|
||||
\setlength{\XESPD@tmpdima}{\XESPDframeX+\XESPDframeW+1.2mm}%
|
||||
\setlength{\XESPD@tmpdimb}{\XESPDframeY+\XESPDframeH-50mm}%
|
||||
\put(\XESPDltu{\XESPD@tmpdima},\XESPDltu{\XESPD@tmpdimb}){%
|
||||
\begin{sideways}%
|
||||
\makebox[50mm][r]{\XESPDfontIII\XESPDtheColumnXXXII}%
|
||||
\end{sideways}}}
|
||||
\fi
|
||||
|
||||
\XESPDnewStyle{specII}{0mm}
|
||||
\XESPDputOnStyle{specII}{frame}{\XESPDdrawFrame}
|
||||
\XESPDputOnStyle{specII}{stamp}{\XESPDdrawSpecIIstampII}
|
||||
\XESPDputOnStyle{specII}{specification}{\XESPDdrawSpecificationII}
|
||||
\ifXESPD@enable@columns@xix
|
||||
\XESPDputOnStyle{specII}{columnsxix}{\XESPDdrawColumnsXIX}
|
||||
\fi
|
||||
\ifXESPD@enable@columns@xxiv
|
||||
\XESPDputOnStyle{specII}{columnsxxiv}{\XESPDdrawColumnsXXIV}
|
||||
\fi
|
||||
\ifXESPD@enable@columns@xxvii
|
||||
\XESPDputOnStyle{specII}{columnsxxvii}{\XESPDdrawSpecIIcolumnsXXVII}
|
||||
\fi
|
||||
\ifXESPD@enable@column@xxxi
|
||||
\XESPDputOnStyle{specII}{columnxxxi}{\XESPDdrawSpecIIcolumnXXXI}
|
||||
\fi
|
||||
\ifXESPD@enable@column@xxxii
|
||||
\XESPDputOnStyle{specII}{columnxxxii}{\XESPDdrawSpecIIcolumnXXXII}
|
||||
\fi
|
||||
|
||||
\XESPDnewStyle{specIIa}{0mm}
|
||||
\XESPDputOnStyle{specIIa}{frame}{\XESPDdrawFrame}
|
||||
\XESPDputOnStyle{specIIa}{stamp}{\XESPDdrawSpecIIstampIIa}
|
||||
\XESPDputOnStyle{specIIa}{specification}{\XESPDdrawSpecificationII}
|
||||
\ifXESPD@enable@columns@xix
|
||||
\XESPDputOnStyle{specIIa}{columnsxix}{\XESPDdrawColumnsXIX}
|
||||
\fi
|
||||
\ifXESPD@enable@column@xxxi
|
||||
\XESPDputOnStyle{specIIa}{columnxxxi}{\XESPDdrawSpecIIcolumnXXXI}
|
||||
\fi
|
||||
\ifXESPD@enable@column@xxxii
|
||||
\XESPDputOnStyle{specIIa}{columnxxxii}{\XESPDdrawSpecIIcolumnXXXII}
|
||||
\fi
|
||||
|
||||
\XESPDdefaultFirstStyle{specII}
|
||||
\XESPDdefaultStyle{specIIa}
|
||||
|
||||
\newenvironment{XESPDspecificationII}{%
|
||||
\begin{XESPDzeroPadding}%
|
||||
\changetext{}{-55mm}{}{}{}%
|
||||
\begin{landscape}
|
||||
\setlength{\tabcolsep}{0.5mm}%
|
||||
\setlength{\LTpre}{0mm}%
|
||||
\setlength{\LTpost}{0mm}%
|
||||
\setlength{\LTleft}{0mm}%
|
||||
\setlength{\LTright}{\fill}%
|
||||
\newcolumntype{s}{>{\XESPDfontTabBody}c}%
|
||||
\newcolumntype{n}{>{\parbox[c][8mm][c]{1mm}{%
|
||||
\rule{0mm}{0mm}}\XESPDfontTabBody}l}%
|
||||
\noindent%
|
||||
\begin{longtable}{ssssnssss}
|
||||
\parbox[c][15mm][c]{5mm}{\centering\begin{sideways}\XESPDfontTabHead%
|
||||
\XESPDspecIIcolumnIname\end{sideways}}&
|
||||
\parbox[c][15mm][c]{5mm}{\centering\begin{sideways}\XESPDfontTabHead%
|
||||
\XESPDspecIIcolumnIIname\end{sideways}}&
|
||||
\parbox[c][15mm][c]{7mm}{\centering\begin{sideways}\XESPDfontTabHead%
|
||||
\XESPDspecIIcolumnIIIname\end{sideways}}&
|
||||
\parbox[c][15mm][c]{69mm}{\centering\XESPDfontTabHead%
|
||||
\XESPDspecIIcolumnIVname}&
|
||||
\parbox[c][15mm][c]{71mm}{\centering\XESPDfontTabHead%
|
||||
\XESPDspecIIcolumnVname}&
|
||||
\parbox[c][15mm][c]{9mm}{\centering\begin{sideways}\XESPDfontTabHead%
|
||||
\XESPDspecIIcolumnVIname\end{sideways}}&
|
||||
\parbox[c][15mm][c]{9mm}{\centering\begin{sideways}\XESPDfontTabHead%
|
||||
\XESPDspecIIcolumnVIIname\end{sideways}}&
|
||||
\parbox[c][15mm][c]{74mm}{\centering\XESPDfontTabHead%
|
||||
\XESPDspecIIcolumnVIIIname}&
|
||||
\parbox[c][15mm][c]{29mm}{\centering\XESPDfontTabHead%
|
||||
\XESPDspecIIcolumnIXname}\endhead}{%
|
||||
\end{longtable}%
|
||||
\end{landscape}%
|
||||
\changetext{}{55mm}{}{}{}%
|
||||
\end{XESPDzeroPadding}}
|
||||
|
1130
xespdstamp.sty
Normal file
1130
xespdstamp.sty
Normal file
File diff suppressed because it is too large
Load Diff
@ -20,31 +20,31 @@
|
||||
%
|
||||
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesClass{espdtab}[2010/01/14 v0.98 Tabular Documentation]
|
||||
\ProvidesClass{xespdtab}[2010/01/14 v0.98 Tabular Documentation]
|
||||
|
||||
\DeclareOption{russian}{\PassOptionsToPackage{\CurrentOption}{espdlang}}
|
||||
\DeclareOption{ukrainian}{\PassOptionsToPackage{\CurrentOption}{espdlang}}
|
||||
\DeclareOption{koi8-r}{\PassOptionsToPackage{\CurrentOption}{espdlang}}
|
||||
\DeclareOption{koi8-u}{\PassOptionsToPackage{\CurrentOption}{espdlang}}
|
||||
\DeclareOption{cp1251}{\PassOptionsToPackage{\CurrentOption}{espdlang}}
|
||||
\DeclareOption{iso8859-5}{\PassOptionsToPackage{\CurrentOption}{espdlang}}
|
||||
\DeclareOption{cp866}{\PassOptionsToPackage{\CurrentOption}{espdlang}}
|
||||
\DeclareOption{utf-8}{\PassOptionsToPackage{\CurrentOption}{espdlang}}
|
||||
\DeclareOption{utf8}{\PassOptionsToPackage{\CurrentOption}{espdlang}}
|
||||
\DeclareOption{russian}{\PassOptionsToPackage{\CurrentOption}{xespdlang}}
|
||||
\DeclareOption{ukrainian}{\PassOptionsToPackage{\CurrentOption}{xespdlang}}
|
||||
\DeclareOption{koi8-r}{\PassOptionsToPackage{\CurrentOption}{xespdlang}}
|
||||
\DeclareOption{koi8-u}{\PassOptionsToPackage{\CurrentOption}{xespdlang}}
|
||||
\DeclareOption{cp1251}{\PassOptionsToPackage{\CurrentOption}{xespdlang}}
|
||||
\DeclareOption{iso8859-5}{\PassOptionsToPackage{\CurrentOption}{xespdlang}}
|
||||
\DeclareOption{cp866}{\PassOptionsToPackage{\CurrentOption}{xespdlang}}
|
||||
\DeclareOption{utf-8}{\PassOptionsToPackage{\CurrentOption}{xespdlang}}
|
||||
\DeclareOption{utf8}{\PassOptionsToPackage{\CurrentOption}{xespdlang}}
|
||||
\DeclareOption{twoside}{%
|
||||
\PassOptionsToClass{\CurrentOption}{article}%
|
||||
\PassOptionsToPackage{\CurrentOption}{espdstamp}}
|
||||
\PassOptionsToPackage{\CurrentOption}{xespdstamp}}
|
||||
\DeclareOption{draft}{\PassOptionsToClass{\CurrentOption}{article}}
|
||||
\DeclareOption{formI}{%
|
||||
\ClassError{espdtext}{formI style is for graphical documentaion}{}}
|
||||
\ClassError{xespdtext}{formI style is for graphical documentaion}{}}
|
||||
\DeclareOption{zonelabels}{%
|
||||
\ClassError{espdtext}{Zone labels is not allowed for tabular documentaion}{}}
|
||||
\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{espdstamp}}
|
||||
\ClassError{xespdtext}{Zone labels is not allowed for tabular documentaion}{}}
|
||||
\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{xespdstamp}}
|
||||
|
||||
\ProcessOptions\relax
|
||||
|
||||
\LoadClass{article}
|
||||
\RequirePackage{espdlang}
|
||||
\RequirePackage[a4paper,formII]{espdstamp}
|
||||
\RequirePackage{espdinfo}
|
||||
\RequirePackage{xespdlang}
|
||||
\RequirePackage[a4paper,formII]{xespdstamp}
|
||||
\RequirePackage{xespdinfo}
|
||||
|
118
xespdtext.cls
Normal file
118
xespdtext.cls
Normal file
@ -0,0 +1,118 @@
|
||||
% 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}
|
||||
\ProvidesClass{xespdtext}[2010/01/14 v0.98 Textual Documentation]
|
||||
|
||||
\newcommand{\XESPD@docfont}{14pt}
|
||||
\newcommand{\XESPD@float@style}{single}
|
||||
\newcommand{\XESPD@equation@style}{single}
|
||||
|
||||
\DeclareOption{russian}{\PassOptionsToPackage{\CurrentOption}{xespdlang}}
|
||||
\DeclareOption{ukrainian}{\PassOptionsToPackage{\CurrentOption}{xespdlang}}
|
||||
\DeclareOption{koi8-r}{\PassOptionsToPackage{\CurrentOption}{xespdlang}}
|
||||
\DeclareOption{koi8-u}{\PassOptionsToPackage{\CurrentOption}{xespdlang}}
|
||||
\DeclareOption{cp1251}{\PassOptionsToPackage{\CurrentOption}{xespdlang}}
|
||||
\DeclareOption{iso8859-5}{\PassOptionsToPackage{\CurrentOption}{xespdlang}}
|
||||
\DeclareOption{cp866}{\PassOptionsToPackage{\CurrentOption}{xespdlang}}
|
||||
\DeclareOption{utf-8}{\PassOptionsToPackage{\CurrentOption}{xespdlang}}
|
||||
\DeclareOption{utf8}{\PassOptionsToPackage{\CurrentOption}{xespdlang}}
|
||||
\DeclareOption{12pt}{\renewcommand{\XESPD@docfont}{12pt}}
|
||||
\DeclareOption{14pt}{\renewcommand{\XESPD@docfont}{14pt}}
|
||||
\DeclareOption{pointsingle}{\PassOptionsToPackage{\CurrentOption}{xespdsect}}
|
||||
\DeclareOption{pointsection}{\PassOptionsToPackage{\CurrentOption}{xespdsect}}
|
||||
\DeclareOption{pointsubsection}{\PassOptionsToPackage{\CurrentOption}{xespdsect}}
|
||||
\DeclareOption{floatsingle}{\renewcommand{\XESPD@float@style}{single}}
|
||||
\DeclareOption{floatsection}{\renewcommand{\XESPD@float@style}{section}}
|
||||
\DeclareOption{floatsubsection}{\renewcommand{\XESPD@float@style}{subsection}}
|
||||
\DeclareOption{equationsingle}{\renewcommand{\XESPD@equation@style}{single}}
|
||||
\DeclareOption{equationsection}{\renewcommand{\XESPD@equation@style}{section}}
|
||||
\DeclareOption{equationsubsection}{\renewcommand{\XESPD@equation@style}{subsection}}
|
||||
\DeclareOption{footnotearabic}{\PassOptionsToPackage{\CurrentOption}{xespdfootnote}}
|
||||
\DeclareOption{footnoteasterisk}{\PassOptionsToPackage{\CurrentOption}{xespdfootnote}}
|
||||
\DeclareOption{twoside}{%
|
||||
\PassOptionsToClass{\CurrentOption}{extarticle}%
|
||||
\PassOptionsToPackage{\CurrentOption}{xespdstamp}}
|
||||
\DeclareOption{draft}{\PassOptionsToClass{\CurrentOption}{extarticle}}
|
||||
\DeclareOption{formI}{%
|
||||
\ClassError{xespdtext}{formI style is for graphical documentaion}{}}
|
||||
\DeclareOption{zonelabels}{%
|
||||
\ClassError{xespdtext}{Zone labels is not allowed for textual documentaion}{}}
|
||||
\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{xespdstamp}}
|
||||
|
||||
\ProcessOptions\relax
|
||||
|
||||
\LoadClass[\XESPD@docfont]{extarticle}
|
||||
\RequirePackage{xespdlang}
|
||||
\RequirePackage[a4paper,xespd]{xespdstamp}
|
||||
\RequirePackage{xespdindent}
|
||||
\RequirePackage{xespdlist}
|
||||
\RequirePackage{xespdsect}
|
||||
\RequirePackage{xespdcap}
|
||||
\RequirePackage{xespdfootnote}
|
||||
\RequirePackage{xespdbiblist}
|
||||
\RequirePackage{xespdexplan}
|
||||
\RequirePackage{xespdinfo}
|
||||
\RequirePackage{xespdtitlebase}
|
||||
\RequirePackage{xespdtitle}
|
||||
\RequirePackage{xltabular}
|
||||
\RequirePackage{multirow}
|
||||
\newcommand{\HY}{\hyphenpenalty=25\exhyphenpenalty=25}
|
||||
\newcolumntype{Z}{>{\HY\raggedright\arraybackslash\hspace{0pt}}X}
|
||||
\newcolumntype{M}{>{\HY\RaggedRight\arraybackslash\hspace{0pt}}c}
|
||||
\newcolumntype{L}{>{\HY\RaggedRight\arraybackslash\hspace{0pt}}l}
|
||||
|
||||
\linespread{1.25}
|
||||
|
||||
\newcommand{\XESPD@float@style@single}{}
|
||||
|
||||
\newcommand{\XESPD@float@style@section}{
|
||||
\@addtoreset{figure}{section}
|
||||
\@addtoreset{table}{section}
|
||||
\renewcommand{\thefigure}{%
|
||||
\ifnum \c@section>\z@ \thesection.\fi \arabic{figure}}
|
||||
\renewcommand{\thetable}{%
|
||||
\ifnum \c@section>\z@ \thesection.\fi \arabic{table}}}
|
||||
|
||||
\newcommand{\XESPD@float@style@subsection}{
|
||||
\@addtoreset{figure}{subsection}
|
||||
\@addtoreset{table}{subsection}
|
||||
\renewcommand{\thefigure}{%
|
||||
\ifnum \c@subsection>\z@ \thesubsection.\fi \arabic{figure}}
|
||||
\renewcommand{\thetable}{%
|
||||
\ifnum \c@subsection>\z@ \thesubsection.\fi \arabic{table}}}
|
||||
|
||||
\@nameuse{XESPD@float@style@\XESPD@float@style}
|
||||
|
||||
\newcommand{\XESPD@equation@style@single}{}
|
||||
|
||||
\newcommand{\XESPD@equation@style@section}{
|
||||
\@addtoreset{equation}{section}
|
||||
\renewcommand{\theequation}{%
|
||||
\ifnum \c@section>\z@ \thesection.\fi \arabic{equation}}}
|
||||
|
||||
\newcommand{\XESPD@equation@style@subsection}{
|
||||
\@addtoreset{equation}{subsection}
|
||||
\renewcommand{\theequation}{%
|
||||
\ifnum \c@subsection>\z@ \thesubsection.\fi \arabic{equation}}}
|
||||
|
||||
\@nameuse{XESPD@equation@style@\XESPD@equation@style}
|
||||
|
154
xespdtitle.sty
Normal file
154
xespdtitle.sty
Normal file
@ -0,0 +1,154 @@
|
||||
% 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{xespdtitle}[2010/01/14 v0.98 Title GOST 2.105]
|
||||
|
||||
\RequirePackage{xespdstamp}
|
||||
\RequirePackage{xespdlang}
|
||||
\RequirePackage{xespdinfo}
|
||||
\RequirePackage{xespdtotal}
|
||||
\RequirePackage{xespdtitlebase}
|
||||
\RequirePackage{ifthen}
|
||||
|
||||
\newcommand{\XESPD@title@split@field}[2]{%
|
||||
\parbox[t]{.4\hsize}{\raggedright#1}\hfill
|
||||
\parbox[t]{.4\hsize}{\raggedright#2}}
|
||||
|
||||
\renewcommand{\XESPDtheTitleFieldI}{%
|
||||
\XESPDtheDepartment\par\XESPDtheCompany}
|
||||
|
||||
\def\XESPDtheTitleFieldIIl{}
|
||||
\renewcommand{\XESPDtheTitleFieldIIl}{%
|
||||
\XESPDtheClassCode}
|
||||
\def\XESPDtheTitleFieldIIr{}
|
||||
\renewcommand{\XESPDtheTitleFieldIIr}{}
|
||||
\renewcommand{\XESPDtheTitleFieldII}{%
|
||||
\XESPD@title@split@field{\XESPDtheTitleFieldIIl}{\XESPDtheTitleFieldIIr}}
|
||||
|
||||
\def\XESPDtheTitleFieldIIIl{}
|
||||
\renewcommand{\XESPDtheTitleFieldIIIl}{%
|
||||
\ifx\XESPD@title@approving@sheet\@undefined
|
||||
\expandafter\ifx\csname XESPD@title@agreed@name@1\endcsname\relax\else
|
||||
\text{\MakeUppercase{\XESPDagreedName}}\\
|
||||
\XESPD@title@make@stamp{agreed}{1}
|
||||
\fi
|
||||
\else
|
||||
\textrm{\MakeUppercase{\XESPDapprovedName}}\\
|
||||
\XESPD@title@approving@sheet
|
||||
\fi}
|
||||
\def\XESPDtheTitleFieldIIIr{}
|
||||
\renewcommand{\XESPDtheTitleFieldIIIr}{%
|
||||
\ifx\XESPD@title@approving@sheet\@undefined
|
||||
\expandafter\ifx\csname XESPD@title@approved@name@1\endcsname\relax\else
|
||||
\text{\MakeUppercase{\XESPDapprovingName}}\\
|
||||
\XESPD@title@make@stamp{approved}{1}
|
||||
\fi
|
||||
\fi}
|
||||
\renewcommand{\XESPDtheTitleFieldIII}{%
|
||||
\XESPD@title@split@field{\XESPDtheTitleFieldIIIl}{\XESPDtheTitleFieldIIIr}}
|
||||
|
||||
\renewcommand{\XESPDtheTitleFieldIV}{%
|
||||
{\MakeUppercase{\XESPDtheTitle}\par\XESPDtheDocName}%
|
||||
}
|
||||
|
||||
\renewcommand{\XESPDtheTitleFieldV}{}
|
||||
|
||||
\renewcommand{\XESPDtheTitleFieldVI}{%
|
||||
\MakeUppercase{\XESPDtheSignature}}
|
||||
|
||||
\renewcommand{\XESPDtheTitleFieldVIa}{%
|
||||
{\XESPDtheFileName}}
|
||||
|
||||
%\renewcommand{\XESPDtheTitleFieldVII}{}
|
||||
\renewcommand{\XESPDtheTitleFieldVII}{\normalfont\cyr\CYRL\cyri\cyrs\cyrt\cyro\cyrv\ \XESPDtotal{page}}
|
||||
|
||||
\def\XESPDtheTitleFieldVIIIl{}
|
||||
\renewcommand{\XESPDtheTitleFieldVIIIl}{%
|
||||
\ifx\XESPD@title@approving@sheet\@undefined
|
||||
\XESPD@tmpcnta = 1
|
||||
\loop
|
||||
\ifnum \XESPD@tmpcnta < \XESPD@title@agreed@cnt
|
||||
\advance \XESPD@tmpcnta 1
|
||||
\XESPD@title@make@stamp{agreed}{\number\XESPD@tmpcnta}
|
||||
\par\vspace{5mm}
|
||||
\repeat
|
||||
\fi}
|
||||
\def\XESPDtheTitleFieldVIIIr{}
|
||||
\renewcommand{\XESPDtheTitleFieldVIIIr}{%
|
||||
\ifx\XESPD@title@approving@sheet\@undefined
|
||||
\XESPD@tmpcnta = 0
|
||||
\loop
|
||||
\ifnum \XESPD@tmpcnta < \XESPD@title@designed@cnt
|
||||
\advance \XESPD@tmpcnta 1
|
||||
\XESPD@title@make@stamp{designed}{\number\XESPD@tmpcnta}
|
||||
\par\vspace{5mm}
|
||||
\repeat
|
||||
\fi}
|
||||
\renewcommand{\XESPDtheTitleFieldVIII}{%
|
||||
\XESPD@title@split@field{\XESPDtheTitleFieldVIIIl}{\XESPDtheTitleFieldVIIIr}}
|
||||
|
||||
\renewcommand{\XESPDtheTitleFieldX}{\XESPDtheYear}
|
||||
\renewcommand{\XESPDtheTitleFieldXI}{\cyr\CYRL\cyri\cyrt\cyre\cyrr\cyra} % Литера
|
||||
%\renewcommand{\XESPDtheTitleFieldXI}{\cyr\CYRL\cyri\cyrt\cyre\cyrr\cyra\ \cyr\CYRO\ \cyr\CYRO$_1$} % Литера O_1
|
||||
|
||||
\renewcommand{\XESPDtitleFontI}{\XESPDfontV}
|
||||
\renewcommand{\XESPDtitleFontII}{\XESPDfontV}
|
||||
\renewcommand{\XESPDtitleFontIII}{\XESPDfontV}
|
||||
\renewcommand{\XESPDtitleFontIV}{\XESPDfontV}
|
||||
\renewcommand{\XESPDtitleFontV}{\XESPDfontV}
|
||||
\renewcommand{\XESPDtitleFontVI}{\XESPDfontV}
|
||||
\renewcommand{\XESPDtitleFontVIa}{\XESPDfontV}
|
||||
\renewcommand{\XESPDtitleFontVII}{\XESPDfontV}
|
||||
\renewcommand{\XESPDtitleFontVIII}{\XESPDfontV}
|
||||
\renewcommand{\XESPDtitleFontX}{\XESPDfontV}
|
||||
\renewcommand{\XESPDtitleFontXI}{\XESPDfontV}
|
||||
|
||||
\renewcommand{\maketitle}{%
|
||||
\begin{XESPDtitlePage}
|
||||
\setlength{\topsep}{0mm}
|
||||
\noindent
|
||||
\parbox[c][.28\vsize][t]{\hsize}{%
|
||||
% \vspace{5mm \@plus 15mm \@minus 3mm}
|
||||
% \begin{center}\XESPDtitleFontI\bfseries\XESPDtheTitleFieldI\end{center}
|
||||
% \vspace{5mm \@plus 15mm \@minus 3mm}
|
||||
% \begin{center}\XESPDtitleFontII\XESPDtheTitleFieldII\end{center}}
|
||||
\vspace{5mm \@plus 15mm \@minus 3mm}
|
||||
\begin{center}\XESPDtitleFontIII\XESPDtheTitleFieldIII\end{center}}
|
||||
\par\vspace{10mm \@plus 2mm \@minus 4mm}\noindent
|
||||
\parbox[c][.30\vsize][t]{\hsize}{%
|
||||
\ifthenelse{\equal{\XESPDtheTitleFieldIV}{}}{}
|
||||
{\begin{center}\XESPDtitleFontIV\XESPDtheTitleFieldIV\end{center}}
|
||||
\ifthenelse{\equal{\XESPDtheTitleFieldV}{}}{}
|
||||
{\begin{center}\XESPDtitleFontV\XESPDtheTitleFieldV\end{center}}
|
||||
\ifthenelse{\equal{\XESPDtheTitleFieldVI}{}}{}
|
||||
{\begin{center}\XESPDtitleFontVI\XESPDtheTitleFieldVI\end{center}}
|
||||
\ifthenelse{\equal{\XESPDtheTitleFieldVIa}{}}{}
|
||||
{\begin{center}\XESPDtitleFontVI\XESPDtheTitleFieldVIa\end{center}}
|
||||
\ifthenelse{\equal{\XESPDtheTitleFieldVII}{}}{}
|
||||
{\begin{center}\XESPDtitleFontVII\XESPDtheTitleFieldVII\end{center}}}
|
||||
\par\vspace{4mm \@plus 2mm \@minus 2mm}\noindent
|
||||
\begin{center}\XESPDtitleFontVIII\XESPDtheTitleFieldVIII\end{center}
|
||||
\vfill
|
||||
\begin{center}\XESPDtitleFontX\XESPDtheTitleFieldX\end{center}
|
||||
\begin{flushright}\XESPDtitleFontXI\XESPDtheTitleFieldXI\hspace{20mm}\enspace\end{flushright}% Литера
|
||||
\end{XESPDtitlePage}}
|
||||
|
92
xespdtitlebase.sty
Normal file
92
xespdtitlebase.sty
Normal file
@ -0,0 +1,92 @@
|
||||
% 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{xespdtitlebase}[2010/01/14 v0.98 Base Title Commands]
|
||||
|
||||
\newcommand{\XESPDtitleApprovedBy}[2]{%
|
||||
\@namedef{XESPD@title@approved@post@1}{#1}
|
||||
\@namedef{XESPD@title@approved@name@1}{#2}}
|
||||
|
||||
\newcount\XESPD@title@agreed@cnt
|
||||
\newcount\XESPD@title@designed@cnt
|
||||
\XESPD@title@agreed@cnt = 0
|
||||
\XESPD@title@designed@cnt = 0
|
||||
|
||||
\newcommand{\XESPDtitleAgreedBy}[2]{%
|
||||
\advance \XESPD@title@agreed@cnt 1
|
||||
\@namedef{XESPD@title@agreed@post@\number\XESPD@title@agreed@cnt}{#1}
|
||||
\@namedef{XESPD@title@agreed@name@\number\XESPD@title@agreed@cnt}{#2}}
|
||||
|
||||
\newcommand{\XESPDtitleDesignedBy}[2]{%
|
||||
\advance \XESPD@title@designed@cnt 1
|
||||
\@namedef{XESPD@title@designed@post@\number\XESPD@title@designed@cnt}{#1}
|
||||
\@namedef{XESPD@title@designed@name@\number\XESPD@title@designed@cnt}{#2}}
|
||||
|
||||
\let\XESPD@title@approving@sheet\@undefinded
|
||||
\newcommand{\XESPDtitleApprovingSheet}[1]{%
|
||||
\def\XESPD@title@approving@sheet{#1}}
|
||||
|
||||
\newcommand{\XESPDtitleMakeStamp}[2]{#1\\\rule{2cm}{.1mm}\ #2\\
|
||||
``\rule{.8cm}{.1mm}'' \rule{2.3cm}{.1mm}\ \rule{1.5cm}{.1mm}}
|
||||
|
||||
\newcommand{\XESPD@title@make@stamp}[2]{%
|
||||
\XESPDtitleMakeStamp{%
|
||||
\@nameuse{XESPD@title@#1@post@#2}}{%
|
||||
\@nameuse{XESPD@title@#1@name@#2}}}
|
||||
|
||||
\newcommand{\XESPDtheTitleFieldI}{}
|
||||
\newcommand{\XESPDtheTitleFieldII}{}
|
||||
\newcommand{\XESPDtheTitleFieldIII}{}
|
||||
\newcommand{\XESPDtheTitleFieldIV}{}
|
||||
\newcommand{\XESPDtheTitleFieldV}{}
|
||||
\newcommand{\XESPDtheTitleFieldVI}{}
|
||||
\newcommand{\XESPDtheTitleFieldVIa}{}
|
||||
\newcommand{\XESPDtheTitleFieldVII}{}
|
||||
\newcommand{\XESPDtheTitleFieldVIII}{}
|
||||
\newcommand{\XESPDtheTitleFieldIX}{}
|
||||
\newcommand{\XESPDtheTitleFieldX}{}
|
||||
\newcommand{\XESPDtheTitleFieldXI}{}
|
||||
\newcommand{\XESPDtitleFontI}{}
|
||||
\newcommand{\XESPDtitleFontII}{}
|
||||
\newcommand{\XESPDtitleFontIII}{}
|
||||
\newcommand{\XESPDtitleFontIV}{}
|
||||
\newcommand{\XESPDtitleFontV}{}
|
||||
\newcommand{\XESPDtitleFontVI}{}
|
||||
\newcommand{\XESPDtitleFontVIa}{}
|
||||
\newcommand{\XESPDtitleFontVII}{}
|
||||
\newcommand{\XESPDtitleFontVIII}{}
|
||||
\newcommand{\XESPDtitleFontIX}{}
|
||||
\newcommand{\XESPDtitleFontX}{}
|
||||
\newcommand{\XESPDtitleFontXI}{}
|
||||
|
||||
\def\XESPD@title@after@page{%
|
||||
\XESPDclearDoublePage
|
||||
\XESPDstyle{\XESPD@default@style@other}
|
||||
\XESPDthisStyle{\XESPD@default@style@first}}
|
||||
|
||||
% ### Выравнивание титульной страницы
|
||||
\newenvironment{XESPDtitlePage}{%
|
||||
\begin{XESPDpadding}{0mm}{5mm}
|
||||
\XESPDstyle{\XESPD@default@style@title}}{%
|
||||
\end{XESPDpadding}
|
||||
\aftergroup\XESPD@title@after@page}
|
||||
|
@ -20,40 +20,40 @@
|
||||
%
|
||||
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{espdtotal}[2010/01/14 v0.98 Total number of tables, figures, etc]
|
||||
\ProvidesPackage{xespdtotal}[2010/01/14 v0.98 Total number of tables, figures, etc]
|
||||
|
||||
\RequirePackage{espdsect}
|
||||
\RequirePackage{xespdsect}
|
||||
|
||||
\let\ESPD@old@caption\@caption
|
||||
\let\ESPD@old@bibitem\bibitem
|
||||
\let\XESPD@old@caption\@caption
|
||||
\let\XESPD@old@bibitem\bibitem
|
||||
|
||||
\newcounter{ESPD@figure}
|
||||
\newcounter{ESPD@table}
|
||||
\newcounter{ESPD@bibitem}
|
||||
\newcounter{XESPD@figure}
|
||||
\newcounter{XESPD@table}
|
||||
\newcounter{XESPD@bibitem}
|
||||
|
||||
\long\def\@caption#1[#2]#3{%
|
||||
\stepcounter{ESPD@#1}%
|
||||
\ESPD@old@caption{#1}[#2]{#3}}
|
||||
\stepcounter{XESPD@#1}%
|
||||
\XESPD@old@caption{#1}[#2]{#3}}
|
||||
|
||||
\long\def\bibitem{%
|
||||
\stepcounter{ESPD@bibitem}%
|
||||
\ESPD@old@bibitem}
|
||||
\stepcounter{XESPD@bibitem}%
|
||||
\XESPD@old@bibitem}
|
||||
|
||||
\def\ESPD@total@save#1#2{%
|
||||
\def\XESPD@total@save#1#2{%
|
||||
\immediate\write\@auxout{%
|
||||
\string\gdef\string\ESPD@total@saved@\string#1{\arabic{#2}}}}
|
||||
\string\gdef\string\XESPD@total@saved@\string#1{\arabic{#2}}}}
|
||||
|
||||
\AtEndDocument{%
|
||||
\ESPD@total@save{figure}{ESPD@figure}
|
||||
\ESPD@total@save{table}{ESPD@table}
|
||||
\ESPD@total@save{bibitem}{ESPD@bibitem}
|
||||
\ESPD@total@save{appendix}{appendix}
|
||||
\XESPD@total@save{figure}{XESPD@figure}
|
||||
\XESPD@total@save{table}{XESPD@table}
|
||||
\XESPD@total@save{bibitem}{XESPD@bibitem}
|
||||
\XESPD@total@save{appendix}{appendix}
|
||||
\clearpage
|
||||
\addtocounter{page}{-1}
|
||||
\ESPD@total@save{page}{page}
|
||||
\XESPD@total@save{page}{page}
|
||||
\addtocounter{page}{1}}
|
||||
|
||||
\newcommand{\ESPDtotal}[1]{%
|
||||
\@ifundefined{ESPD@total@saved@#1}{?}{%
|
||||
\@nameuse{ESPD@total@saved@#1}}}
|
||||
\newcommand{\XESPDtotal}[1]{%
|
||||
\@ifundefined{XESPD@total@saved@#1}{?}{%
|
||||
\@nameuse{XESPD@total@saved@#1}}}
|
||||
|
31
xespdtz.sty.x
Normal file
31
xespdtz.sty.x
Normal file
@ -0,0 +1,31 @@
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{xespdtz}[2018/09/14 v0.98 Document Information]
|
||||
\RequirePackage[numbertop,numbercenter]{xespdplain}
|
||||
\RequirePackage{kvoptions}
|
||||
|
||||
\DeclareStringOption{docname}
|
||||
\DeclareStringOption{title}
|
||||
\DeclareStringOption{project}
|
||||
\ProcessKeyvalOptions*
|
||||
|
||||
\renewcommand{\XESPDtheTitleFieldIII}{}
|
||||
\renewcommand{\XESPDtheTitleFieldV}{}
|
||||
\renewcommand{\XESPDtheTitleFieldVI}{}
|
||||
\renewcommand{\XESPDtheTitleFieldVII}{}
|
||||
\renewcommand{\XESPDtheTitleFieldXI}{}
|
||||
\renewcommand{\XESPDtheTitleFieldIV}{%
|
||||
{\MakeUppercase{\xespdtz@project}
|
||||
\vspace{3pt}
|
||||
\par\XESPDtheDocName
|
||||
\vspace{3pt}
|
||||
\par\cyrk\cyro\cyrm\cyrp\cyrl\cyre\cyrk\cyrs\cyra\ \cyrp\cyrr\cyro\cyrg\cyrr\cyra\cyrm\cyrm\ \XESPDtheTitle}%
|
||||
}
|
||||
|
||||
\renewcommand{\XESPDtheTitleFieldIV}{% только для Контейнера
|
||||
{\MakeUppercase{\xespdtz@project}
|
||||
\vspace{3pt}
|
||||
\par\XESPDtheDocName
|
||||
\vspace{3pt}
|
||||
\par\XESPDtheTitle}%
|
||||
}
|
||||
|
@ -19,86 +19,86 @@
|
||||
% This is automaticaly generated file, do not edit it.
|
||||
%
|
||||
|
||||
\ProvidesFile{espdukrainian.def}[2010/01/17 v0.98 Language File]
|
||||
\ProvidesFile{xespdukrainian.def}[2010/01/17 v0.98 Language File]
|
||||
|
||||
\newcommand{\ESPDcolumnIVname}{%
|
||||
\newcommand{\XESPDcolumnIVname}{%
|
||||
\cyr\CYRL\cyri\cyrt.}
|
||||
\newcommand{\ESPDcolumnVname}{%
|
||||
\newcommand{\XESPDcolumnVname}{%
|
||||
\cyr\CYRM\cyra\cyrs\cyra}
|
||||
\newcommand{\ESPDcolumnVIname}{%
|
||||
\newcommand{\XESPDcolumnVIname}{%
|
||||
\cyr\CYRM\cyra\cyrs\cyrsh\cyrt\cyra\cyrb}
|
||||
\newcommand{\ESPDcolumnVIIname}{%
|
||||
\newcommand{\XESPDcolumnVIIname}{%
|
||||
\cyr\CYRA\cyrr\cyrk\cyru\cyrsh}
|
||||
\newcommand{\ESPDcolumnVIItwosideName}{%
|
||||
\newcommand{\XESPDcolumnVIItwosideName}{%
|
||||
\cyr\CYRS\cyrt\cyro\cyrr.}
|
||||
\newcommand{\ESPDcolumnVIIIname}{%
|
||||
\newcommand{\XESPDcolumnVIIIname}{%
|
||||
\cyr\CYRA\cyrr\cyrk\cyru\cyrsh\cyrii\cyrv}
|
||||
\newcommand{\ESPDcolumnVIIItwosideName}{%
|
||||
\newcommand{\XESPDcolumnVIIItwosideName}{%
|
||||
\cyr\CYRS\cyrt\cyro\cyrr\cyrii\cyrn\cyro\cyrk}
|
||||
\newcommand{\ESPDcolumnXfIname}{%
|
||||
\newcommand{\XESPDcolumnXfIname}{%
|
||||
\cyr\CYRR\cyro\cyrz\cyrr\cyro\cyrb\cyri\cyrv}
|
||||
\newcommand{\ESPDcolumnXfIIname}{%
|
||||
\newcommand{\XESPDcolumnXfIIname}{%
|
||||
\cyr\CYRP\cyre\cyrr\cyre\cyrv\cyrii\cyrr\cyri\cyrv}
|
||||
\newcommand{\ESPDcolumnXfIIIname}{%
|
||||
\newcommand{\XESPDcolumnXfIIIname}{%
|
||||
\cyr\CYRT. \cyrk\cyro\cyrn\cyrt\cyrr.}
|
||||
\newcommand{\ESPDcolumnXfIVname}{}
|
||||
\newcommand{\ESPDcolumnXfVname}{%
|
||||
\newcommand{\XESPDcolumnXfIVname}{}
|
||||
\newcommand{\XESPDcolumnXfVname}{%
|
||||
\cyr\CYRN. \cyrk\cyro\cyrn\cyrt\cyrr.}
|
||||
\newcommand{\ESPDcolumnXfVIname}{%
|
||||
\newcommand{\XESPDcolumnXfVIname}{%
|
||||
\cyr\CYRZ\cyra\cyrt\cyrv\cyre\cyrr\cyrd\cyri\cyrv}
|
||||
\newcommand{\ESPDcolumnXIVname}{%
|
||||
\newcommand{\XESPDcolumnXIVname}{%
|
||||
\cyr\CYRZ\cyrm.}
|
||||
\newcommand{\ESPDcolumnXVname}{%
|
||||
\newcommand{\XESPDcolumnXVname}{%
|
||||
\cyr\CYRL\cyri\cyrs\cyrt}
|
||||
\newcommand{\ESPDcolumnXVIname}{%
|
||||
\newcommand{\XESPDcolumnXVIname}{%
|
||||
\textnumero\ \cyr\cyrd\cyro\cyrk\cyru\cyrm.}
|
||||
\newcommand{\ESPDcolumnXVIIname}{%
|
||||
\newcommand{\XESPDcolumnXVIIname}{%
|
||||
\cyr\CYRP\cyrii\cyrd\cyrp.}
|
||||
\newcommand{\ESPDcolumnXVIIIname}{%
|
||||
\newcommand{\XESPDcolumnXVIIIname}{%
|
||||
\cyr\CYRD\cyra\cyrt\cyra}
|
||||
\newcommand{\ESPDcolumnXIXname}{%
|
||||
\newcommand{\XESPDcolumnXIXname}{%
|
||||
\cyr\CYRII\cyrn\cyrv. \textnumero\ \cyro\cyrr\cyrii\cyrg.}
|
||||
\newcommand{\ESPDcolumnXXname}{%
|
||||
\newcommand{\XESPDcolumnXXname}{%
|
||||
\cyr\CYRP\cyrii\cyrd\cyrp. \cyrii\ \cyrd\cyra\cyrt\cyra}
|
||||
\newcommand{\ESPDcolumnXXIname}{%
|
||||
\newcommand{\XESPDcolumnXXIname}{%
|
||||
\cyr\CYRV\cyrz\cyra\cyrm. \cyrii\cyrn\cyrv. \textnumero}
|
||||
\newcommand{\ESPDcolumnXXIIname}{%
|
||||
\newcommand{\XESPDcolumnXXIIname}{%
|
||||
\cyr\CYRII\cyrn\cyrv. \textnumero\ \cyrd\cyru\cyrb\cyrl.}
|
||||
\newcommand{\ESPDcolumnXXIIIname}{%
|
||||
\newcommand{\XESPDcolumnXXIIIname}{%
|
||||
\cyr\CYRP\cyrii\cyrd\cyrp. \cyrii\ \cyrd\cyra\cyrt\cyra}
|
||||
\newcommand{\ESPDcolumnXXIVname}{%
|
||||
\newcommand{\XESPDcolumnXXIVname}{%
|
||||
\cyr\CYRS\cyrp\cyrr\cyra\cyrv. \textnumero}
|
||||
\newcommand{\ESPDcolumnXXVname}{%
|
||||
\newcommand{\XESPDcolumnXXVname}{%
|
||||
\cyr\CYRP\cyre\cyrr\cyrsh. \cyrz\cyra\cyrs\cyrt.}
|
||||
\newcommand{\ESPDcolumnXXXIname}{%
|
||||
\newcommand{\XESPDcolumnXXXIname}{%
|
||||
\cyr\CYRK\cyro\cyrp\cyrii\cyryu\cyrv\cyra\cyrv}
|
||||
\@namedef{ESPDa0FormatName}{%
|
||||
\@namedef{XESPDa0FormatName}{%
|
||||
\cyr\CYRF\cyro\cyrr\cyrm\cyra\cyrt\ \CYRA{}0}
|
||||
\@namedef{ESPDa1FormatName}{%
|
||||
\@namedef{XESPDa1FormatName}{%
|
||||
\cyr\CYRF\cyro\cyrr\cyrm\cyra\cyrt\ \CYRA{}1}
|
||||
\@namedef{ESPDa2FormatName}{%
|
||||
\@namedef{XESPDa2FormatName}{%
|
||||
\cyr\CYRF\cyro\cyrr\cyrm\cyra\cyrt\ \CYRA{}2}
|
||||
\@namedef{ESPDa3FormatName}{%
|
||||
\@namedef{XESPDa3FormatName}{%
|
||||
\cyr\CYRF\cyro\cyrr\cyrm\cyra\cyrt\ \CYRA{}3}
|
||||
\@namedef{ESPDa4FormatName}{%
|
||||
\@namedef{XESPDa4FormatName}{%
|
||||
\cyr\CYRF\cyro\cyrr\cyrm\cyra\cyrt\ \CYRA{}4}
|
||||
\@namedef{ESPDemptyFormatName}{%
|
||||
\@namedef{XESPDemptyFormatName}{%
|
||||
\cyr\CYRF\cyro\cyrr\cyrm\cyra\cyrt\ \ \ \ }
|
||||
\newcommand{\ESPDcolumnXXXIIIname}{%
|
||||
\newcommand{\XESPDcolumnXXXIIIname}{%
|
||||
\cyr\CYRZ\cyro\cyrn\cyra}
|
||||
|
||||
\newcommand{\ESPDagreedName}{%
|
||||
\newcommand{\XESPDagreedName}{%
|
||||
\cyr\CYRP\cyro\cyrg\cyro\cyrd\cyrzh\cyre\cyrn\cyro}
|
||||
\newcommand{\ESPDapprovingName}{%
|
||||
\newcommand{\XESPDapprovingName}{%
|
||||
\cyr\CYRZ\cyra\cyrt\cyrv\cyre\cyrr\cyrd\cyrzh\cyru\cyryu}
|
||||
\newcommand{\ESPDapprovedName}{%
|
||||
\newcommand{\XESPDapprovedName}{%
|
||||
\cyr\CYRZ\cyra\cyrt\cyrv\cyre\cyrr\cyrd\cyrzh\cyre\cyrn\cyro}
|
||||
\newcommand{\ESPDapprovingSheetName}{%
|
||||
\newcommand{\XESPDapprovingSheetName}{%
|
||||
\cyr\CYRL\cyri\cyrs\cyrt\ %
|
||||
\cyrz\cyra\cyrt\cyrv\cyre\cyrr\cyrd\cyrzh\cyre\cyrn\cyrn\cyrya}
|
||||
|
||||
\newlength{\ESPDexplanWidth}
|
||||
\setlength{\ESPDexplanWidth}{1.5em}
|
||||
\newlength{\XESPDexplanWidth}
|
||||
\setlength{\XESPDexplanWidth}{1.5em}
|
||||
|
||||
\addto\captionsukrainian{%
|
||||
\def\tablename{{\cyr\CYRT\cyra\cyrb\cyrl\cyri\cyrc\cyrya}}%
|
||||
@ -106,52 +106,52 @@
|
||||
\def\refname{{\cyr\CYRP\cyre\cyrr\cyre\cyrl\cyrii\cyrk\
|
||||
\cyrp\cyro\cyrs\cyri\cyrl\cyra\cyrn\cyrsftsn}}}
|
||||
|
||||
\newcommand{\ESPDspecColumnIname}{%
|
||||
\newcommand{\XESPDspecColumnIname}{%
|
||||
\cyr\CYRF\cyro\cyrr\cyrm\cyra\cyrt}
|
||||
\newcommand{\ESPDspecColumnIIname}{%
|
||||
\newcommand{\XESPDspecColumnIIname}{%
|
||||
\cyr\CYRZ\cyro\cyrn\cyra}
|
||||
\newcommand{\ESPDspecColumnIIIname}{%
|
||||
\newcommand{\XESPDspecColumnIIIname}{%
|
||||
\cyr\CYRP\cyro\cyrz.}
|
||||
\newcommand{\ESPDspecColumnIVname}{%
|
||||
\newcommand{\XESPDspecColumnIVname}{%
|
||||
\cyr\CYRP\cyro\cyrz\cyrn\cyra\cyrch\cyre\cyrn\cyrn\cyrya}
|
||||
\newcommand{\ESPDspecColumnVname}{%
|
||||
\newcommand{\XESPDspecColumnVname}{%
|
||||
\cyr\CYRN\cyra\cyrishrt\cyrm\cyre\cyrn\cyru\cyrv\cyra\cyrn\cyrn\cyrya}
|
||||
\newcommand{\ESPDspecColumnVIname}{%
|
||||
\newcommand{\XESPDspecColumnVIname}{%
|
||||
\cyr\CYRK\cyrii\cyrl\cyrsftsn\cyrk.}
|
||||
\newcommand{\ESPDspecColumnVIIname}{%
|
||||
\newcommand{\XESPDspecColumnVIIname}{%
|
||||
\cyr\CYRP\cyrr\cyri\cyrm\cyrii\cyrt\cyrk\cyra}
|
||||
|
||||
\newcommand{\ESPDspecIIcolumnIname}{\ESPDspecColumnIname}
|
||||
\newcommand{\ESPDspecIIcolumnIIname}{\ESPDspecColumnIIname}
|
||||
\newcommand{\ESPDspecIIcolumnIIIname}{\ESPDspecColumnIIIname}
|
||||
\newcommand{\ESPDspecIIcolumnIVname}{\ESPDspecColumnIVname}
|
||||
\newcommand{\ESPDspecIIcolumnVname}{\ESPDspecColumnVname}
|
||||
\newcommand{\ESPDspecIIcolumnVIname}{\ESPDspecColumnVIname}
|
||||
\newcommand{\ESPDspecIIcolumnVIIname}{%
|
||||
\newcommand{\XESPDspecIIcolumnIname}{\XESPDspecColumnIname}
|
||||
\newcommand{\XESPDspecIIcolumnIIname}{\XESPDspecColumnIIname}
|
||||
\newcommand{\XESPDspecIIcolumnIIIname}{\XESPDspecColumnIIIname}
|
||||
\newcommand{\XESPDspecIIcolumnIVname}{\XESPDspecColumnIVname}
|
||||
\newcommand{\XESPDspecIIcolumnVname}{\XESPDspecColumnVname}
|
||||
\newcommand{\XESPDspecIIcolumnVIname}{\XESPDspecColumnVIname}
|
||||
\newcommand{\XESPDspecIIcolumnVIIname}{%
|
||||
\cyr\CYRM\cyra\cyrs\cyra}
|
||||
\newcommand{\ESPDspecIIcolumnVIIIname}{%
|
||||
\newcommand{\XESPDspecIIcolumnVIIIname}{%
|
||||
\cyr\CYRM\cyra\cyrt\cyre\cyrr\cyrii\cyra\cyrl}
|
||||
\newcommand{\ESPDspecIIcolumnIXname}{\ESPDspecColumnVIIname}
|
||||
\newcommand{\XESPDspecIIcolumnIXname}{\XESPDspecColumnVIIname}
|
||||
|
||||
\newcommand{\ESPDchangeSheetName}{%
|
||||
\newcommand{\XESPDchangeSheetName}{%
|
||||
\cyr\CYRL\cyri\cyrs\cyrt\ %
|
||||
\cyrr\cyre\cyrie\cyrs\cyrt\cyrr\cyra\cyrc\cyri\cyryi\ %
|
||||
\cyrz\cyrm\cyrii\cyrn}
|
||||
\newcommand{\ESPDchngColumnsIIhName}{%
|
||||
\newcommand{\XESPDchngColumnsIIhName}{%
|
||||
\cyr\CYRN\cyro\cyrm\cyre\cyrr\cyri\ \cyra\cyrr\cyrk\cyru\cyrsh\cyrii\cyrv\ %
|
||||
(\cyrs\cyrt\cyro\cyrr\cyrii\cyrn\cyro\cyrk)}
|
||||
\newcommand{\ESPDchngColumnIIname}{%
|
||||
\newcommand{\XESPDchngColumnIIname}{%
|
||||
\cyr\cyrz\cyrm\cyrii\-\cyrn\cyre\-\cyrn\cyri\cyrh}
|
||||
\newcommand{\ESPDchngColumnIIIname}{%
|
||||
\newcommand{\XESPDchngColumnIIIname}{%
|
||||
\cyr\cyrz\cyra\-\cyrm\cyrii\-\cyrn\cyre\-\cyrn\cyri\cyrh}
|
||||
\newcommand{\ESPDchngColumnIVname}{%
|
||||
\newcommand{\XESPDchngColumnIVname}{%
|
||||
\cyr\cyrn\cyro\-\cyrv\cyri\cyrh}
|
||||
\newcommand{\ESPDchngColumnVname}{%
|
||||
\newcommand{\XESPDchngColumnVname}{%
|
||||
\cyr\cyra\cyrn\cyru\-\cyrl\cyrsftsn\cyro\cyrv\cyra\-\cyrn\cyri\cyrh}
|
||||
\newcommand{\ESPDchngColumnVIname}{%
|
||||
\newcommand{\XESPDchngColumnVIname}{%
|
||||
\cyr\CYRR\cyra\cyrz\cyro\cyrm\ \cyra\cyrr\cyrk\cyru\cyrsh\cyrii\cyrv\ %
|
||||
(\cyrs\cyrt\cyro\cyrr\cyrii\cyrn\cyro\cyrk) \cyrv\ \cyrd\cyro\cyrk\cyru\cyrm.}
|
||||
\newcommand{\ESPDchngColumnVIIIname}{%
|
||||
\newcommand{\XESPDchngColumnVIIIname}{%
|
||||
\cyr\CYRV\cyrh\cyrii\cyrd\cyrn\cyri\cyrishrt\ \textnumero\ %
|
||||
\cyrs\cyru\cyrp\cyrr\cyro\cyrv\cyrii\cyrd\cyrn\cyro\cyrg\cyro\ %
|
||||
\cyrd\cyro\cyrk\cyru\cyrm. \cyrii\ %
|
Loading…
Reference in New Issue
Block a user