summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/disser/env.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/disser/env.dtx')
-rw-r--r--Master/texmf-dist/source/latex/disser/env.dtx51
1 files changed, 47 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/disser/env.dtx b/Master/texmf-dist/source/latex/disser/env.dtx
index f76639cba3f..b45652c6c70 100644
--- a/Master/texmf-dist/source/latex/disser/env.dtx
+++ b/Master/texmf-dist/source/latex/disser/env.dtx
@@ -1,10 +1,16 @@
+
+% \iffalse
+%%% From File: env.dtx
+% \fi
+%
% \begin{macrocode}
%<*env>
% \end{macrocode}
-% \subsection{Команды пользовательского интерфейса}
+% \subsection{Окружения}
%
-% \subsubsection{Примечание}
+% \DescribeEnv{description}
+% Примечание
% \begin{macrocode}
\newenvironment{description}
{\list{}{\labelwidth\z@ \itemindent-\leftmargin
@@ -12,8 +18,8 @@
{\endlist}
\newcommand*\descriptionlabel[1]{\hspace\labelsep\normalfont\bfseries #1}
% \end{macrocode}
-%
-% \subsubsection{Аннотация}
+% \DescribeEnv{abstract}
+% Аннотация
% \begin{macrocode}
\if@titlepage
\newenvironment{abstract}{
@@ -38,6 +44,7 @@
}{\if@twocolumn\else\endquotation\fi}
\fi
% \end{macrocode}
+% \DescribeEnv{quotation}
% Цитирование
% \begin{macrocode}
\newenvironment{quotation}{
@@ -50,6 +57,7 @@
\item\relax
}{\endlist}
% \end{macrocode}
+% \DescribeEnv{quote}
% Выдержка
% \begin{macrocode}
\newenvironment{quote}{
@@ -57,6 +65,7 @@
\item\relax
}{\endlist}
% \end{macrocode}
+% \DescribeEnv{titlepage}
% Титульный лист
% \begin{macrocode}
\newenvironment{titlepage}{
@@ -73,9 +82,43 @@
\if@twoside\else\setcounter{page}\@ne\fi
}
% \end{macrocode}
+%
+% \DescribeEnv{figure}
+% \DescribeEnv{figure*}
% Рисунок
% \begin{macrocode}
\newenvironment{figure}{\@float{figure}}{\end@float}
\newenvironment{figure*}{\@dblfloat{figure}}{\end@dblfloat}
+% \end{macrocode}
+%
+% \DescribeEnv{table}
+% \DescribeEnv{table*}
+% Таблица
+% \begin{macrocode}
+\newenvironment{table}{\@float{table}}{\end@float}
+\newenvironment{table*}{\@dblfloat{table}}{\end@dblfloat}
+% \end{macrocode}
+%
+% \subsection{Команды для создания окружений типа <<теорема>>}
+% Параметры формата.
+% \begin{macrocode}
+\providecommand\theoremstyle{\itshape}
+\providecommand\thetheoremstyle{\bfseries}
+\providecommand\opargtheoremstyle{\rm}
+\providecommand\preopargtheorem{(}
+\providecommand\postopargtheorem{)}
+\providecommand\postthetheorem{.}
+
+% \end{macrocode}
+% Низкоуровневые команды для создания заголовка теоремы.
+% \begin{macrocode}
+\def\@begintheorem#1#2{\trivlist
+ \item[\hskip \labelsep{\thetheoremstyle #1\ %
+ #2\unskip\postthetheorem}]\theoremstyle}
+\def\@opargbegintheorem#1#2#3{\trivlist
+ \item[\hskip \labelsep{\thetheoremstyle #1\ #2\ %
+ {\opargtheoremstyle\preopargtheorem #3\postopargtheorem}}]\theoremstyle}
+\def\@endtheorem{\endtrivlist}
+
%</env>
% \end{macrocode}