FAQ - elsarticle.cls: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
No edit summary  | 
				|||
| (69 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
==Preamble and   | [http://www.tug.org/tutorials/tugindia/ [LaTeX Tutorial]]      [[Elsarticle.cls|[Using elsarticle.cls]]]   | ||
<!--      [[Model-wise_bibliographic_style_files|[Model-wise bibliographic style files]]] -->  | |||
     [[Main_Page|[Main_Page]]]  | |||
----  | |||
==Preamble and Front matter==  | |||
# When I compile the pdf with elsarticle, I always get a blank first page which is numbered 1. The rest of the document starts at page 2. [[Ans. F1|[Answer]]]  | |||
# I have a problem with the document class elsarticle. In the final document, the first page is empty except for a comma, and the title. The abstract begins in the second page. With <code>elsart.cls</code> I did not encounter this problem. [[Ans. F2|[Answer]]]  | |||
#I am using <code>elsarticle.cls</code> and having problems with the abstract part. The abstract is missing from the PDF even if I code it using the <code>{abstract}</code> environment. [[Ans. F3|[Answer]]]  | |||
#The abstract is obtained as two successive lines only instead of a paragraph, even if it is coded  in the {abstract} environment. [[Ans. F4|[Answer]]]  | |||
# I am using the lineno package to add line numbers to the manuscript before submission. This does not number the lines in the abstract. Is there a way around this? [[Ans. F5|[Answer]]]  | |||
#The title page appeared twice. How can I remove one? [[Ans. F6|[Answer]]]  | |||
#How can I typeset the title page and the main matter in separate pages? [[Ans. F7|[Answer]]]  | |||
#I have made numerous attempts to get the email addresses to appear on the title page of my article, but with no luck. [[Ans. F8|[Answer]]]  | |||
# How should I code a dedication? [[Ans. F9|[Answer]]]  | |||
# Whenever I try to add one of the options <code>1p, 3p, or 5p</code>, I get the error" <code>Package keyval Error: centering undefined.</code>. What can be the problem [[Ans. F10|[Answer]]]  | |||
# I am writing on behalf of the IceCube collaboration, which has around 250 scientists and 39 institutions involved. When I put in all authors and institutions, I get the following error message when trying to compile with latex: <code>! LaTeX Error: Counter too large.</code>. Could you please help?  [[Ans. F11|[Answer]]]  | |||
# Some Elsevier journals require a Title page with only Title of the manuscript, Authors and Addresses, following with the main matter, including only Title and Abstract, beginning in a new page. I am wondering how can I do this in elsarticle class. [[Ans. F12|[Answer]]]  | |||
# I am using the lineno package to add line numbers to the manuscript before submission. The side-effect of using the lineno package is that the footer formatting of the title page breaks and the line "Preprint sumbitted to [...]" gets mixed with the lines of the footnotes. [[Ans. F13|[Answer]]]  | |||
<!--[[FAQ_-_elsarticle.cls|<Back]]-->  | |||
==  | ==Main matter==  | ||
# I am preparing my paper using <code>elsarticle.cls</code> and LaTeX. Can you tell me how to compress lists of at least three consecutive numerical citations that occur together in the text? [[Ans. M1|[Answer]]]  | |||
# I am using the <code>elsarticle.cls</code> package for my paper submission. It really works very well, but I cannot use the <code>natbib</code> package with the <code>sort&compress</code> option; an option clash error appears when I use it. In such a case, the reference citation appears as [30, 40, 15, 31, 32, 4] rather than [4, 15, 30-32, 40] as does the ordinary article class. [[Ans. M2|[Answer]]]  | |||
#I am using <code>elsarticle.cls</code>, and I want to present two subfigures side by side, caption them separately and also would like to incorporate a global caption. [[Ans. M3|[Answer]]]  | |||
#When I use the <code>review</code> option, my tables become distorted due to double spacing. How can I prevent double spacing? Also, is there a way to prevent double spacing for a portion of the document? [[Ans. M4|[Answer]]]  | |||
#I have coded the bibliography for author–year citations. But still I obtain numbered citations. How can I format the citation in the author–year form? [[Ans. M5|[Answer]]]  | |||
#I would like to add nomenclature. Could you please guide me on that? [[Ans. M6|[Answer]]]  | |||
#How can I create an acknowledgement section? [[Ans. M7|[Answer]]]  | |||
#When I use <code>\Box</code>, an error message appears — `\Box not provided in base LaTeX2e'. [[Ans. M8|[Answer]]]  | |||
<!--  | |||
#When I compiled my TeX file, I obtained the pdf correctly. However, when I submitted my paper on the journal website, the pdf which appeared was completely wrong containing only error messages.  | |||
-->  | |||
==Back matter==  | |||
#I just cannot typeset the references and bibliography in harvard style (i.e., author–year format). [[Ans. B1|[Answer]]]  | |||
#I am using `elsarticle-harv.bst' as a bibtex style file that is supposed to produce references in an author–year citation style. However, it produces the references in numerical style. Can you please tell me what went wrong? [[Ans. B2|[Answer]]]  | |||
#I have a problem with bibliography. The reference list does not appear. Also the `?' only appears where the references are cross-referred to. [[Ans. B1|[Answer]]]  | |||
# How do I get natbib to generate the references with journal abbreviations rather than full journal names. [[Ans. B4|[Answer]]]  | |||
==General questions==  | ==General questions==  | ||
#   | # I would like to sumbit a paper to Elsevier. Please advise me on how to proceed? [[Ans. G1|[Answer]]]  | ||
#   | # I would like to know the status of my submited paper. [[Ans. G2|[Answer]]]  | ||
#   | # I am preparing a paper for Chemical Engineering Science. I have downloaded the required LaTeX package. However, I am confused about which reference style I should use for this journal? [[Ans. G3|[Answer]]]  | ||
#   | # I am using a template file (elsarticle-template-num). For the abstract part, the paper asks for an MSC code. Where do I find that code for my paper? [[Ans. G4|[Answer]]]  | ||
#   | # From where can I download the source files used to create elsdoc.pdf? [[Ans. G5|[Answer]]]  | ||
# How do I create the same line- and page-breaks as in the final print copy? [[Ans G6|[Answer]]]  | |||
# I downloaded the elsarticle class file, put it in the appropriate directory, and when I try to compile the file using the simple template file provided by elsvier, it will not output.  In fact, it gets hung up on the following line.  I checked the path, and I do have the <code>upsy.fd</code> file installed on my computer, so I really am hung on this one.  [[Ans. G7|[Answer]]]  | |||
#I use Latex at first time. I don't understand what I have do write from the beginning until <code>\begin{frontmatter}</code>.  [[Ans. G8|[Answer]]]  | |||
# I have the following problem when compiling. What to do? [[Ans. G7|[Answer]]]  | |||
<geshi lang="sh">  | |||
     “C:\Program Files\MiKTeX 2.8\tex\latex\psnfss\upsy.fd”))latex.exe: GUI framework cannot be initialized”  | |||
     !Font U/psy/m/n/10=psyr at 10.0pt not loadable: Metric (TFM) file not found.  | |||
      <to be read again>  | |||
                  relax  | |||
      l.64 {\Pifont{psy}  | |||
              }  | |||
      ?  | |||
