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

%<*env>
%    \end{macrocode}
% \subsection{Êîìàíäû ïîëüçîâàòåëüñêîãî èíòåðôåéñà}
%
% \subsubsection{Ïðèìå÷àíèå}
%    \begin{macrocode}
\newenvironment{description}
  {\list{}{\labelwidth\z@ \itemindent-\leftmargin
    \let\makelabel\descriptionlabel}}
  {\endlist}
\newcommand*\descriptionlabel[1]{\hspace\labelsep\normalfont\bfseries #1}
%    \end{macrocode}
%
% \subsubsection{Àííîòàöèÿ}
%    \begin{macrocode}
\if@titlepage
  \newenvironment{abstract}{
    \thispagestyle{empty}
    \@beginparpenalty\@lowpenalty
    \begin{center}%
      \bfseries\small\abstractname
      \@endparpenalty\@M
    \end{center}\small
  }{\par\vfil\null}
\else
  \newenvironment{abstract}{
    \if@twocolumn
      \section*{\abstractname}
    \else
      \small
      \begin{center}
        {\bfseries\abstractname\vspace{-.5em}\vspace{\z@}}%
      \end{center}
      \quotation
    \fi
  }{\if@twocolumn\else\endquotation\fi}
\fi
%    \end{macrocode}
% Öèòèðîâàíèå
%    \begin{macrocode}
\newenvironment{quotation}{
  \list{}{
    \listparindent 1.5em
    \itemindent\listparindent
    \rightmargin\leftmargin
    \parsep\z@ \@plus\p@
  }
  \item\relax
}{\endlist}
%    \end{macrocode}
% Âûäåðæêà
%    \begin{macrocode}
\newenvironment{quote}{
  \list{}{\rightmargin\leftmargin}
  \item\relax
}{\endlist}
%    \end{macrocode}
% Òèòóëüíûé ëèñò
%    \begin{macrocode}
\newenvironment{titlepage}{
  \if@twocolumn
    \@restonecoltrue\onecolumn
  \else
    \@restonecolfalse\newpage
  \fi
  \thispagestyle{empty}
  \setcounter{page}\@ne
}
{
  \if@restonecol\twocolumn\else\newpage\fi
  \if@twoside\else\setcounter{page}\@ne\fi
}
%    \end{macrocode}
% Ðèñóíîê
%    \begin{macrocode}
\newenvironment{figure}{\@float{figure}}{\end@float}
\newenvironment{figure*}{\@dblfloat{figure}}{\end@dblfloat}
%</env>
%    \end{macrocode}