LaTeX 中发生了哪些变化,导致 RSC 模板不再起作用

LaTeX 中发生了哪些变化,导致 RSC 模板不再起作用

我一直有一个问题RSC 文章模板这会导致第一页可以正常呈现,但后续每一页都呈现不正确,顶部有一大片空白区域,而页面的其余部分向下移动,因此底部超出了页面。

我花了很多时间将我的文件与模板进行比较,最后尝试编译模板示例,发现它有同样的问题。我认为这很奇怪,然后打开了我几年前编写的一个文件,当时编译得很好,然后重新编译了它。它也编译不正确。因此,我猜测 TeXLive 2019 中发生了一些变化,导致了这个错误。

当我现在编译此文档时会发生什么 过去发生了什么

我不知道如何对这个错误进行 MWE:我可以删除一些东西,直到问题消失,但这可能只是隐藏了问题。例如,从 切换到\usepackage{newtxtext,newtxmath}似乎\usepackage{times,mathptmx}解决了问题,直到我写了更多,问题又回来了(我猜想图形布局方式发生了一些变化,导致了这个问题。

我举了一个例子来相当清楚地说明这一点:但是您需要从 RSC 下载模板以便有图形,否则不会显示错误。

因此 MNWE 1:下载RSC 文章模板并使用完全更新的 TeXLive2019 在其上运行 pdflatex

新2:这只是 RSC 模板,其中粘贴了几页公共领域文本:它没有文本(仅在完全更新的 TeXLive2019 上使用模板示例),但这更明显,因为您可以看到文本超出页面范围。

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%This is the LaTeX ARTICLE template for RSC journals
%Copyright The Royal Society of Chemistry 2016
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[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[format=plain,justification=justified,singlelinecheck=false,font={stretch=1.125,small,sf},labelfont=bf,labelsep=space]{caption}
\usepackage{float}
\usepackage{fancyhdr}
\usepackage{fnpos}
\usepackage[english]{babel}
\addto{\captionsenglish}{%
  \renewcommand{\refname}{Notes and references}
}
\usepackage{array}
\usepackage{droidsans}
\usepackage{charter}
\usepackage[T1]{fontenc}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{setspace}
\usepackage[compact]{titlesec}
\usepackage{hyperref}
\usepackage{lipsum}
\listfiles
%%%Please don't disable any packages in the preamble, as this may cause the template to display incorrectly.%%%


\usepackage{epstopdf}%This line makes .eps figures into .pdf - please comment out if not required.

\definecolor{cream}{RGB}{222,217,201}

\begin{document}

\pagestyle{fancy}
\thispagestyle{plain}
\fancypagestyle{plain}{

%%%HEADER%%%
\fancyhead[C]{\includegraphics[width=18.5cm]{head_foot/header_bar}}
\fancyhead[L]{\hspace{0cm}\vspace{1.5cm}\includegraphics[height=30pt]{head_foot/journal_name}}
\fancyhead[R]{\hspace{0cm}\vspace{1.7cm}\includegraphics[height=55pt]{head_foot/RSC_LOGO_CMYK}}
\renewcommand{\headrulewidth}{0pt}
}
%%%END OF HEADER%%%

%%%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}}
\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%%%

%%%FOOTER%%%
\fancyfoot{}
\fancyfoot[LO,RE]{\vspace{-7.1pt}\includegraphics[height=9pt]{head_foot/LF}}
\fancyfoot[CO]{\vspace{-7.1pt}\hspace{13.2cm}\includegraphics{head_foot/RF}}
\fancyfoot[CE]{\vspace{-7.2pt}\hspace{-14.2cm}\includegraphics{head_foot/RF}}
\fancyfoot[RO]{\footnotesize{\sffamily{1--\pageref{LastPage} ~\textbar  \hspace{2pt}\thepage}}}
\fancyfoot[LE]{\footnotesize{\sffamily{\thepage~\textbar\hspace{3.45cm} 1--\pageref{LastPage}}}}
\fancyhead{}
\renewcommand{\headrulewidth}{0pt} 
\renewcommand{\footrulewidth}{0pt}
\setlength{\arrayrulewidth}{1pt}
\setlength{\columnsep}{6.5mm}
\setlength\bibsep{1pt}
%%%END OF FOOTER%%%

