summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/disser/titlepage.dtx
blob: db1dc886b89cecc8387978584c092f184312cb9f (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
%    \begin{macrocode}

%<*titlepage>
%    \end{macrocode}
%
% \subsection{Òèòóëüíûé ëèñò}
%
% Ïîäêëþ÷åíèå êîíñòàíò è êîìàíä, èñïîëüçóåìûõ äëÿ âåðñòêè òèòóëüíîãî ëèñòà.
%    \begin{macrocode}
\input{titledefs.rtx}

\if@titlepage
%    \end{macrocode}
% Ïàðàìåòðû ÷àñòåé òèòóëüíîãî ëèñòà ïî óìîë÷àíèþ.
% \DescribeMacro{\titlefont}\index{Ìàêðîñû!\verb*+\titlefont+}
% \DescribeMacro{\topiclabelfont}\index{Ìàêðîñû!\verb*+\topiclabelfont+}
% \DescribeMacro{\topicfont}\index{Ìàêðîñû!\verb*+\topicfont+}
% \DescribeMacro{\instfont}\index{Ìàêðîñû!\verb*+\instfont+}
%    \begin{macrocode}
  \newcommand\titlefont{\Large\bfseries}
  \newcommand\topiclabelfont{\large}
  \newcommand\topicfont{\large\bfseries}
  \newcommand\instfont{\normalfont}
%    \end{macrocode}
% Ðàçäåëèòåëü ìåæäó íàçâàíèåì ãîðîäà è ãîäîì.
% \DescribeMacro{\cdsep}\index{Ìàêðîñû!\verb*+\cdsep+}
%    \begin{macrocode}
  \newcommand\cdsep{~-- }

  \newcommand\maketitle{}
  \setcounter{footnote}{0}
\else
%    \end{macrocode}
% Çàãîëîâîê áåç îòäåëüíîãî òèòóëüíîãî ëèñòà.
% \DescribeMacro{\maketitle}\index{Ìàêðîñû!\verb*+\maketitle+}
%    \begin{macrocode}
  \newcommand\maketitle{%
    \global\let\thanks\relax
    \global\let\maketitle\relax
    \global\let\@maketitle\relax
    \global\let\@author\@empty
    \global\let\@date\@empty
    \global\let\@title\@empty
    \global\let\title\relax
    \global\let\author\relax
    \global\let\date\relax
    \global\let\and\relax
  }
%    \end{macrocode}
% \DescribeMacro{\@maketitle}\index{Ìàêðîñû!\verb+"\"@maketitle+}
% Êîìàíäà äëÿ ôîðìàòèðîâàíèÿ çàãîëîâêà äîêóìåíòà áåç îòäåëüíîãî
% òèòóëüíîãî ëèñòà (ñì. îïèñàíèå îïöèè \cmd{notitlepage}).
%    \begin{macrocode}
  \def\@maketitle{%
    \newpage
    \null
    \vskip 2em%
    \begin{center}%
      \let\footnotesize\small
      \let\footnote\thanks
      {\titlefont\@title\par}%
      \vskip 1.5em%
      {\large\lineskip .5em%
        \begin{tabular}[t]{c}%
          \@author
        \end{tabular}\par}%
        \vskip 1em%
      {\large \@date}%
    \end{center}%
    \par\vskip 1.5em%
  }
\fi % \if@titlepage
%</titlepage>
%    \end{macrocode}