我对该命令有一个问题\thispagestyle
:如果我在文章的第一页上使用该命令,不仅该页面的样式会发生变化,而且所有后续页面也会受到影响。似乎所有其他页面都为空白页眉保留了相同的空间。因此,这些页面上的所有文本都会“滑”下来,甚至滑出页面。
\documentclass[a4paper,twoside,twocolumn,9pt]{article}
\usepackage{extsizes}
\usepackage[super,sort&compress,comma]{natbib}
\usepackage[version=3]{mhchem}
\usepackage[left=1.5cm, right=1.5cm, top=1.785cm, bottom=2.0cm]{geometry}
\usepackage{balance}
\usepackage{times,mathptmx}
\usepackage{sectsty}
\usepackage{graphicx}
\usepackage{lastpage}
\usepackage{fancyhdr}
\usepackage{fnpos}
\usepackage[english]{babel}
\addto{\captionsenglish}{%
\renewcommand{\refname}{References}}
\usepackage{array}
\usepackage{droidsans}
\usepackage{charter}
\usepackage[T1]{fontenc}
\usepackage{setspace}
\usepackage[compact]{titlesec}
\usepackage{lipsum}
\begin{document}
\pagestyle{fancy}
\thispagestyle{plain}
\fancypagestyle{plain}{
\fancyhead[C]{\includegraphics[width=3.5cm]{example-image}}
\renewcommand{\headrulewidth}{0pt}
}
%%%PAGE SETUP - Please do not change any commands within this section%%%
\makeFNbottom
\makeatletter
\renewcommand\LARGE{\@setfontsize\LARGE{15pt}{17}}
\renewcommand\Large{\@setfontsize\Large{12pt}{14}}
\renewcommand\large{\@setfontsize\large{10pt}{12}}
\renewcommand\footnotesize{\@setfontsize\footnotesize{7pt}{10}}
\renewcommand\scriptsize{\@setfontsize\scriptsize{7pt}{7}}
\makeatother
\renewcommand{\thefootnote}{\fnsymbol{footnote}}
\renewcommand\footnoterule{\vspace*{1pt}%
\color{cream}\hrule width 3.5in height 0.4pt \color{black} \vspace*{5pt}}
\setcounter{secnumdepth}{5}
\makeatletter
\renewcommand\@biblabel[1]{#1}
\renewcommand\@makefntext[1]%
{\noindent\makebox[0pt][r]{\@thefnmark\,}#1}
\makeatother
\renewcommand{\figurename}{\small{Fig.}~}
\sectionfont{\sffamily\Large}
\subsectionfont{\normalsize}
\subsubsectionfont{\bf}
\setstretch{1.125} %In particular, please do not alter this line.
\setlength{\skip\footins}{0.8cm}
\setlength{\footnotesep}{0.25cm}
\setlength{\jot}{10pt}
\titlespacing*{\section}{0pt}{4pt}{4pt}
\titlespacing*{\subsection}{0pt}{15pt}{1pt}
%%%END OF PAGE SETUP%%%
%%TITLE AND AUTHORS%%%
\twocolumn[
\begin{@twocolumnfalse}
\vspace{3cm}
\sffamily
\begin{tabular}{m{4.5cm} p{13.5cm} }
& \noindent\LARGE{\textbf{Title}} \\%Article title goes here instead of the text "This is the title"
& \vspace{0.3cm} \\ & \noindent\large{Author} \\ & \\
\end{tabular}
\end{@twocolumnfalse} \vspace{0.6cm}
]
%%%END OF TITLE AND AUTHORS%%%
%%%MAIN TEXT%%%%
\lipsum[1-30]
\end{document}
希望我的问题能得到解决,有人能提供帮助。问候
如您所见,没有页脚或页码,甚至部分文本也缺失。