Skip to content

Instantly share code, notes, and snippets.

@welldan97
Created September 27, 2012 19:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save welldan97/3795959 to your computer and use it in GitHub Desktop.
Save welldan97/3795959 to your computer and use it in GitHub Desktop.
...
%%% Каждый раздел (\section) с новой страницы
\let\stdsection\section
\renewcommand\section{\newpage\stdsection}
%%% В введении нумерация подразделов идёт с буквой «В» (например В.1)
\makeatletter
\renewcommand\thesubsection{\ifnum\c@section=0{В.\arabic{subsection}}\else{\arabic{section}.\arabic{subsection}}\fi}
\makeatother
...
\makeatletter
%%% Каждый раздел (\section) с новой страницы
\let\stdsection\section
\renewcommand\section{\newpage\stdsection}
%%% В введении нумерация подразделов идёт с буквой «В» (например В.1)
\renewcommand\thesubsection{\ifnum\c@section=0{В.\arabic{subsection}}\else{\arabic{section}.\arabic{subsection}}\fi}
\makeatother
@welldan97
Copy link
Author

текст в before исправить на текст в after. То есть переместить 4,5 линии внутрь \makeatletter - \makeatother блока

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment