I try to use bib file to do my reference in latex, it was fine for a test document I did, the test document is shown as following
\documentclass[12pt]{article}
\usepackage{apacite}
\usepackage{natbib}
\begin{document}
\title{Investigations of parametric similar waves}
\date{\today}
\maketitle
Blah blah blah blah \citet{Turner2009}
\bibliography{MyCollection}
\bibliographystyle{apacite}
\end{document}
However, when I tried to implement it in another report, it does not work. The following are all the packages I used in my report. I suspect the problem is caused by one of package i used to do plots, but i am not sure how to fix it, anyone has any suggestions?
\documentclass[12pt]{article}
\usepackage{apacite}
\usepackage{natbib}
\usepackage[margin=0.85in, paperwidth=8.5in, paperheight=11in ]{geometry}
\usepackage{amsfonts}
\usepackage{graphicx}
\usepackage{subcaption}
\newsavebox{\largestimage}
\usepackage{tocloft}
\newlength{\mylen}
\renewcommand{\cftfigpresnum}{\figurename\enspace}
\renewcommand{\cftfigaftersnum}{:}
\settowidth{\mylen}{\cftfigpresnum\cftfigaftersnum}
\addtolength{\cftfignumwidth}{\mylen}
\renewcommand{\cfttabpresnum}{\tablename\enspace}
\renewcommand{\cfttabaftersnum}{:}
\settowidth{\mylen}{\cfttabpresnum\cfttabaftersnum}
\addtolength{\cfttabnumwidth}{\mylen}
\usepackage{verbatim}
\usepackage{latexsym}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{pdflscape}
\usepackage{soul}
\usepackage{color}
\usepackage{url}
\renewcommand{\baselinestretch}{1.5}
\numberwithin{equation}{section}
\numberwithin{figure}{section}
\numberwithin{table}{section}
\usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
\usepackage[backref=true,backend=biber,natbib=true,hyperref=true]{biblatex}
\bibliography{refs}
\usepackage{float}
\usepackage{hyperref}
\hypersetup{
colorlinks = true,
citecolor = gray
}
\begin{document}
\title{Investigations of parametric similar waves}
\date{\today}
\maketitle
Blah blah blah blah \citet{Turner2009}
\bibliography{MyCollection.bib}
\bibliographystyle{apacite}
\end{document}
biblatex, which is fundamentally incompatible withnatbib. You must choose to use one or the other. – jon Nov 14 '16 at 01:48{}or use ctrl+k. If you have problems, leave it unformatted. It is easier to correct than it is if you quote it. (Much easier.) – cfr Nov 14 '16 at 01:51biblatexin the APA style, see this answer (note that the answer is also trying to use the 'canadian' variant of English, which you can probably skip). If you usebiblatex, you cannot load any of these:apaciteornatbib; and you cannot use the\bibliographystyle. Please try the answer I suggested, however, and see if that helps. – jon Nov 14 '16 at 03:05apacitations see What is the relationship between natbib, apacite package, and apa document class? and the question @jon linked to. – Alan Munn Nov 14 '16 at 03:36