It is required to make the following application in the latex document: application view

Buxu already at the stage of Cyrillic numbering:

\makeatletter \renewcommand\appendix{\par \setcounter{section}{0}% \setcounter{subsection}{0}% \gdef\thesection{\@Asbuk\c@section}} \makeatother 

does not give any result and constantly displays pdfTeX warning (ext4): destination with the same identifier (name{section.1}) has been already used, duplicate ignored . Using other character sets instead of \@Asbuk works (although incorrect links are formed).

The document has an extarticle class.

Maybe there are some ready-made recipes? If not, please tell me what to do.

  • if you had a minimal sufficient example attached, it would be easier to answer. - aleksandr barakin
  • @alexanderbarakin, well, the minimum sufficient example should be something working, right? And so there seems to be a counter override code (which does not work) and what I need to do. What else does? - Byulent
  • ru.stackoverflow.com/help/mcve - aleksandr barakin
  • @alexanderbarakin, I'm sorry, but I still do not understand what else I should add. - Byulent
  • The example should be working. so that you can copy it, run it, and get something workable. In the answer I gave the minimum sufficient example. - aleksandr barakin

1 answer 1

  1. You can change the numbering of sections / sections by overriding the \thesection :

     \renewcommand{\thesection}{\Asbuk{section}} 
  2. You can change the title of a section / section, for example, using the titlesec package, using the \titleformat command included in it.

since you need to redefine application headers ( appendices ), respectively, both of these commands need to be inserted after the \appendix command.

visual demonstration . code:

 \documentclass{extarticle} \usepackage[T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage[russian]{babel} \usepackage{titlesec} \title{ΠΏΡ€ΠΈΠΌΠ΅Ρ€ с прилоТСниями} \begin{document} \section{Ρ€Π°Π·} тСкст \section{Π΄Π²Π°} тСкст \appendix \titleformat{\section}[display] {\normalfont\Large\bfseries} {\centering ΠŸΡ€ΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΠ΅\ \thesection\\(справочноС)} {0pt}{\Large\centering} \renewcommand{\thesection}{\Asbuk{section}} \section{ΠΏΡ€ΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΠ΅ Ρ€Π°Π·} тСкст \section{ΠΏΡ€ΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΠ΅ Π΄Π²Π°} тСкст \end{document} 

picture:

enter image description here