elsarticle 文档类:前言部分是相互重叠的

elsarticle 文档类:前言部分是相互重叠的

我们即将向 Elsevier 提交一篇论文,但前言部分似乎出了点问题(或者我们做错了)。以下是代码片段:

\author[FFNS]{One Author\corref{mycorrespondingauthor}}

\cortext[mycorrespondingauthor]{Correspondence should be addressed
to One Author, Laboratory for Something, Faculty of
Anotherthing, University of Thirdthing. Email: {\tt [email protected]}}

其 pdf 格式如下:

在此处输入图片描述

这里发生了什么?


感谢达斯比斯尚塞巴斯蒂安戈瑟兰(但特别是 darthbith 友善地教了我一些礼仪 [ ;-) ]),我耐心地做了一个最小的例子,然后弄清楚了问题所在。为了解释细节,我附上了两个例子:一个带有简短的摘要(短文本简短的 pdf)和一篇长摘要横跨头版和第一页的文章(长文本长 pdf)。

简而言之,在 shortAbs 中,我在正文开头添加了 \newpage,这带来了不同——简洁、可读的编译。(如果没有 \newpage,pdf 仍会编译出那个丑陋的错误!)在 longAbs 中,由于摘要超过两页,我没有弄清楚如何解决这个问题。

现在,我想我可以提出更好的问题:如果摘要很长并且您使用 elsarticle 文档类,如何使通信注释和关于期刊的注释以及日期不重叠?

谢谢!

答案1

在与达斯比斯尚塞巴斯蒂安戈瑟兰,我想我们已经找出了问题的原因。肯定是 lineno 包的 linenumbers。此外,抽象长度也可能造成干扰。以下达斯比斯建议/请求,我发布了两个最小的例子,以便任何人都可以复制关键行为:

(1)摘要:

\documentclass[review]{elsarticle}

\usepackage{lineno}
\usepackage{xcolor}
\usepackage{tabulary}

\journal{Some Journal}

%-- Line numbering
\pagewiselinenumbers
\modulolinenumbers[2]

%-- Hyperreferencing
\usepackage[bookmarks=true,bookmarksnumbered=true,bookmarksopen=true,
    bookmarksopenlevel=2,breaklinks=true,pdfborder={0 0 1},backref=false,
    colorlinks=true,citecolor=blue,urlcolor=blue,linkcolor=blue]
    {hyperref}
\hypersetup{pdfstartview={XYZ null null 1}}

%-- Float definition
\renewcommand\floatpagefraction{.9}
\renewcommand\topfraction{.9}
\renewcommand\bottomfraction{.9}
\renewcommand\textfraction{.1}   
\setcounter{totalnumber}{50}
\setcounter{topnumber}{50}
\setcounter{bottomnumber}{50}

%%%%%%%%%%%%%%%%%%%%%%%
%% Elsevier bibliography styles
%%%%%%%%%%%%%%%%%%%%%%%
%% To change the style, put a % in front of the second line of the current style and
%% remove the % from the second line of the style you would like to use.
%%%%%%%%%%%%%%%%%%%%%%%

%% Numbered
%\bibliographystyle{model1-num-names}

%% Numbered without titles
%\bibliographystyle{model1a-num-names}

%% Harvard
%\bibliographystyle{model2-names.bst}\biboptions{authoryear}

%% Vancouver numbered
%\usepackage{numcompress}\bibliographystyle{model3-num-names}

%% Vancouver name/year
%\usepackage{numcompress}\bibliographystyle{model4-names}\biboptions{authoryear}

%% APA style
%\bibliographystyle{model5-names}\biboptions{authoryear}

%% AMA style
%\usepackage{numcompress}\bibliographystyle{model6-num-names}

