summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/eskdx/unpacked/eskdappsheet.sty
blob: 9b51271e9455f441d41c51e4d4bf73d886004825 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
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{eskdappsheet}[2010/01/14 v0.98 Approving Sheet GOST 2.105]

\RequirePackage{eskdlang}
\RequirePackage{eskdtitle}

\newcount\ESKD@appsheet@doc@cnt
\ESKD@appsheet@doc@cnt = 0

\newcommand{\ESKDapprovingDoc}[1]{%
  \advance \ESKD@appsheet@doc@cnt 1
  \@namedef{ESKD@appsheet@doc@\number\ESKD@appsheet@doc@cnt}{#1}}

\renewcommand{\ESKDtheTitleFieldV}{%
  \ESKDapprovingSheetName}

\renewcommand{\ESKDtheTitleFieldVI}{%
  \MakeUppercase{\ESKDtheSignature}}

\renewcommand{\ESKDtheTitleFieldVII}{}

\def\ESKDtheTitleFieldVIIIlb{}
\renewcommand{\ESKDtheTitleFieldVIIIlb}{%
  \ESKD@tmpcnta = 1
  \ESKD@tmpcntb = \ESKD@appsheet@doc@cnt
  \advance \ESKD@tmpcntb 1
  \loop
  \ifnum \ESKD@tmpcnta < \ESKD@tmpcntb
    \@nameuse{ESKD@appsheet@doc@\number\ESKD@tmpcnta}\par
    \advance \ESKD@tmpcnta 2
  \repeat}
\def\ESKDtheTitleFieldVIIIrb{}
\renewcommand{\ESKDtheTitleFieldVIIIrb}{%
  \ESKD@tmpcnta = 2
  \ESKD@tmpcntb = \ESKD@appsheet@doc@cnt
  \advance \ESKD@tmpcntb 1
  \loop
  \ifnum \ESKD@tmpcnta < \ESKD@tmpcntb
    \@nameuse{ESKD@appsheet@doc@\number\ESKD@tmpcnta}\par
    \advance \ESKD@tmpcnta 2
  \repeat}
\renewcommand{\ESKDtheTitleFieldVIII}{%
  \ESKD@title@split@field{\ESKDtheTitleFieldVIIIl}{\ESKDtheTitleFieldVIIIr}
  \par
  \ESKD@title@split@field{\ESKDtheTitleFieldVIIIlb}{\ESKDtheTitleFieldVIIIrb}}

\renewcommand{\ESKDtheTitleFieldX}{}

\renewcommand{\ESKDtitleFontX}{\ESKDfontIII}

\newcommand{\ESKDmakeApprovingSheet}{\maketitle}