elsarticle 문서 클래스: 머리말 부분이 서로 겹쳐서 작성됩니다.

elsarticle 문서 클래스: 머리말 부분이 서로 겹쳐서 작성됩니다.

엘스비어에 논문을 제출하려고 하는데, 서문에 뭔가 잘못된 것(또는 우리가 잘못하고 있는 것)이 있는 것 같습니다. 다음은 코드 비트입니다.

\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로 보면 다음과 같습니다.

여기에 이미지 설명을 입력하세요

여기서 무슨 일이 일어나고 있는 걸까요?


둘 다 덕분에다스비스그리고장-세바스티앙-고슬랭(특히 친절하게 매너를 가르쳐준 다스비스[ ;-) ]), 인내심을 갖고 최소한의 예를 만들어본 뒤 무엇이 문제인지 파악했습니다. 자세한 내용을 설명하기 위해 두 가지 예를 첨부합니다. 하나는 짧은 초록(짧은 텍스;짧은 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페이지 분량의 기사가 생성됩니다. 하지만 초록의 줄에는 번호가 매겨지지 않습니다.

여기에 이미지 설명을 입력하세요

관련 정보