Ans. B1: Difference between revisions

From STMDocs
Jump to navigation Jump to search
(New page: <Back If you have a bibdatabase file, please follow the coding which is given below: <geshi lang="latex"> \bibliographystyle{elsarticle-harv} \bibliography{yo...)
 
No edit summary
Line 6: Line 6:
   \bibliography{your bibdatabase file}
   \bibliography{your bibdatabase file}
</geshi>
</geshi>
For example, if you have a bibdatabase file called mybib.bib, your code will look like:
<geshi lang="latex">
  \bibliographystyle{elsarticle-harv}
  \bibliography{mybib}
</geshi>
If you do not have a bibdatabase file and you are inputting the bibitems into the TeX file directly, the coding should look like:
If you do not have a bibdatabase file and you are inputting the bibitems into the TeX file directly, the coding should look like:
<geshi lang="latex">
<geshi lang="latex">

Revision as of 18:23, 9 June 2009

<Back

If you have a bibdatabase file, please follow the coding which is given below: <geshi lang="latex">

 \bibliographystyle{elsarticle-harv}
 \bibliography{your bibdatabase file}

</geshi> For example, if you have a bibdatabase file called mybib.bib, your code will look like: <geshi lang="latex">

 \bibliographystyle{elsarticle-harv}
 \bibliography{mybib}

</geshi>

If you do not have a bibdatabase file and you are inputting the bibitems into the TeX file directly, the coding should look like: <geshi lang="latex">

 \begin{thebibliography}{00}
   \bibitem[Author(year)]{label} Author, A., .....
   ......
   ......
 \end{thebibliography}

</geshi> For example: <geshi lang="latex">

 \begin{thebibliography]{00}
   \bibitem[{Allen and Brooks(1991)}]{Allen1991}
   S.~W. Allen and L.~R. Brooks, Specializing the operation of an explicit rule, Journal of Experimental Psychology: General, 120 (1991) 3--19. 
 \end{thebibliography}

</geshi>