%%%FIGURE SETUP - please do not change any commands within this section%%%
\makeatletter 
\newlength{\figrulesep} 
\setlength{\figrulesep}{0.5\textfloatsep} 

\newcommand{\topfigrule}{\vspace*{-1pt}% 
\noindent{\color{cream}\rule[-\figrulesep]{\columnwidth}{1.5pt}} }

\newcommand{\botfigrule}{\vspace*{-2pt}% 
\noindent{\color{cream}\rule[\figrulesep]{\columnwidth}{1.5pt}} }

\newcommand{\dblfigrule}{\vspace*{-1pt}% 
\noindent{\color{cream}\rule[-\figrulesep]{\textwidth}{1.5pt}} }

\makeatother
%%%END OF FIGURE SETUP%%%

%%%TITLE, AUTHORS AND ABSTRACT%%%
\twocolumn[
  \begin{@twocolumnfalse}
\vspace{3cm}
\sffamily
\begin{tabular}{m{4.5cm} p{13.5cm} }

\includegraphics{head_foot/DOI} & \noindent\LARGE{\textbf{This is the title$^\dag$}} \\%Article title goes here instead of the text "This is the title"
\vspace{0.3cm} & \vspace{0.3cm} \\

 & \noindent\large{Full Name,$^{\ast}$\textit{$^{a}$} Full Name,\textit{$^{b\ddag}$} and Full Name\textit{$^{a}$}} \\%Author names go here instead of "Full name", etc.

\includegraphics{head_foot/dates} & \noindent\normalsize{The abstract should be a single paragraph which summarises the content of the article. Any references in the abstract should be written out in full \textit{e.g.}\ [Surname \textit{et al., Journal Title}, 2000, \textbf{35}, 3523].} \\%The abstrast goes here instead of the text "The abstract should be..."

\end{tabular}

 \end{@twocolumnfalse} \vspace{0.6cm}

  ]
%%%END OF TITLE, AUTHORS AND ABSTRACT%%%

%%%FONT SETUP - please do not change any commands within this section
\renewcommand*\rmdefault{bch}\normalfont\upshape
\rmfamily
\section*{}
\vspace{-1cm}


%%%FOOTNOTES%%%

\footnotetext{\textit{$^{a}$~Address, Address, Town, Country. Fax: XX XXXX XXXX; Tel: XX XXXX XXXX; E-mail: [email protected]}}
\footnotetext{\textit{$^{b}$~Address, Address, Town, Country. }}

%Please use \dag to cite the ESI in the main text of the article.
%If you article does not have ESI please remove the the \dag symbol from the title and the footnotetext below.
\footnotetext{\dag~Electronic Supplementary Information (ESI) available: [details of any supplementary information available should be included here]. See DOI: 00.0000/00000000.}
%additional addresses can be cited as above using the lower-case letters, c, d, e... If all authors are from the same address, no letter is required

\footnotetext{\ddag~Additional footnotes to the title and authors can be included \textit{e.g.}\ `Present address:' or `These authors contributed equally to this work' as above using the symbols: \ddag, \textsection, and \P. Please place the appropriate symbol next to the author's name and include a \texttt{\textbackslash footnotetext} entry in the the correct place in the list.}


%%%END OF FOOTNOTES%%%

%%%MAIN TEXT%%%%
The main text of the article\cite{Mena2000} should appear here.

\subsection{This is the subsection heading style}
Section headings can be typeset with and without numbers.\cite{Abernethy2003}

\subsubsection{This is the subsubsection style.~~} These headings should end in a full point.  

\paragraph{This is the next level heading.~~} For this level please use \texttt{\textbackslash paragraph}. These headings should also end in a full point.

