![编译 LaTeX 代码时不显示标题和章节标题](https://linux22.com/image/418460/%E7%BC%96%E8%AF%91%20LaTeX%20%E4%BB%A3%E7%A0%81%E6%97%B6%E4%B8%8D%E6%98%BE%E7%A4%BA%E6%A0%87%E9%A2%98%E5%92%8C%E7%AB%A0%E8%8A%82%E6%A0%87%E9%A2%98.png)
我的代码在运行 Windows 8 的旧笔记本电脑上运行良好。当我换到运行 Windows 10 的新笔记本电脑时,PDF 中的标题和章节标题被省略了。我在新笔记本电脑上使用Texmaker_5.0.4_Win_x64
和basic-miktex-20.6.29-x64
。旧笔记本电脑运行的是相同的 Texmaker,但是basic-miktex-2.9.7351-x64
。我尝试在新笔记本电脑上使用后者的 MiKTeX,但问题仍然存在。以下是部分代码:
\documentclass{ieeeaccess}
\usepackage{multicol}
\usepackage{caption,setspace}
\captionsetup{font={sf,scriptsize,stretch=0.80},labelfont={bf,color=accessblue}}
\usepackage{bm}
\usepackage{footnote}
\usepackage{color,soul}
\usepackage{afterpage}
\usepackage{hyperref}
\usepackage{commath}
\usepackage{cite}
\usepackage{svg}
\usepackage{mathtools,amssymb,lipsum}
\DeclarePairedDelimiter{\ceil}{\lceil}{\rceil}
\usepackage{cuted}
\setlength\stripsep{3pt plus 1pt minus 1pt}
\usepackage{amsthm}
\theoremstyle{plain}
\newtheorem{lemma}{Lemma}
\newtheorem{sublemma}{Lemma}[lemma]
\usepackage{url}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{cleveref}
\usepackage{algorithm,algorithmic}
\newcommand\ddfrac[2]{\frac{\displaystyle #1}{\displaystyle #2}}
\usepackage{graphicx, subfigure}
\usepackage{textcomp}
\usepackage{kbordermatrix}
\usepackage{multirow}
\usepackage{multicol}
\begin{document}
\history{Date of publication xxxx 00, 0000, date of current version xxxx 00, 0000.}
\doi{10.1109/ACCESS.2017.DOI}
\title{Call Admission Control: A Survey}
\author{\uppercase{}\authorrefmark{1}, \IEEEmembership{},
\uppercase{\authorrefmark{1}},
\IEEEmembership{}}
\address[1]{Department of Electrical Engineering}
\tfootnote{This work was supported in part by the .... and ....}
\markboth
{Author \headeretal: Preparation of Papers for IEEE TRANSACTIONS and JOURNALS}
{Author \headeretal: Preparation of Papers for IEEE TRANSACTIONS and JOURNALS}
\corresp{Corresponding author: (e-mail:).}
\begin{abstract}
Abstract here
\end{abstract}
\begin{keywords}
xxx, yyy
\end{keywords}
\titlepgskip=-15pt
\maketitle
\section{Introduction}
\section{Conclusion}
\end{document}