I'm using the following code to generate a document with referencing to BibTeX. The file name is "FYPInterim.tex"
Code: Select all
\documentclass[11pt,a4paper,twoside]{report}
\usepackage{cite}
\usepackage{setspace} % For one-half spacing
\usepackage{color} % I want to highlight some words with colors
\usepackage{graphicx}
\begin{document}
% Main Text
\newpage
% Introduction
\chapter{Introduction}
\paragraph{}The basics of fuel cell is understood from \cite{fcjames}.
\paragraph{}We also understand from \cite{fcryan}
\newpage
% Bibliography
\bibliographystyle{plain}
\bibliography{FYPInterim}
\end{document}
Code: Select all
@InBook{fcjames,
author = {James Larminie, Andrew Dicks},
title = {Fuel Cell Systems Explained},
chapter = {1-4},
publisher = {John Wiley and Sons},
year = {2002},
}
@InBook{fcryan,
author = {Ryan O'Hayre, Suk-Won Cha, Whitney Colella, Fritz B. Prinz},
title = {Fuel Cell Fundamentals},
chapter = {1-6},
publisher= {John Wiley and Sons},
year = {2009},
}