Elsarticle class title note problem











up vote
0
down vote

favorite












I am trying to compile a latex file using the elsarticle class. I am going through the elsevier article template:



documentclass[review]{elsarticle}

usepackage{lineno,hyperref}
modulolinenumbers[5]

journal{Journal of LaTeX Templates}

bibliographystyle{elsarticle-num}

begin{document}

begin{frontmatter}

title{Elsevier LaTeX templatetnoteref{mytitlenote}}
tnotetext[mytitlenote]{Fully documented templates are available in the elsarticle package on href{http://www.ctan.org/tex-archive/macros/latex/contrib/elsarticle}{CTAN}.}

author{Elsevierfnref{myfootnote}}
address{Radarweg 29, Amsterdam}
fntext[myfootnote]{Since 1880.}

author[mymainaddress,mysecondaryaddress]{Elsevier Inc}
ead[url]{www.elsevier.com}

author[mysecondaryaddress]{Global Customer Servicecorref{mycorrespondingauthor}}
cortext[mycorrespondingauthor]{Corresponding author}
ead{support@elsevier.com}

address[mymainaddress]{1600 John F Kennedy Boulevard, Philadelphia}
address[mysecondaryaddress]{360 Park Avenue South, New York}

begin{abstract}
This template helps you to create a properly formatted LaTeX manuscript.
end{abstract}

begin{keyword}
texttt{elsarticle.cls}sep LaTeXsep Elsevier sep template
MSC[2010] 00-01sep 99-00
end{keyword}

end{frontmatter}

linenumbers

section{The Elsevier article class}

paragraph{Installation} If the document class emph{elsarticle} is not available on your computer, you can download and install the system package emph{texlive-publishers} (Linux) or install the LaTeX package emph{elsarticle} using the package manager of your TeX installation, which is typically TeX Live or MikTeX.

paragraph{Usage} Once the package is properly installed, you can use the document class emph{elsarticle} to create a manuscript. Please make sure that your manuscript follows the guidelines in the Guide for Authors of the relevant journal. It is not necessary to typeset your manuscript in exactly the same way as an article, unless you are submitting to a camera-ready copy (CRC) journal.

paragraph{Functionality} The Elsevier article class is based on the standard article class and supports almost all of the functionality of that class. In addition, it features commands and options to format the
begin{itemize}
item document style
item baselineskip
item front matter
item keywords and MSC codes
item theorems, definitions and proofs
item lables of enumerations
item citation style and labeling.
end{itemize}

section{Front matter}

The author names and affiliations could be formatted in two ways:
begin{enumerate}[(1)]
item Group the authors per affiliation.
item Use footnotes to indicate the affiliations.
end{enumerate}
See the front matter of this document for examples. You are recommended to conform your choice to the journal you are submitting to.

section{Bibliography styles}

There are various bibliography styles available. You can select the style of your choice in the preamble of this document. These styles are Elsevier styles based on standard styles like Harvard and Vancouver. Please use BibTeX to generate your bibliography and include DOIs whenever available.

Here are two sample references: cite{Feynman1963118,Dirac1953888}.

section*{References}

bibliography{mybibfile}

end{document}


I got the following error:



! Missing number, treated as zero.
<to be read again>
X@mytitlenote
l.40 end{frontmatter}


It clearly refers to the title note. In fact, if I remove from the title the following lines everything works.



tnoteref{mytitlenote}}
tnotetext[mytitlenote]{Fully documented templates are available in the elsarticle package on href{http://www.ctan.org/tex-archive/macros/latex/contrib/elsarticle}{CTAN}.


Any suggestion about how I can solve this issue? Thanks in advance.










share|improve this question


























    up vote
    0
    down vote

    favorite












    I am trying to compile a latex file using the elsarticle class. I am going through the elsevier article template:



    documentclass[review]{elsarticle}

    usepackage{lineno,hyperref}
    modulolinenumbers[5]

    journal{Journal of LaTeX Templates}

    bibliographystyle{elsarticle-num}

    begin{document}

    begin{frontmatter}

    title{Elsevier LaTeX templatetnoteref{mytitlenote}}
    tnotetext[mytitlenote]{Fully documented templates are available in the elsarticle package on href{http://www.ctan.org/tex-archive/macros/latex/contrib/elsarticle}{CTAN}.}

    author{Elsevierfnref{myfootnote}}
    address{Radarweg 29, Amsterdam}
    fntext[myfootnote]{Since 1880.}

    author[mymainaddress,mysecondaryaddress]{Elsevier Inc}
    ead[url]{www.elsevier.com}

    author[mysecondaryaddress]{Global Customer Servicecorref{mycorrespondingauthor}}
    cortext[mycorrespondingauthor]{Corresponding author}
    ead{support@elsevier.com}

    address[mymainaddress]{1600 John F Kennedy Boulevard, Philadelphia}
    address[mysecondaryaddress]{360 Park Avenue South, New York}

    begin{abstract}
    This template helps you to create a properly formatted LaTeX manuscript.
    end{abstract}

    begin{keyword}
    texttt{elsarticle.cls}sep LaTeXsep Elsevier sep template
    MSC[2010] 00-01sep 99-00
    end{keyword}

    end{frontmatter}

    linenumbers

    section{The Elsevier article class}

    paragraph{Installation} If the document class emph{elsarticle} is not available on your computer, you can download and install the system package emph{texlive-publishers} (Linux) or install the LaTeX package emph{elsarticle} using the package manager of your TeX installation, which is typically TeX Live or MikTeX.

    paragraph{Usage} Once the package is properly installed, you can use the document class emph{elsarticle} to create a manuscript. Please make sure that your manuscript follows the guidelines in the Guide for Authors of the relevant journal. It is not necessary to typeset your manuscript in exactly the same way as an article, unless you are submitting to a camera-ready copy (CRC) journal.

    paragraph{Functionality} The Elsevier article class is based on the standard article class and supports almost all of the functionality of that class. In addition, it features commands and options to format the
    begin{itemize}
    item document style
    item baselineskip
    item front matter
    item keywords and MSC codes
    item theorems, definitions and proofs
    item lables of enumerations
    item citation style and labeling.
    end{itemize}

    section{Front matter}

    The author names and affiliations could be formatted in two ways:
    begin{enumerate}[(1)]
    item Group the authors per affiliation.
    item Use footnotes to indicate the affiliations.
    end{enumerate}
    See the front matter of this document for examples. You are recommended to conform your choice to the journal you are submitting to.

    section{Bibliography styles}

    There are various bibliography styles available. You can select the style of your choice in the preamble of this document. These styles are Elsevier styles based on standard styles like Harvard and Vancouver. Please use BibTeX to generate your bibliography and include DOIs whenever available.

    Here are two sample references: cite{Feynman1963118,Dirac1953888}.

    section*{References}

    bibliography{mybibfile}

    end{document}


    I got the following error:



    ! Missing number, treated as zero.
    <to be read again>
    X@mytitlenote
    l.40 end{frontmatter}


    It clearly refers to the title note. In fact, if I remove from the title the following lines everything works.



    tnoteref{mytitlenote}}
    tnotetext[mytitlenote]{Fully documented templates are available in the elsarticle package on href{http://www.ctan.org/tex-archive/macros/latex/contrib/elsarticle}{CTAN}.


    Any suggestion about how I can solve this issue? Thanks in advance.










    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am trying to compile a latex file using the elsarticle class. I am going through the elsevier article template:



      documentclass[review]{elsarticle}

      usepackage{lineno,hyperref}
      modulolinenumbers[5]

      journal{Journal of LaTeX Templates}

      bibliographystyle{elsarticle-num}

      begin{document}

      begin{frontmatter}

      title{Elsevier LaTeX templatetnoteref{mytitlenote}}
      tnotetext[mytitlenote]{Fully documented templates are available in the elsarticle package on href{http://www.ctan.org/tex-archive/macros/latex/contrib/elsarticle}{CTAN}.}

      author{Elsevierfnref{myfootnote}}
      address{Radarweg 29, Amsterdam}
      fntext[myfootnote]{Since 1880.}

      author[mymainaddress,mysecondaryaddress]{Elsevier Inc}
      ead[url]{www.elsevier.com}

      author[mysecondaryaddress]{Global Customer Servicecorref{mycorrespondingauthor}}
      cortext[mycorrespondingauthor]{Corresponding author}
      ead{support@elsevier.com}

      address[mymainaddress]{1600 John F Kennedy Boulevard, Philadelphia}
      address[mysecondaryaddress]{360 Park Avenue South, New York}

      begin{abstract}
      This template helps you to create a properly formatted LaTeX manuscript.
      end{abstract}

      begin{keyword}
      texttt{elsarticle.cls}sep LaTeXsep Elsevier sep template
      MSC[2010] 00-01sep 99-00
      end{keyword}

      end{frontmatter}

      linenumbers

      section{The Elsevier article class}

      paragraph{Installation} If the document class emph{elsarticle} is not available on your computer, you can download and install the system package emph{texlive-publishers} (Linux) or install the LaTeX package emph{elsarticle} using the package manager of your TeX installation, which is typically TeX Live or MikTeX.

      paragraph{Usage} Once the package is properly installed, you can use the document class emph{elsarticle} to create a manuscript. Please make sure that your manuscript follows the guidelines in the Guide for Authors of the relevant journal. It is not necessary to typeset your manuscript in exactly the same way as an article, unless you are submitting to a camera-ready copy (CRC) journal.

      paragraph{Functionality} The Elsevier article class is based on the standard article class and supports almost all of the functionality of that class. In addition, it features commands and options to format the
      begin{itemize}
      item document style
      item baselineskip
      item front matter
      item keywords and MSC codes
      item theorems, definitions and proofs
      item lables of enumerations
      item citation style and labeling.
      end{itemize}

      section{Front matter}

      The author names and affiliations could be formatted in two ways:
      begin{enumerate}[(1)]
      item Group the authors per affiliation.
      item Use footnotes to indicate the affiliations.
      end{enumerate}
      See the front matter of this document for examples. You are recommended to conform your choice to the journal you are submitting to.

      section{Bibliography styles}

      There are various bibliography styles available. You can select the style of your choice in the preamble of this document. These styles are Elsevier styles based on standard styles like Harvard and Vancouver. Please use BibTeX to generate your bibliography and include DOIs whenever available.

      Here are two sample references: cite{Feynman1963118,Dirac1953888}.

      section*{References}

      bibliography{mybibfile}

      end{document}


      I got the following error:



      ! Missing number, treated as zero.
      <to be read again>
      X@mytitlenote
      l.40 end{frontmatter}


      It clearly refers to the title note. In fact, if I remove from the title the following lines everything works.



      tnoteref{mytitlenote}}
      tnotetext[mytitlenote]{Fully documented templates are available in the elsarticle package on href{http://www.ctan.org/tex-archive/macros/latex/contrib/elsarticle}{CTAN}.


      Any suggestion about how I can solve this issue? Thanks in advance.










      share|improve this question













      I am trying to compile a latex file using the elsarticle class. I am going through the elsevier article template:



      documentclass[review]{elsarticle}

      usepackage{lineno,hyperref}
      modulolinenumbers[5]

      journal{Journal of LaTeX Templates}

      bibliographystyle{elsarticle-num}

      begin{document}

      begin{frontmatter}

      title{Elsevier LaTeX templatetnoteref{mytitlenote}}
      tnotetext[mytitlenote]{Fully documented templates are available in the elsarticle package on href{http://www.ctan.org/tex-archive/macros/latex/contrib/elsarticle}{CTAN}.}

      author{Elsevierfnref{myfootnote}}
      address{Radarweg 29, Amsterdam}
      fntext[myfootnote]{Since 1880.}

      author[mymainaddress,mysecondaryaddress]{Elsevier Inc}
      ead[url]{www.elsevier.com}

      author[mysecondaryaddress]{Global Customer Servicecorref{mycorrespondingauthor}}
      cortext[mycorrespondingauthor]{Corresponding author}
      ead{support@elsevier.com}

      address[mymainaddress]{1600 John F Kennedy Boulevard, Philadelphia}
      address[mysecondaryaddress]{360 Park Avenue South, New York}

      begin{abstract}
      This template helps you to create a properly formatted LaTeX manuscript.
      end{abstract}

      begin{keyword}
      texttt{elsarticle.cls}sep LaTeXsep Elsevier sep template
      MSC[2010] 00-01sep 99-00
      end{keyword}

      end{frontmatter}

      linenumbers

      section{The Elsevier article class}

      paragraph{Installation} If the document class emph{elsarticle} is not available on your computer, you can download and install the system package emph{texlive-publishers} (Linux) or install the LaTeX package emph{elsarticle} using the package manager of your TeX installation, which is typically TeX Live or MikTeX.

      paragraph{Usage} Once the package is properly installed, you can use the document class emph{elsarticle} to create a manuscript. Please make sure that your manuscript follows the guidelines in the Guide for Authors of the relevant journal. It is not necessary to typeset your manuscript in exactly the same way as an article, unless you are submitting to a camera-ready copy (CRC) journal.

      paragraph{Functionality} The Elsevier article class is based on the standard article class and supports almost all of the functionality of that class. In addition, it features commands and options to format the
      begin{itemize}
      item document style
      item baselineskip
      item front matter
      item keywords and MSC codes
      item theorems, definitions and proofs
      item lables of enumerations
      item citation style and labeling.
      end{itemize}

      section{Front matter}

      The author names and affiliations could be formatted in two ways:
      begin{enumerate}[(1)]
      item Group the authors per affiliation.
      item Use footnotes to indicate the affiliations.
      end{enumerate}
      See the front matter of this document for examples. You are recommended to conform your choice to the journal you are submitting to.

      section{Bibliography styles}

      There are various bibliography styles available. You can select the style of your choice in the preamble of this document. These styles are Elsevier styles based on standard styles like Harvard and Vancouver. Please use BibTeX to generate your bibliography and include DOIs whenever available.

      Here are two sample references: cite{Feynman1963118,Dirac1953888}.

      section*{References}

      bibliography{mybibfile}

      end{document}


      I got the following error:



      ! Missing number, treated as zero.
      <to be read again>
      X@mytitlenote
      l.40 end{frontmatter}


      It clearly refers to the title note. In fact, if I remove from the title the following lines everything works.



      tnoteref{mytitlenote}}
      tnotetext[mytitlenote]{Fully documented templates are available in the elsarticle package on href{http://www.ctan.org/tex-archive/macros/latex/contrib/elsarticle}{CTAN}.


      Any suggestion about how I can solve this issue? Thanks in advance.







      elsarticle






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked yesterday









      Dario

      595313




      595313



























          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "85"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














           

          draft saved


          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f459593%2felsarticle-class-title-note-problem%23new-answer', 'question_page');
          }
          );

          Post as a guest





































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f459593%2felsarticle-class-title-note-problem%23new-answer', 'question_page');
          }
          );

          Post as a guest




















































































          Popular posts from this blog

          Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

          ComboBox Display Member on multiple fields

          Is it possible to collect Nectar points via Trainline?