\section{Graphics and tables}
\subsection{Graphics}
Graphics should be inserted on the page where they are first mentioned (unless they are equations, which appear in the flow of the text).\cite{Cotton1999}

\begin{figure}[h]
\centering
  \includegraphics[height=3cm]{example1}
  \caption{An example figure caption.}
  \label{fgr:example}
\end{figure}

\begin{figure*}
 \centering
 \includegraphics[height=3cm]{example2}
 \caption{A two-column figure.}
 \label{fgr:example2col}
\end{figure*}

\subsection{Tables}
Tables typeset in RSC house style do not include vertical lines. Table footnote symbols are lower-case italic letters and are typeset at the bottom of the table. Table captions do not end in a full point.\cite{Arduengo1992,Eisenstein2005}


\begin{table}[h]
\small
  \caption{\ An example of a caption to accompany a table}
  \label{tbl:example}
  \begin{tabular*}{0.48\textwidth}{@{\extracolsep{\fill}}lll}
    \hline
    Header one (units) & Header two & Header three \\
    \hline
    1 & 2 & 3 \\
    4 & 5 & 6 \\
    7 & 8 & 9 \\
    10 & 11 & 12 \\
    \hline
  \end{tabular*}
\end{table}

Adding notes to tables can be complicated.  Perhaps the easiest method is to generate these manually.\footnote[4]{Footnotes should appear here. These might include comments relevant to but not central to the matter under discussion, limited experimental and spectral data, and crystallographic data.}

\begin{table*}
\small
  \caption{\ An example of a caption to accompany a table \textendash\ table captions do not end in a full point}
  \label{tbl:example}
  \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}lllllll}
    \hline
    Header one & Header two & Header three & Header four & Header five & Header six  & Header seven\\
    \hline
    1 & 2 & 3 & 4 & 5 & 6  & 7\\
    8 & 9 & 10 & 11 & 12 & 13 & 14 \\
    15 & 16 & 17 & 18 & 19 & 20 & 21\\
    \hline
  \end{tabular*}
\end{table*}

\section{Equations}

Equations can be typeset inline \textit{e.g.}\ $ y = mx + c$ or displayed with and without numbers:

 \[ A = \pi r^2 \]

\begin{equation}
  \frac{\gamma}{\epsilon x} r^2 = 2r
\end{equation}

You can also put lists into the text. You can have bulleted or numbered lists of almost any kind. 
The \texttt{mhchem} package can also be used so that formulae are easy to input: \texttt{\textbackslash ce\{H2SO4\}} gives \ce{H2SO4}. 

For footnotes in the main text of the article please number the footnotes to avoid duplicate symbols. \textit{e.g.}\ \texttt{\textbackslash footnote[num]\{your text\}}. The corresponding author $\ast$ counts as footnote 1, ESI as footnote 2, \textit{e.g.}\ if there is no ESI, please start at [num]=[2], if ESI is cited in the title please start at [num]=[3] \textit{etc.} Please also cite the ESI within the main body of the text using \dag.

\section{Conclusions}
The conclusions section should come in this section at the end of the article, before the Conflicts of interest statement.

