Класс ТЗ

This commit is contained in:
Andrei Astafev 2018-10-04 13:29:29 +03:00
parent a92fd64ca7
commit d211a54b50
3 changed files with 19 additions and 4 deletions

View File

@ -39,9 +39,6 @@
\newcommand{\ESPDtitle}[1]{\ESPDunitName{#1}}
\renewcommand{\title}[1]{\ESPDunitName{#1}}
\newcommand{\ESPDtheProject}{}
\newcommand{\ESPDproject}[1]{\renewcommand{\ESPDtheProject}{#1}}
\newcommand{\ESPDtheDocName}{}
\newcommand{\ESPDdocName}[1]{\renewcommand{\ESPDtheDocName}{#1}}

View File

@ -67,7 +67,7 @@
\ESPD@title@split@field{\ESPDtheTitleFieldIIIl}{\ESPDtheTitleFieldIIIr}}
\renewcommand{\ESPDtheTitleFieldIV}{%
{\MakeUppercase{\ESPDtheProject}\par\MakeUppercase{\ESPDtheTitle}\par\ESPDtheDocName}%
{\MakeUppercase{\ESPDtheTitle}\par\ESPDtheDocName}%
}
\renewcommand{\ESPDtheTitleFieldV}{}

18
espdtz.sty Normal file
View File

@ -0,0 +1,18 @@
\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}%
}