我想删除标题,但我不知道该怎么做。我无法删除标题中的行。这是我使用的代码:
\usepackage{sectsty,fancyhdr}
\sectionfont{\LARGE\bfseries}% https://tex.stackexchange.com/q/59726/5764
\pagestyle{fancy}
\fancyhf{}
\lhead{Project tile}
\renewcommand{\headrulewidth}{2.0pt}
\renewcommand{\footrulewidth}{0.5pt}
\rfoot{Page \thepage}
\lfoot{\leftmark}
\makeatletter
\renewcommand{\sectionmark}[1]{%
\markboth{\ifnum \c@secnumdepth>\z@
\thesection\hskip 1em\relax
\fi #1}{}}
\makeatother
答案1
\usepackage{sectsty,fancyhdr}
\sectionfont{\LARGE\bfseries}% https://tex.stackexchange.com/q/59726/5764
\pagestyle{fancy}
\fancyhf{}
\lhead{}%<-----------------------------------------change
\renewcommand{\headrulewidth}{0pt}%<---------------change
\renewcommand{\footrulewidth}{0.5pt}
\rfoot{Page \thepage}
\lfoot{\leftmark}
\makeatletter
\renewcommand{\sectionmark}[1]{%
\markboth{\ifnum \c@secnumdepth>\z@
\thesection\hskip 1em\relax
\fi #1}{}}
\makeatother