他们在最后一页添加错误的标题(如图 A.1)。

他们在最后一页添加错误的标题(如图 A.1)。

我从日记中得到规则

稿件(包括标题页、摘要、稿件文本、参考文献和表格/图例)、表格和图片。文件应使用适当且描述性的文件名进行标记(例如,SmithText.doc、Fig1.eps、Table3.doc)。将文本、表格和图片作为单独的文件上传。

因此,我删除了稿件中的所有图片,只在文件末尾添加了标题。这样对吗?但是,当我在最后一页(附录之后)找到图例时,标题图片变成了图 A.1,而不是我预期的图 1。这是我的 latex 源。我的文件中有任何错误吗?谢谢

\documentclass[review,12pt, sort&compress]{elsarticle}
\def\bibsection{\section*{References}}
\makeatletter
\def\ps@pprintTitle{%
 \let\@oddhead\@empty
 \let\@evenhead\@empty
 \def\@oddfoot{\centerline{\thepage}}%
 \let\@evenfoot\@oddfoot}
\makeatother
%% For including figures, graphicx.sty has been loaded in
%% elsarticle.cls. If you prefer to use the old commands
%% please give \usepackage{epsfig}

%% The amssymb package provides various useful mathematical symbols
\usepackage{amssymb}
\usepackage[mathscr]{euscript}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{amsthm}
\usepackage[section]{placeins}
\newtheorem{lemma}{Lemma}
\renewcommand\qedsymbol{$\blacksquare$}

\begin{document}
\captionsetup[figure]{labelfont={bf},labelformat={default},labelsep=period,name={Fig.}}
\section{Introduction}


%% The Appendices part is started with the command \appendix;
%% appendix sections are then done as normal sections

\begin{appendix}
    \section{}
    \setcounter{lemma}{0}
    \renewcommand{\thelemma}{\Alph{section}\arabic{lemma}}
     \begin{lemma}
    \label{lemma:A1}
    \begin{proof}   
    \end{proof}

    \end{lemma}
\end{appendix}

\begin{thebibliography}{00}

\end{thebibliography}

\newpage
\begin{figure}
\captionsetup{labelfont={bf}}
 \caption{This is legend for figure1}
  \label{fig:1}
\end{figure}

\begin{figure}
\captionsetup{labelfont={bf}}
  \caption{This is legend for figure2}
  \label{fig:2}
\end{figure}


\end{document}

\endinput

在此处输入图片描述

答案1

由此问题,在你的新页面后添加此行\setcounter{figure}{0} \renewcommand{\thefigure}{\arabic{figure}}

\documentclass[review,12pt, sort&compress]{elsarticle}
\def\bibsection{\section*{References}}
\makeatletter
\def\ps@pprintTitle{%
 \let\@oddhead\@empty
 \let\@evenhead\@empty
 \def\@oddfoot{\centerline{\thepage}}%
 \let\@evenfoot\@oddfoot}
\makeatother
%% For including figures, graphicx.sty has been loaded in
%% elsarticle.cls. If you prefer to use the old commands
%% please give \usepackage{epsfig}

%% The amssymb package provides various useful mathematical symbols
\usepackage{amssymb}
\usepackage[mathscr]{euscript}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{amsthm}
\usepackage[section]{placeins}
\newtheorem{lemma}{Lemma}
\renewcommand\qedsymbol{$\blacksquare$}

\begin{document}
\captionsetup[figure]{labelfont={bf},labelformat={default},labelsep=period,name={Fig.}}
\section{Introduction}


%% The Appendices part is started with the command \appendix;
%% appendix sections are then done as normal sections

\begin{appendix}
    \section{}
    \setcounter{lemma}{0}
    \renewcommand{\thelemma}{\Alph{section}\arabic{lemma}}
     \begin{lemma}
    \label{lemma:A1}
    \begin{proof}   
    \end{proof}

    \end{lemma}
\end{appendix}

\begin{thebibliography}{00}

\end{thebibliography}

\newpage
\setcounter{figure}{0} \renewcommand{\thefigure}{\arabic{figure}}
\begin{figure}
\captionsetup{labelfont={bf}}
 \caption{This is legend for figure1}
  \label{fig:1}
\end{figure}

\begin{figure}
\captionsetup{labelfont={bf}}
  \caption{This is legend for figure2}
  \label{fig:2}
\end{figure}


\end{document}

相关内容