</geshi>  | |||
Latest revision as of 16:38, 25 January 2017
[LaTeX Tutorial] [Using elsarticle.cls] [Main_Page]
Preamble and Front matter
- When I compile the pdf with elsarticle, I always get a blank first page which is numbered 1. The rest of the document starts at page 2. [Answer]
 - I have a problem with the document class elsarticle. In the final document, the first page is empty except for a comma, and the title. The abstract begins in the second page. With 
elsart.clsI did not encounter this problem. [Answer] - I am using 
elsarticle.clsand having problems with the abstract part. The abstract is missing from the PDF even if I code it using the{abstract}environment. [Answer] - The abstract is obtained as two successive lines only instead of a paragraph, even if it is coded in the {abstract} environment. [Answer]
 - I am using the lineno package to add line numbers to the manuscript before submission. This does not number the lines in the abstract. Is there a way around this? [Answer]
 - The title page appeared twice. How can I remove one? [Answer]
 - How can I typeset the title page and the main matter in separate pages? [Answer]
 - I have made numerous attempts to get the email addresses to appear on the title page of my article, but with no luck. [Answer]
 - How should I code a dedication? [Answer]
 - Whenever I try to add one of the options 
1p, 3p, or 5p, I get the error"Package keyval Error: centering undefined.. What can be the problem [Answer] - I am writing on behalf of the IceCube collaboration, which has around 250 scientists and 39 institutions involved. When I put in all authors and institutions, I get the following error message when trying to compile with latex: 
! LaTeX Error: Counter too large.. Could you please help? [Answer] - Some Elsevier journals require a Title page with only Title of the manuscript, Authors and Addresses, following with the main matter, including only Title and Abstract, beginning in a new page. I am wondering how can I do this in elsarticle class. [Answer]
 - I am using the lineno package to add line numbers to the manuscript before submission. The side-effect of using the lineno package is that the footer formatting of the title page breaks and the line "Preprint sumbitted to [...]" gets mixed with the lines of the footnotes. [Answer]
 
