summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/disser/sections.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/disser/sections.dtx')
-rw-r--r--Master/texmf-dist/source/latex/disser/sections.dtx7
1 files changed, 7 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/disser/sections.dtx b/Master/texmf-dist/source/latex/disser/sections.dtx
index 8145b01a9be..22dd0dfe787 100644
--- a/Master/texmf-dist/source/latex/disser/sections.dtx
+++ b/Master/texmf-dist/source/latex/disser/sections.dtx
@@ -234,5 +234,12 @@
\newcommand\subparagraph{%
\@startsection{subparagraph}{5}{\parindent}%
{\presubparagraph}{\postsubparagraph}{\subparagraphfont\subparagraphalign}}
+
+% \end{macrocode}
+% Команда для создания ненумеруемых секций, которые будут включены в Содержание.
+% \begin{macrocode}
+\newcommand\nsection[1]{%
+ \section*{\phantomsection\addcontentsline{toc}{section}{#1}#1}
+}
%</sections>
% \end{macrocode}