From d211a54b50343e1944f34e8caf29abe3b2e24394 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Thu, 4 Oct 2018 13:29:29 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=BB=D0=B0=D1=81=D1=81=20=D0=A2=D0=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- espdinfo.sty | 3 --- espdtitle.sty | 2 +- espdtz.sty | 18 ++++++++++++++++++ 3 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 espdtz.sty diff --git a/espdinfo.sty b/espdinfo.sty index 8ac0024..8618748 100644 --- a/espdinfo.sty +++ b/espdinfo.sty @@ -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}} diff --git a/espdtitle.sty b/espdtitle.sty index b3114d8..c5a84b8 100644 --- a/espdtitle.sty +++ b/espdtitle.sty @@ -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}{} diff --git a/espdtz.sty b/espdtz.sty new file mode 100644 index 0000000..ee85b93 --- /dev/null +++ b/espdtz.sty @@ -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}% +} +