![如何制作不带粗体的部分?](https://linux22.com/image/334443/%E5%A6%82%E4%BD%95%E5%88%B6%E4%BD%9C%E4%B8%8D%E5%B8%A6%E7%B2%97%E4%BD%93%E7%9A%84%E9%83%A8%E5%88%86%EF%BC%9F.png)
\tableofcontents
我怎样才能使用普通字体制作章节和标题,就像小节一样?
\documentclass[floatsubsection,equationsubsection,14pt,nocolumnsxix]{eskdtext}
\usepackage{graphicx}
\usepackage{mathtext}
\usepackage[russian]{babel}
\usepackage[T1,T2A]{fontenc}
\usepackage[cp1251]{inputenc}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage{pscyr}
\usepackage{array}
\usepackage{multirow}
\usepackage{eskdtotal}
\usepackage{enumitem}
\setlist{nolistsep}
\usepackage{titlesec}
\titleformat*{\section}{\bf}
\titleformat*{\subsection}{\bf}
\titlespacing*{\section}{0pt}{8mm}{8mm}
\titlespacing*{\subsection}{0pt}{15mm}{15mm}
\parindent=1,25cm
\setlength\emergencystretch{\hsize}\hbadness=10000
\linespread{1.25}
\ESKDsectStyle{section}{\normalsize}
\ESKDsectStyle{subsection}{\normalsize}
\ESKDsectStyle{subsubsection}{\normalsize}
\begin{document}
\section*{\hspace{1.25cm}Annotation}
\addcontentsline{toc}{section}{\hspace{22pt}Annotation}
\clearpage
\tableofcontents
\newpage
\section*{\hspace{1.25cm}Introduction}
\addcontentsline{toc}{section}{\hspace{22pt}Introduction}
\end{document}
答案1
由于eskdtext
文档类似乎是建立在extarticle
文档类之上的(而文档类又是从该类report
派生而来的),您可以尝试在序言中添加以下说明:
\usepackage[titles]{tocloft}
\renewcommand{\cftsecfont}{\mdseries}
\renewcommand{\cftsecpagefont}{\mdseries}