summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/eskdx/source/eskdtitlebase.sty.in
blob: b295e6df860170dd3100708cfb28f4bb7e292110 (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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
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.
%
m4_ESKDX_INIT
m4_FILE_INIT
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{eskdtitlebase}[m4_dnl
m4_FILE_ID([[$Date: 2006/03/13 21:06:26 $]]) Base Title Commands]

m4_dnl ÄÏÌÖÎÏÓÔØ É ÆÁÍÉÌÉÑ ÕÔ×ÅÒÖÄÁÀÝÅÇÏ
\newcommand{\ESKDtitleApprovedBy}[2]{%
  \@namedef{ESKD@title@approved@post@1}{#1}
  \@namedef{ESKD@title@approved@name@1}{#2}}

\newcount\ESKD@title@agreed@cnt
\newcount\ESKD@title@designed@cnt
\ESKD@title@agreed@cnt = 0
\ESKD@title@designed@cnt = 0

m4_dnl ÄÏÂÁ×ÌÑÅÔ ÓÏÇÌÁÓÏ×Á×ÛÅÇÏ × ÓÐÉÓÏË ÓÏÇÌÁÓÏ×Á×ÛÉÈ
\newcommand{\ESKDtitleAgreedBy}[2]{%
  \advance \ESKD@title@agreed@cnt 1
  \@namedef{ESKD@title@agreed@post@\number\ESKD@title@agreed@cnt}{#1}
  \@namedef{ESKD@title@agreed@name@\number\ESKD@title@agreed@cnt}{#2}}

m4_dnl ÄÏÂÁ×ÌÑÅÔ Á×ÔÏÒÁ × ÓÐÉÓÏË Á×ÔÏÒÏ×
\newcommand{\ESKDtitleDesignedBy}[2]{%
  \advance \ESKD@title@designed@cnt 1
  \@namedef{ESKD@title@designed@post@\number\ESKD@title@designed@cnt}{#1}
  \@namedef{ESKD@title@designed@name@\number\ESKD@title@designed@cnt}{#2}}

\let\ESKD@title@approving@sheet\@undefinded
m4_dnl × ÎÁÌÉÞÉÉ ÌÉÓÔ ÕÔ×ÅÒÖÄÅÎÉÑ
\newcommand{\ESKDtitleApprovingSheet}[1]{%
  \def\ESKD@title@approving@sheet{#1}}

m4_dnl ÐÅÞÁÔÁÅÔ ÇÒÉÆ ÓÏÇÌÁÓÏ×ÁÎÉÑ/ÕÔ×ÅÒÖÄÅÎÉÑ
\newcommand{\ESKDtitleMakeStamp}[2]{#1\\\rule{2cm}{.1mm}\ #2\\
``\rule{.8cm}{.1mm}'' \rule{2.3cm}{.1mm}\ \rule{1.5cm}{.1mm}}

\newcommand{\ESKD@title@make@stamp}[2]{%
  \ESKDtitleMakeStamp{%
    \@nameuse{ESKD@title@#1@post@#2}}{%
    \@nameuse{ESKD@title@#1@name@#2}}}

m4_dnl ÐÏÌÑ ÔÉÔÕÌØÎÏÇÏ ÌÉÓÔÁ
\newcommand{\ESKDtheTitleFieldI}{}
\newcommand{\ESKDtheTitleFieldII}{}
\newcommand{\ESKDtheTitleFieldIII}{}
\newcommand{\ESKDtheTitleFieldIV}{}
\newcommand{\ESKDtheTitleFieldV}{}
\newcommand{\ESKDtheTitleFieldVI}{}
\newcommand{\ESKDtheTitleFieldVII}{}
\newcommand{\ESKDtheTitleFieldVIII}{}
\newcommand{\ESKDtheTitleFieldIX}{}
\newcommand{\ESKDtheTitleFieldX}{}
\newcommand{\ESKDtitleFontI}{}
\newcommand{\ESKDtitleFontII}{}
\newcommand{\ESKDtitleFontIII}{}
\newcommand{\ESKDtitleFontIV}{}
\newcommand{\ESKDtitleFontV}{}
\newcommand{\ESKDtitleFontVI}{}
\newcommand{\ESKDtitleFontVII}{}
\newcommand{\ESKDtitleFontVIII}{}
\newcommand{\ESKDtitleFontIX}{}
\newcommand{\ESKDtitleFontX}{}

\def\ESKD@title@after@page{%
  \ESKDclearDoublePage
  \ESKDstyle{\ESKD@default@style@other}
  \ESKDthisStyle{\ESKD@default@style@first}}

m4_dnl ÂÁÚÏ×ÙÊ ÛÁÂÌÏÎ ÄÌÑ ÌÀÂÏÇÏ ÔÉÔÕÌØÎÏÇÏ ÌÉÓÔÁ
\newenvironment{ESKDtitlePage}{%
  \begin{ESKDpadding}{5mm}{5mm}
  \ESKDstyle{\ESKD@default@style@title}}{%
  \end{ESKDpadding}
  \aftergroup\ESKD@title@after@page}

m4_dnl vim:ft=tex:sw=2:ai