diff options
author | Karl Berry <karl@freefriends.org> | 2021-05-22 20:18:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-05-22 20:18:33 +0000 |
commit | be0c7ad88514da5301434d72032baf18e86158a4 (patch) | |
tree | 922cc5b28c866bece97ddd8c705fe69b6511a5e8 /Master/texmf-dist/tex/latex/bmstu-iu8/17-IU8-appendices.sty | |
parent | 0d82bc72dfbcd013449447046870edb514c81784 (diff) |
bmstu-iu8 (22may21)
git-svn-id: svn://tug.org/texlive/trunk@59310 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bmstu-iu8/17-IU8-appendices.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/bmstu-iu8/17-IU8-appendices.sty | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/bmstu-iu8/17-IU8-appendices.sty b/Master/texmf-dist/tex/latex/bmstu-iu8/17-IU8-appendices.sty new file mode 100644 index 00000000000..26f692b1654 --- /dev/null +++ b/Master/texmf-dist/tex/latex/bmstu-iu8/17-IU8-appendices.sty @@ -0,0 +1,23 @@ +% Author: CatInCosmicSpace +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{17-IU8-appendices}[2021/03/21 v1.0 Приложения] + +\newcommand{\appendixsection}[1]{ + \stepcounter{apps} + \section*{\Asbuk{apps}} + \begin{center} + \bfseries #1 + \end{center} + \addcontentsline{toc}{section}{ПРИЛОЖЕНИЕ~\Asbuk{apps}~{#1}} +} + +\renewcommand{\appendix}{ + \renewcommand\section{\clearpage\@startsection{section}{1}{0pt}{1em}{1em}{\bfseries\centering ПРИЛОЖЕНИЕ~}} + \setcounter{section}{0} + \setcounter{figure}{0} + \setcounter{table}{0} + \setcounter{equation}{0} + \renewcommand\thefigure{\Asbuk{apps}.\arabic{figure}} + \renewcommand\thetable{\Asbuk{apps}.\arabic{figure}} + \renewcommand\theequation{\Asbuk{apps}.\arabic{figure}} +} |