my easy code looks like following:
Code: Select all
% Template file for a standard thesis
% Template file for a standard thesis
\documentclass[12pt]{thesis}
\usepackage{natbib}
\begin{document}
bla..bla.....
\bibliographystyle{apa}
\bibliography{mybib}
\end{document}
Code: Select all
! Undefined control sequence.
<argument> \undefinedpagestyle
l.1 \begin{thebibliography}{}
?
Code: Select all
@mastersthesis{struss,
AUTHOR = "Joseph A. Struss",
TITLE = "An investigation of the sequence of utilizing a simulation in an introductory programming course",
SCHOOL = "Iowa State University",
YEAR = 1996}
Code: Select all
\bibliographystyle{apa}
\bibliography{mybib}
I have a file called apa.bst under the same directory with my .tex file and also mybib.bib.