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}% +} +