我无法使用以下代码使页脚正常工作。任何有关获取所需页脚的帮助都将不胜感激。
\documentclass[12 pt, a4paper]{report}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{amsthm}
\usepackage{amsmath, amssymb}
\usepackage{graphicx}
\usepackage[T1]{fontenc}
\usepackage{enumerate}
\usepackage{calc}
\usepackage{blindtext}
\usepackage{fancyhdr, lastpage, bbding, pmboxdraw}
\usepackage[T1]{fontenc}
\usepackage[usenames,dvipsnames]{color}
\definecolor{darkblue}{rgb}{0,0,.6}
\definecolor{darkred}{rgb}{.7,0,0}
\definecolor{darkgreen}{rgb}{0,.6,0}
\definecolor{red}{rgb}{.98,0,0}
\usepackage[colorlinks,pagebackref,pdfusetitle,urlcolor=darkblue,citecolor=darkblue,linkcolor=darkred,bookmarksnumbered,plainpages=false]{hyperref}
\usepackage{mathtools}
\usepackage{blkarray, bigstrut}
\usepackage{multicol}
\usepackage{arydshln}
\usepackage{longdivision}
\usepackage{tcolorbox}
\renewcommand{\thefootnote}{\fnsymbol{footnote}}
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}{Lemma}
\newtheorem{claim}{Claim}
\newtheorem{proposition}{Proposition}
\newtheorem{corollary}{Corollary}
\newtheorem{fact}[theorem]{Fact}
\newtheorem{example}{Example}
\newtheorem{notation}{Notation}
\newtheorem{observation}[theorem]{Observation}
\newtheorem{conjecture}[theorem]{Conjecture}
\theoremstyle{definition}
\newtheorem{definition}{Definition}
\theoremstyle{remark}
\newtheorem{remark}{Remark}
\renewcommand{\thesection}{\thechapter.\number\numexpr\value{section}\relax}
\setcounter{chapter}{1}
%%%%%%%%%%%% LISTING %%%
\usepackage{listings}
\usepackage{caption}
\DeclareCaptionFont{white}{\color{white}}
\DeclareCaptionFormat{listing}{\colorbox{gray}{\parbox{\textwidth}{#1#2#3}}}
%\captionsetup[lstlisting]{format=listing,labelfont=white,textfont=white}
\usepackage{verbatim} % used to display code
\usepackage{fancyvrb}
\usepackage{acronym}
%\usepackage{amsthm}
\usepackage{setspace}
\VerbatimFootnotes % Required, otherwise verbatim does not work in footnotes!
\DeclarePairedDelimiter\ceil{\lceil}{\rceil}
\DeclarePairedDelimiter\floor{\lfloor}{\rfloor}
\usepackage{fancyhdr}
\pagestyle{fancy}
\lfoot{\footnotesize IEEE 2019}
\rfoot{\footnotesize Engineering Mechanics}
\renewcommand{\headrulewidth}{0 pt}
\renewcommand{\footrulewidth}{0.8 pt}
\fancyfoot[C]{\footnotesize \thepage}
\usepackage{lipsum}
\usepackage{geometry}
\geometry{%
letterpaper,
lmargin=2 cm ,
rmargin=1.4 cm,
tmargin=2 cm,
bmargin=2 cm,
footskip=22 pt,
headheight=12pt}
\usepackage{titlesec}
\titlelabel{\thetitle.\quad}
\linespread{1.4}
\pagestyle{myheadings}
\thispagestyle{empty}
\begin{document}
\lipsum
\end{document}
答案1
看起来不错
\documentclass[12 pt, a4paper]{report}
\usepackage{fancyhdr, lastpage, bbding, pmboxdraw}
\usepackage{fancyhdr}
\pagestyle{fancy}
\lfoot{\footnotesize IEEE 2019}
\rfoot{\footnotesize Engineering Mechanics}
\renewcommand{\headrulewidth}{0 pt}
\renewcommand{\footrulewidth}{0.8 pt}
\fancyfoot[C]{\footnotesize \thepage}
\usepackage{lipsum}
\usepackage{titlesec}
\titlelabel{\thetitle.\quad}
\begin{document}
\lipsum
\end{document}