Main matter
- I am preparing my paper using 
elsarticle.clsand LaTeX. Can you tell me how to compress lists of at least three consecutive numerical citations that occur together in the text? [Answer] - I am using the 
elsarticle.clspackage for my paper submission. It really works very well, but I cannot use thenatbibpackage with thesort&compressoption; an option clash error appears when I use it. In such a case, the reference citation appears as [30, 40, 15, 31, 32, 4] rather than [4, 15, 30-32, 40] as does the ordinary article class. [Answer] - I am using 
elsarticle.cls, and I want to present two subfigures side by side, caption them separately and also would like to incorporate a global caption. [Answer] - When I use the 
reviewoption, my tables become distorted due to double spacing. How can I prevent double spacing? Also, is there a way to prevent double spacing for a portion of the document? [Answer] - I have coded the bibliography for author–year citations. But still I obtain numbered citations. How can I format the citation in the author–year form? [Answer]
 - I would like to add nomenclature. Could you please guide me on that? [Answer]
 - How can I create an acknowledgement section? [Answer]
 - When I use 
\Box, an error message appears — `\Box not provided in base LaTeX2e'. [Answer] 
Back matter
- I just cannot typeset the references and bibliography in harvard style (i.e., author–year format). [Answer]
 - I am using `elsarticle-harv.bst' as a bibtex style file that is supposed to produce references in an author–year citation style. However, it produces the references in numerical style. Can you please tell me what went wrong? [Answer]
 - I have a problem with bibliography. The reference list does not appear. Also the `?' only appears where the references are cross-referred to. [Answer]
 - How do I get natbib to generate the references with journal abbreviations rather than full journal names. [Answer]
 
General questions
- I would like to sumbit a paper to Elsevier. Please advise me on how to proceed? [Answer]
 - I would like to know the status of my submited paper. [Answer]
 - I am preparing a paper for Chemical Engineering Science. I have downloaded the required LaTeX package. However, I am confused about which reference style I should use for this journal? [Answer]
 - I am using a template file (elsarticle-template-num). For the abstract part, the paper asks for an MSC code. Where do I find that code for my paper? [Answer]
 - From where can I download the source files used to create elsdoc.pdf? [Answer]
 - How do I create the same line- and page-breaks as in the final print copy? [Answer]
 - I downloaded the elsarticle class file, put it in the appropriate directory, and when I try to compile the file using the simple template file provided by elsvier, it will not output.  In fact, it gets hung up on the following line.  I checked the path, and I do have the 
upsy.fdfile installed on my computer, so I really am hung on this one. [Answer] - I use Latex at first time. I don't understand what I have do write from the beginning until 
\begin{frontmatter}. [Answer] - I have the following problem when compiling. What to do? [Answer]
 
<geshi lang="sh">
“C:\Program Files\MiKTeX 2.8\tex\latex\psnfss\upsy.fd”))latex.exe: GUI framework cannot be initialized”
    !Font U/psy/m/n/10=psyr at 10.0pt not loadable: Metric (TFM) file not found.
     <to be read again>
                 relax
     l.64 {\Pifont{psy}
             }
     ?
</geshi>