%% `Elsevier LaTeX' style
\bibliographystyle{elsarticle-num}
%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}

\begin{frontmatter}

\title{Is this a boring title? \protect\\
    The effect of boring titles on the boresommness}

\author[X]{One Author\corref{mycorrespondingauthor}}

\cortext[mycorrespondingauthor]{Correspondence should be addressed
to One Author, Laboratory for Something, Faculty of
Anotherthing, University of Thirdthing. Email: {\tt [email protected]}}

\author[X,Y]{Second Author}

\address[X]{University of Third Thing}
\address[Y]{Awe Some University of Awesomeness}

\begin{abstract}
{\bf Groucho Marx:} Each morning when I open my eyes I say to myself: I, not
events, have the power to make me happy or unhappy today. I can choose which it
shall be. Yesterday is dead, tomorrow hasn't arrived yet. I have just one day,
today, and I'm going to be happy in it. {\bf Viktor E. Frankl:} We who lived in
concentration camps can remember the men who walked through the huts comforting
others, giving away their last piece of bread. They may have been few in
number, but they offer sufficient proof that everything can be taken from a man
but one thing: the last of the human freedoms -- to choose one's attitude in
any given set of circumstances, to choose one's own way. {\bf Mark Twain:}
Twenty years from now you will be more disappointed by the things you didn't do
than by the ones you did. So throw off the bowlines, Sail away from the safe
harbor. Catch the trade winds in your sails. Explore. Dream. \\
\end{abstract}

\begin{keyword}
    one \sep two \sep three \sep four \sep five
\end{keyword}

\end{frontmatter}

\newpage

\linenumbers

\section{Introduction}

BLAH BLAH BLAH

\section*{Acknowledgements}

\noindent
This research was funded by the Ministry of Time and Money Waste of the Republic of Rich People (grants ON179006 and ON179033), and is partially based on F. A's PhD thesis carried out at the
University of Thirdthing. We thank all \ldots

\end{document}

(2)长摘要:

\documentclass[review]{elsarticle}

\usepackage{lineno}
\usepackage{xcolor}
\usepackage{tabulary}

\journal{Some Journal}

%-- Line numbering
\pagewiselinenumbers
\modulolinenumbers[2]

%-- Hyperreferencing
\usepackage[bookmarks=true,bookmarksnumbered=true,bookmarksopen=true,
    bookmarksopenlevel=2,breaklinks=true,pdfborder={0 0 1},backref=false,
    colorlinks=true,citecolor=blue,urlcolor=blue,linkcolor=blue]
    {hyperref}
\hypersetup{pdfstartview={XYZ null null 1}}

%-- Float definition
\renewcommand\floatpagefraction{.9}
\renewcommand\topfraction{.9}
\renewcommand\bottomfraction{.9}
\renewcommand\textfraction{.1}   
\setcounter{totalnumber}{50}
\setcounter{topnumber}{50}
\setcounter{bottomnumber}{50}

%%%%%%%%%%%%%%%%%%%%%%%
%% Elsevier bibliography styles
%%%%%%%%%%%%%%%%%%%%%%%
%% To change the style, put a % in front of the second line of the current style and
%% remove the % from the second line of the style you would like to use.
%%%%%%%%%%%%%%%%%%%%%%%

%% Numbered
%\bibliographystyle{model1-num-names}

%% Numbered without titles
%\bibliographystyle{model1a-num-names}

%% Harvard
%\bibliographystyle{model2-names.bst}\biboptions{authoryear}

%% Vancouver numbered
%\usepackage{numcompress}\bibliographystyle{model3-num-names}

%% Vancouver name/year
%\usepackage{numcompress}\bibliographystyle{model4-names}\biboptions{authoryear}

%% APA style
%\bibliographystyle{model5-names}\biboptions{authoryear}

%% AMA style
%\usepackage{numcompress}\bibliographystyle{model6-num-names}

%% `Elsevier LaTeX' style
\bibliographystyle{elsarticle-num}
%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}

\begin{frontmatter}

\title{Is this a boring title? \protect\\
    The effect of boring titles on the boresommness}

\author[X]{One Author\corref{mycorrespondingauthor}}

\cortext[mycorrespondingauthor]{Correspondence should be addressed
to One Author, Laboratory for Something, Faculty of
Anotherthing, University of Thirdthing. Email: {\tt [email protected]}}

\author[X,Y]{Second Author}

