Estilo ToC não padrão

Estilo ToC não padrão

Estou preparando minha tese no LYX. O texto está em russo, mas há muitos símbolos e fórmulas químicas em inglês. Até agora trabalho com a classe "artigo estendido", padrão. Preciso fazer um ToC semelhante a este exemplo (as regras para o estilo da tese são bastante rígidas): imagem

Portanto, preciso usar alguns comandos especiais para alterar os títulos e a numeração das seções. Mas não estou familiarizado com esse "ajuste fino". Existe algum comando útil ou algum pacote que possa ajudar facilmente?

Código no arquivo .tex:

 \documentclass[14pt]{extarticle}
\renewcommand{\familydefault}{\rmdefault}
\usepackage[LGR,T1,T2A]{fontenc}
\usepackage[koi8-r]{inputenc}
\usepackage[a4paper]{geometry}
\geometry{verbose,tmargin=2cm,bmargin=2cm,lmargin=2.5cm,rmargin=1.1cm,headheight=17pt}
\usepackage{fancyhdr}
\pagestyle{fancy}
\setcounter{secnumdepth}{1}
\setcounter{tocdepth}{1}
\usepackage{float}
\usepackage{units}
\usepackage{textcomp}
\usepackage{amsmath}
\usepackage{stmaryrd}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage{esint}
\usepackage{subscript}
\onehalfspacing

\makeatletter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\newcommand*\LyXZeroWidthSpace{\hspace{0pt}}
\DeclareRobustCommand{\greektext}{%
  \fontencoding{LGR}\selectfont\def\encodingdefault{LGR}}
\DeclareRobustCommand{\textgreek}[1]{\leavevmode{\greektext #1}}
\ProvideTextCommand{\~}{LGR}[1]{\char126#1}

\DeclareRobustCommand{\cyrtext}{%
  \fontencoding{T2A}\selectfont\def\encodingdefault{T2A}}
\DeclareRobustCommand{\textcyr}[1]{\leavevmode{\cyrtext #1}}

\newcommand{\lyxmathsym}[1]{\ifmmode\begingroup\def\b@ld{bold}
  \text{\ifx\math@version\b@ld\bfseries\fi#1}\endgroup\else#1\fi}

\ProvideTextCommandDefault{\guillemotleft}{%
  {\usefont{U}{lasy}{m}{n}\char'50\kern-.15em\char'50}%
\penalty10000\hskip0pt\relax%
}
\ProvideTextCommandDefault{\guillemotright}{%
  \penalty10000\hskip0pt%
  {\usefont{U}{lasy}{m}{n}\char'51\kern-.15em\char'51}%
}
\DeclareTextSymbolDefault{\textquotedbl}{T1}
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage[koi8-r]{inputenc}
\usepackage{mathtext}
\usepackage{titlesec}
%\usepackage[bibencoding=utf8]{biblatex}
\usepackage[english, russian]{babel}
\usepackage{tocloft}
\renewcommand{\cfttoctitlefont}{\hfil\Large\bfseries}
\renewcommand{\cftaftertoctitle}{\hfill}
\renewcommand{\cftsecpresnum}{Sect }
%\renewcommand{\cftchappresnum}{Chapter }
\setlength{\cftsecnumwidth}{6em}
\renewcommand{\headrulewidth}{0}
%\renewcommand \thepart {\arabic\part}

\makeatother

\usepackage[style=gost-numeric,bibencoding=utf8, sorting=none]{biblatex}
\addbibresource{0C__Users_1_Documents_My_diss_All_bib.bib}
\begin{document}

\rhead{}
\chead{\thepage}
\cfoot{}
\begin{center}
{\large{}Титульная}\newpage{}
\par\end{center}

\tableofcontents 
\clearpage

\newpage{}

\part*{{\large{}Введение }}

\section*{{\normalsize{}Цели диссертационной работы}}

\section*{{\normalsize{}Апробация работы} }

Основные результаты диссертационной работы были представлены в виде ..

\newpage{}
\part{{\normalsize{}Литературный обзор}}

\vspace{42pt}

\section{{\normalsize{}Природа обменного взаимодействия}}

\vspace{42pt}

\section{{\normalsize{}Обменные взаимодействия в соединениях РЗМ с Fe, Ni,
Mn}}

\vspace{42pt}
В интерметаллических соединениях РЗМ с 3d переходными металлами..

\newpage{}
\part{{\normalsize{}Технология приготовления и аттестация образцов }}

\vspace{42pt}

\section{{\normalsize{}Микроструктура }}
\section{{\normalsize{}Измерение температуры Кюри и намагниченности }}
\section{{\normalsize{}Методика измерения ... }}

\vspace{42pt}

\newpage{}
\part{{\normalsize{}Результаты}}

\vspace{42pt}

\section{{\normalsize{}Гигантская ... }}


\section{{\normalsize{}Магнитные свойства..}}

\newpage{}
\part{Выводы}

\section*{\newpage Литература}

\nocite{*}
\printbibliography

\end{document}

O comando "\cftchappresnum" não funcionou por algum motivo - coloquei-o no comentário no exemplo acima.

Responder1

Como você não forneceu um MWE, não sei como você adicionou suas primeiras e posteriores entradas não numeradas ao ToC. Eu não leio russo; o seguinte está em inglês e espero que você seja mais multilíngue do que eu.

O tocloftpacote pode ser de alguma ajuda.

% tocrussianprob.tex  SE 561296

\documentclass{article}
\usepackage{tocloft}

% centering the ToC title
\renewcommand{\cfttoctitlefont}{\hfil\Large\bfseries}
\renewcommand{\cftaftertoctitle}{\hfill}
% put section before section entries
\renewcommand{\cftsecpresnum}{Section }
\setlength{\cftsecnumwidth}{5em} % need more space for Section + num

\begin{document}

\tableofcontents
\clearpage

\section{First section}
\subsection{A subsection}
\subsubsection{A sub-subsection}

\section{Second section}
\subsection{A subsection with a very long title, I hope it's over one line in the ToC}
\end{document}
 

Não sei como fazer com que a segunda linha de um título fique na margem esquerda. O estilo tipográfico normal é que os títulos sejam alinhados como um bloco.

informação relacionada