当我尝试将章节名称和章节编号放在同一行时,我在使用 titlesec 软件包时遇到了问题!请帮帮我!非常感谢!
% !TeX encoding = windows-1251
\documentclass[%
12pt,
candidate,
natbib,
subf,
%fixint,
%classified,
%facsimile,
]{disser}
\usepackage[
a4paper, mag=1000,
left=3cm, right=1cm, top=2cm, bottom=2cm, headsep=0.7cm, footskip=1cm
]{geometry}
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
linkcolor=red,
filecolor=yellow,
urlcolor=cyan,
pdftitle={Overleaf Example},
pdfpagemode=FullScreen,
}
\usepackage{amsthm}
\usepackage[intlimits]{amsmath}
\usepackage{amssymb,amsfonts}
\usepackage[T2A]{fontenc}
\usepackage[cp1251]{inputenc}
\usepackage[english,russian]{babel}
\ifpdf\usepackage{epstopdf}\fi
\usepackage[autostyle]{csquotes}
\usepackage{graphicx}
\usepackage{mathrsfs}
\usepackage{multicol}
\usepackage{diagbox}
\usepackage{array}
\usepackage {tikz}
\usepackage{caption}
\usepackage{float}
\floatstyle{plaintop}
\restylefloat{table}
\usepackage{titlesec}
\begin{document}
\chapter{Математическое моделирование потоковых явлений (процессов) в сетеподобных носителях}
\end{document}
这里的错误
Missing number, treated as zero. \tt|@extract\subsection
Illegal unit of measure (pt inserted). \tt|@extract\subsection
Missing number, treated as zero. \tt|@extract\subsection
Illegal unit of measure (pt inserted). \tt|@extract\subsubsection
Missing number, treated as zero. \tt|@extract\paragraph
Illegal unit of measure (pt inserted). \tt|@extract\paragraph
Missing number, treated as zero. \tt|@extract\ubparagraph
Illegal unit of measure (pt inserted). \tt|@extract\subparagraph
Missing number, treated as zero.
Illegal unit of measure (pt inserted).
Unknown document class (or package),(caption) standard defaults will be used."