\address[X]{University of Third Thing}
\address[Y]{Awe Some University of Awesomeness}

\begin{abstract}
{\bf Groucho Marx:} Each morning when I open my eyes I say to myself: I, not
events, have the power to make me happy or unhappy today. I can choose which it
shall be. Yesterday is dead, tomorrow hasn't arrived yet. I have just one day,
today, and I'm going to be happy in it. {\bf Viktor E. Frankl:} We who lived in
concentration camps can remember the men who walked through the huts comforting
others, giving away their last piece of bread. They may have been few in
number, but they offer sufficient proof that everything can be taken from a man
but one thing: the last of the human freedoms -- to choose one's attitude in
any given set of circumstances, to choose one's own way. {\bf Mark Twain:}
Twenty years from now you will be more disappointed by the things you didn't do
than by the ones you did. So throw off the bowlines, Sail away from the safe
harbor. Catch the trade winds in your sails. Explore. Dream. {\bf Johann
Wolfgang von Goethe:} All truly wise thoughts have been thought already
thousands of times; but to make them truly ours, we must think them over again
honestly, till they take root in our personal experience. {\bf John Eliot:}
History shows us that the people who end up changing the world -- the great
political, social, scientific, technological, artistic, even sports
revolutionaries -- are always nuts, until they are right, and then they are
geniuses. {\bf Calvin Coolidge:} Nothing in the world can take the place of
persistence. Talent will not; nothing is more common than unsuccessful men with
talent. Genius will not; unrewarded genius is almost a proverb. Education will
not; the world is full of educated derelicts. Persistence and determination are
omnipotent. The slogan ``press on'' has solved and always will solve
the problems of the human race. {\bf Alfred D'Souza:} For a long time it had
seemed to me that life was about to begin -- real life. But there was always
some obstacle in the way, something to be gotten through first, some unfinished
business, time still to be served, a debt to be paid. Then life would begin. At
last it dawned on me that these obstacles were my life. {\bf Louise L Hay:} You
are not here to please other people or to live your lives their way. You can
only live it your own way and walk your own pathway. You have come to fulfill
yourself and express love on the deepest level. You are here to learn and grow.
When you leave the planet... the only thing you take is your capacity to love!
{\bf Napoleon Hill:} The strongest oak of the forest is not the one that is
protected from the storm and hidden from the sun. It's the one that stands in
the open where it is compelled to struggle for its existence against the winds
and rains and the scorching sun. \\
\end{abstract}

\begin{keyword}
    one \sep two \sep three \sep four \sep five
\end{keyword}

\end{frontmatter}

\linenumbers

\section{Introduction}

BLAH BLAH BLAH

\section*{Acknowledgements}

\noindent
This research was funded by the Ministry of Time and Money Waste of the Republic of Rich People (grants ON179006 and ON179033), and is partially based on F. A's PhD thesis carried out at the
University of Thirdthing. We thank all \ldots

\end{document}

答案2

该问题似乎源于此处讨论的环境的linenumbers使用:abstractelsarticle 和 lineno 的问题一个解决方法是将linenumbers命令移至文章正文,例如在此 MWE 中:

\documentclass[review]{elsarticle}

\usepackage{lipsum} % only for filler text
\usepackage{lineno}
\modulolinenumbers[2]

\journal{Some Journal}

\begin{document}

    \begin{frontmatter}

        \title{Some Title}

        \author[FFNS]{One Author\corref{mycorrespondingauthor}}

        \cortext[mycorrespondingauthor]{Correspondence should be addressed
        to One Author, Laboratory for Something, Faculty of
        Anotherthing, University of Thirdthing. Email: {\tt [email protected]}}

        \begin{abstract}            
            \lipsum[1-3] % filler text          
        \end{abstract}

    \end{frontmatter}

    \pagewiselinenumbers
    \lipsum[1-2] % filler text

\end{document}

这样文章就有 2 页,摘要占满 2 页,页脚注释中没有重叠文本。不过摘要的行数不会被编号。

在此处输入图片描述

相关内容