\section*{Conflicts of interest}
In accordance with our policy on \href{http://www.rsc.org/journals-books-databases/journal-authors-reviewers/author-responsibilities/#code-of-conduct}{Conflicts of interest} please ensure that a conflicts of interest statement is included in your manuscript here.  Please note that this statement is required for all submitted manuscripts.  If no conflicts exist, please state that ``There are no conflicts to declare''.

\section*{Acknowledgements}
The Acknowledgements come at the end of an article after Conflicts of interest and before the Notes and references.

\lipsum

%%%END OF MAIN TEXT%%%

%The \balance command can be used to balance the columns on the final page if desired. It should be placed anywhere within the first column of the last page.

\balance

%If notes are included in your references you can change the title from 'References' to 'Notes and references' using the following command:
%\renewcommand\refname{Notes and references}

%%%REFERENCES%%%
\bibliography{rsc} %You need to replace "rsc" on this line with the name of your .bib file
\bibliographystyle{rsc} %the RSC's .bst file

\end{document}

编辑:当编译正确时,我被要求提供软件包的版本。我从源代码管理中排除了 .log 文件,但我确实设法找到了一个来自正确时代的文件:

Package: extsizes 1996/10/08 v1.0 Non Standard LaTeX Package
Package: natbib 2010/09/13 8.31b (PWD, AO)
Package: mhchem 2016/08/07 v4.05 for typesetting chemical formulae
Package: expl3 2016/11/21 v6760 L3 programming layer (loader) 
Package: expl3 2016/11/21 v6760 L3 programming layer (code)
Package: l3keys2e 2016/11/21 v6760 LaTeX2e option processing using LaTeX3 keys
Package: l3regex 2016/11/21 v6760 L3 Experimental regular expressions
Package: l3tl-build 2016/11/21 v6760 L3 Experimental token list construction
Package: l3tl-analysis 2016/06/13 v6589 L3 Experimental token lists analysis
Package: l3flag 2016/11/21 v6760 L3 Experimental flags
Package: l3str-convert 2016/09/07 v6699 L3 Experimental string encoding convers
Package: calc 2014/10/28 v4.3 Infix arithmetic (KKT,FJ)
Package: amsmath 2016/06/28 v2.15d AMS math features
Package: amstext 2000/06/29 v2.01 AMS text
Package: amsbsy 1999/11/29 v1.2d Bold Symbols
Package: amsopn 2016/03/08 v2.02 operator names
Package: xparse 2016/11/21 v6760 L3 Experimental document command parser
Package: chemgreek 2016/02/10 v1.0e interfaceforuprightgreeklettersforuseinchem
Package: graphics 2016/07/10 v1.0t Standard LaTeX Graphics (DPC,SPQR)
Package: trig 2016/01/03 v1.10 sin cos tan (DPC)
Package: infwarerr 2016/05/16 v1.4 Providing info/warning/error messages (HO)
Package: ltxcmds 2016/05/16 v1.23 LaTeX kernel commands for general use (HO)
Package: geometry 2010/09/12 v5.6 Page Geometry
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
Package: ifpdf 2016/05/14 v3.1 Provides the ifpdf switch
Package: ifvtex 2016/05/16 v1.6 Detect VTeX and its facilities (HO)
Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
Package: balance 1999/02/23 4.3 (PWD)
Package: widetext 
Package: flushend 2016/06/21 v3.2 Balancing columns in twocolumn mode
Package: etoolbox 2015/08/02 v2.2a e-TeX tools for LaTeX (JAW)
Package: cuted 2012/10/04 v1.5 Mixing onecolumn and twocolumn modes
Package: sectsty 2002/02/25 v2.0.2 Commands to change all sectional heading sty
Package: lastpage 2015/03/29 v1.2m Refers to last page's name (HMM; JPG)
Package: caption 2016/02/21 v3.3-144 Customizing captions (AR)
Package: caption3 2016/05/22 v1.7-166 caption3 kernel (AR)
Package: float 2001/11/08 v1.3d Float enhancements (AL)
**Package: fancyhdr 2016/09/06 3.8 Extensive control of page headers and footers**
Package: fnpos 1999/07/14 v1.0 
Package: babel 2016/04/23 3.9r The Babel package
Package: array 2014/10/28 v2.4c Tabular extension package (FMi)
Package: droidsans 2011/09/11 Droid Sans
Package: slantsc 2012/01/01 v2.11 Provide Slanted an Italic Small Caps
Package: ifthen 2014/09/29 v1.1c Standard LaTeX ifthen package (DPC)
Package: charter 2005/04/12 PSNFSS-v9.2a (P.Dyballa) 
Package: fontenc 2016/06/19 v1.99m Standard LaTeX package
Package: xcolor 2016/05/11 v2.12 LaTeX color extensions (UK)
Package: setspace 2011/12/19 v6.7a set line spacing
Package: titlesec 2016/03/21 v2.10.2 Sectioning titles
Package: pdflscape 2016/05/14 v0.11 Display of landscape pages in PDF (HO)
Package: lscape 2000/10/22 v3.01 Landscape Pages (DPC)
Package: subcaption 2016/05/22 v1.1-161 Sub-captions (AR)
Package: booktabs 2016/04/27 v1.618033 publication quality tables
Package: inputenc 2015/03/17 v1.2c Input encoding file
Package: newtxtext 2016/08/12 v1.5
Package: fontaxes 2014/03/23 v1.0d Font selection axes
Package: xkeyval 2014/12/03 v2.7a package option processing (HA)
Package: fontenc 2016/06/19 v1.99m Standard LaTeX package
Package: textcomp 2016/06/19 v1.99m Standard LaTeX package
Package: newtxmath 2016/11/18 v1.514
Package: ifluatex 2016/05/16 v1.4 Provides the ifluatex switch (HO)
Package: microtype 2016/05/14 v2.6a Micro-typographical refinements (RS)
Package: siunitx 2016/11/24 v2.7 A comprehensive (SI) units package
Package: translator 2010/06/12 ver 1.10
Package: chemmacros 2016/06/08 v5.7a comprehensive support for typesetting chem
Package: chemmacros5 2016/06/08 v5.7a comprehensive support for typesetting che
Package: scrlfile 2016/06/14 v3.21 KOMA-Script package (loading files)
Package: bm 2016/07/07 v1.2b Bold Symbol Support (DPC/FMi)
Package: translations 2016/06/02 v1.4a internationalization of LaTeX2e packages
Package: cnltx-base 2015/08/17 v0.13 LaTeX tools and documenting facilities (CN
Package: pgfopts 2014/07/10 v2.1a LaTeX package options with pgfkeys
Package: pdftexcmds 2016/05/21 v0.22 Utility functions of pdfTeX for LuaTeX (HO
Package: trimspaces 2009/09/17 v1.1 Trim spaces around a token list
Package: everyshi 2001/05/15 v3.00 EveryShipout Package (MS)
Package: pgfrcs 2015/08/07 v3.0.1a (rcs-revision 1.31)
Package: pgf 2015/08/07 v3.0.1a (rcs-revision 1.15)
Package: graphicx 2014/10/28 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)
Package: pgfsys 2014/07/09 v3.0.1a (rcs-revision 1.48)
Package: pgfcore 2010/04/11 v3.0.1a (rcs-revision 1.7)
Package: pgfcomp-version-0-65 2007/07/03 v3.0.1a (rcs-revision 1.7)
Package: pgfcomp-version-1-18 2007/07/23 v3.0.1a (rcs-revision 1.1)
Package: pgffor 2013/12/13 v3.0.1a (rcs-revision 1.25)
Package: tikz 2015/08/07 v3.0.1a (rcs-revision 1.151)
Package: xtemplate 2016/11/21 v6760 L3 Experimental prototype document function
Package: xfrac 2016/11/21 v6760 L3 Experimental split-level fractions
Package: nicefrac 1998/08/04 v0.9b Nice fractions
Package: chemformula 2016/08/21 v4.15c typeset chemical compounds and reactions
Package: chemnum 2016/04/14 v1.2 a comprehensive approach for the numbering of 
Package: psfrag 1998/04/11 v3.04 PSfrag (MCG)
Package: pgfplots 2016/08/10 v1.14 Data Visualization (1.14)
Package: hyperref 2016/06/24 v6.83q Hypertext links for LaTeX
Package: hobsub-hyperref 2016/05/16 v1.14 Bundle oberdiek, subset hyperref (HO)
Package: hobsub-generic 2016/05/16 v1.14 Bundle oberdiek, subset generic (HO)
Package: hobsub 2016/05/16 v1.14 Construct package bundles (HO)
Package: intcalc 2016/05/16 v1.2 Expandable calculations with integers (HO)
Package: etexcmds 2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO)
Package: kvsetkeys 2016/05/16 v1.17 Key value parser (HO)
Package: kvdefinekeys 2016/05/16 v1.4 Define keys (HO)
Package: pdfescape 2016/05/16 v1.14 Implements pdfTeX's escape features (HO)
Package: bigintcalc 2016/05/16 v1.4 Expandable calculations on big integers (HO
Package: bitset 2016/05/16 v1.2 Handle bit-vector datatype (HO)
Package: uniquecounter 2016/05/16 v1.3 Provide unlimited unique counter (HO)
Package: letltxmacro 2016/05/16 v1.5 Let assignment for LaTeX macros (HO)
Package: hopatch 2016/05/16 v1.3 Wrapper for package hooks (HO)
Package: xcolor-patch 2016/05/16 xcolor patch
Package: atveryend 2016/05/16 v1.9 Hooks at the very end of document (HO)
Package: atbegshi 2016/06/09 v1.18 At begin shipout hook (HO)
Package: refcount 2016/05/16 v3.5 Data extraction from label references (HO)
Package: hycolor 2016/05/16 v1.8 Color options for hyperref/bookmark (HO)
Package: auxhook 2016/05/16 v1.4 Hooks for auxiliary files (HO)
Package: kvoptions 2016/05/16 v3.12 Key value format for package options (HO)
Package: url 2013/09/16  ver 3.4  Verb mode for urls, etc.
Package: rerunfilecheck 2016/05/16 v1.8 Rerun checks for auxiliary files (HO)
Package: epstopdf-base 2016/05/15 v2.6 Base part for package epstopdf
Package: grfext 2016/05/16 v1.2 Manage graphics extensions (HO)
Package: nameref 2016/05/21 v2.44 Cross-referencing by name of section
Package: gettitlestring 2016/05/16 v1.5 Cleanup title references (HO)
File: size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
File: size9.clo 1999/11/11 v1.4a NON-Standard LaTeX file (size option)
File: l3pdfmode.def 2016/08/18 v6679 L3 Experimental driver: PDF mode
File: amsgen.sty 1999/11/30 v2.0 generic functions
File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration
File: pdftex.def 2016/07/10 v0.06j Graphics/color for pdfTeX
File: babel.def 2016/04/23 3.9r Babel common definitions
File: t1enc.def 2016/06/19 v1.99m Standard LaTeX file
File: color.cfg 2016/01/02 v1.6 sample color configuration
File: dvipsnam.def 2016/06/17 v3.0m Driver-dependent file (DPC,SPQR)
File: utf8.def 2016/02/28 v1.1s UTF-8 support for inputenc
File: t1enc.dfu 2016/02/28 v1.1s UTF-8 support for inputenc
File: ot1enc.dfu 2016/02/28 v1.1s UTF-8 support for inputenc
File: omsenc.dfu 2016/02/28 v1.1s UTF-8 support for inputenc
File: xkeyval.tex 2014/12/03 v2.7a key=value parser (HA)
File: t1enc.def 2016/06/19 v1.99m Standard LaTeX file
File: ts1enc.def 2001/06/05 v3.0e (jk/car/fm) Standard LaTeX file
File: ts1enc.dfu 2016/02/28 v1.1s UTF-8 support for inputenc
File: t1ntxtlf.fd 2015/01/17 v1.0 font definition file for T1/ntx/tlf
File: microtype-pdftex.def 2016/05/14 v2.6a Definitions specific to pdftex (RS)
File: microtype.cfg 2016/05/14 v2.6a microtype main configuration file (RS)
File: chemmacros.module.base.code.tex 2016/06/08 v5.7a chemmacros module `base'
File: chemmacros.module.errorcheck.code.tex 2016/06/08 v5.7a chemmacros module 
File: chemmacros.module.lang.code.tex 2016/06/08 v5.7a chemmacros module `lang'
File: chemmacros.module.greek.code.tex 2016/06/08 v5.7a chemmacros module `gree
File: chemmacros.module.chemformula.code.tex 2016/06/08 v5.7a chemmacros module
File: chemmacros.module.charges.code.tex 2016/06/08 v5.7a chemmacros module `ch
File: chemmacros.module.acid-base.code.tex 2016/06/08 v5.7a chemmacros module `
File: chemmacros.module.symbols.code.tex 2016/06/08 v5.7a chemmacros module `sy
File: chemmacros.module.particles.code.tex 2016/06/08 v5.7a chemmacros module `
File: chemmacros.module.phases.code.tex 2016/06/08 v5.7a chemmacros module `pha
File: chemmacros.module.nomenclature.code.tex 2016/06/08 v5.7a chemmacros modul
File: chemmacros.module.tikz.code.tex 2016/06/08 v5.7a chemmacros module `tikz'
File: pgf.cfg 2008/05/14  (rcs-revision 1.7)
File: pgfsys-pdftex.def 2014/10/11  (rcs-revision 1.35)
File: pgfsys-common-pdf.def 2013/10/10  (rcs-revision 1.13)
File: pgfsyssoftpath.code.tex 2013/09/09  (rcs-revision 1.9)
File: pgfsysprotocol.code.tex 2006/10/16  (rcs-revision 1.4)
File: pgfcorepoints.code.tex 2013/10/07  (rcs-revision 1.27)
File: pgfcorepathconstruct.code.tex 2013/10/07  (rcs-revision 1.29)
File: pgfcorepathusage.code.tex 2014/11/02  (rcs-revision 1.24)
File: pgfcorescopes.code.tex 2015/05/08  (rcs-revision 1.46)
File: pgfcoregraphicstate.code.tex 2014/11/02  (rcs-revision 1.12)
File: pgfcoretransformations.code.tex 2015/08/07  (rcs-revision 1.20)
File: pgfcorequick.code.tex 2008/10/09  (rcs-revision 1.3)
File: pgfcoreobjects.code.tex 2006/10/11  (rcs-revision 1.2)
File: pgfcorepathprocessing.code.tex 2013/09/09  (rcs-revision 1.9)
File: pgfcorearrows.code.tex 2015/05/14  (rcs-revision 1.43)
File: pgfcoreshade.code.tex 2013/07/15  (rcs-revision 1.15)
File: pgfcoreimage.code.tex 2013/07/15  (rcs-revision 1.18)
File: pgfcoreexternal.code.tex 2014/07/09  (rcs-revision 1.21)
File: pgfcorelayers.code.tex 2013/07/18  (rcs-revision 1.7)
File: pgfcoretransparency.code.tex 2013/09/30  (rcs-revision 1.5)
File: pgfcorepatterns.code.tex 2013/11/07  (rcs-revision 1.5)
File: pgfmoduleshapes.code.tex 2014/03/21  (rcs-revision 1.35)
File: pgfmoduleplot.code.tex 2015/08/03  (rcs-revision 1.13)
File: pgflibraryplothandlers.code.tex 2013/08/31 v3.0.1a (rcs-revision 1.20)
File: pgfmodulematrix.code.tex 2013/09/17  (rcs-revision 1.8)
File: tikzlibrarytopaths.code.tex 2008/06/17 v3.0.1a (rcs-revision 1.2)
File: tikzlibrarycalc.code.tex 2013/07/15 v3.0.1a (rcs-revision 1.9)
File: chemmacros.module.units.code.tex 2016/06/08 v5.7a chemmacros module `unit
File: pgflibraryarrows.meta.code.tex 2015/05/13 v3.0.1a (rcs-revision 1.13)
File: tikzlibraryplotmarks.code.tex 2008/01/09 v3.0.1a (rcs-revision 1.1)
File: pgflibraryplotmarks.code.tex 2015/08/03 v3.0.1a (rcs-revision 1.14)
File: pd1enc.def 2016/06/24 v6.83q Hyperref: PDFDocEncoding definition (HO)
File: hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
File: hpdftex.def 2016/06/24 v6.83q Hyperref driver for pdfTeX
File: puenc.def 2016/06/24 v6.83q Hyperref: PDF Unicode definition (HO)
File: omlntxmi.fd 2015/08/25 Fontinst v1.933 font definitions for OML/ntxmi.
File: untxexa.fd 2012/04/16 Fontinst v1.933 font definitions for U/ntxexa.
File: ts1cmr.fd 2014/09/29 v2.5h Standard LaTeX font definitions
File: lmsntxsy.fd 2016/07/02 Fontinst v1.933 font definitions for LMS/ntxsy.
File: lmxntxexx.fd 2016/07/03 Fontinst v1.933 font definitions for LMX/ntxexx.
File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv
File: siunitx-abbreviations.cfg 2016/11/24 v2.7 siunitx: Abbreviated units
File: translations-basic-dictionary-english.trsl (english translation file `tra
File: ot1ntxtlf.fd 2015/01/17 v1.0 font definition file for OT1/ntx/tlf
File: untxmia.fd 2016/01/31 Fontinst v1.933 font definitions for U/ntxmia.
File: untxsym.fd 2015/03/20 Fontinst v1.933 font definitions for U/ntxsym.
File: untxsyc.fd 2012/04/12 Fontinst v1.933 font definitions for U/ntxsyc.
File: t1qhv.fd 2009/09/25 v1.2 font definition file for T1/qhv
File: t1ntxtt.fd 2012/04/20 v3.1
File: head_foot/DOI.pdf Graphic file (type pdf)
File: head_foot/dates.pdf Graphic file (type pdf)
File: t1bch.fd 2004/10/18 font definitions for T1/bch.
File: mt-bch.cfg 2007/03/03 v1.5 microtype config. file: Bitstream Charter (RS)
File: ts1bch.fd 2004/10/18 font definitions for TS1/bch.
File: head_foot/journal_name.pdf Graphic file (type pdf)
File: head_foot/header_bar.pdf Graphic file (type pdf)
File: head_foot/RSC_LOGO_CMYK.pdf Graphic file (type pdf)
File: head_foot/LF.pdf Graphic file (type pdf)
File: head_foot/RF.pdf Graphic file (type pdf)
File: ts1qhv.fd 2009/09/25 v1.2 font definition file for TS1/qhv

编辑3:我发现另一台计算机,我有一段时间没有更新 LaTeX 了,但它仍然可以在那里正确编译:fancyhdr 2017/06/30 v3.9a Extensive control of page headers and footer是安装在那里的版本。

答案1

[免责声明:我是 Overleaf 的支持人员。]RSC 模板位于https://www.overleaf.com/gallery/tagged/rsc-official现在已全部更新,以便与 TeX Live 2018 及更新版本兼容。我们已将我们的更改告知 RSC,但似乎直接链接到 .zip 位于https://www.rsc.org/journals-books-databases/journal-authors-reviewers/author-tools-services/尚未更新。

如果您没有 Overleaf 帐户,无法从 Overleaf 下载更新的模板,您可以在当前文件中进行以下更改来解决此问题:

在你的 .tex 文件中查找如下行:

\fancyhead[C]{\includegraphics[width=18.5cm]{head_foot/header_bar}}
\fancyhead[L]{\hspace{0cm}\vspace{1.5cm}\includegraphics[height=30pt]{head_foot/PCCP}}
\fancyhead[R]{\hspace{0cm}\vspace{1.7cm}\includegraphics[height=55pt]{head_foot/RSC_LOGO_CMYK}}

并将其删除。

接下来,寻找\vspace{3cm}附近的\twocolumn[...]。在此之前添加以下内容\vspace{3cm}

{\includegraphics[height=30pt]{head_foot/journal_name}\hfill%
 \raisebox{0pt}[0pt][0pt]{\includegraphics[height=55pt]{head_foot/RSC_LOGO_CMYK}}%
 \\[1ex]%
 \includegraphics[width=18.5cm]{head_foot/header_bar}}\par

并将\vspace{3cm}其更改为\vspace{1em}

相关内容