I am trying to do APA citation (Name, Year).
However, when I try to compile:
\bibliographystyle{apalike}
I get this error:
! Package biblatex Error: '\bibliographystyle' invalid.See the biblatex package documentation for explanation.Type H for immediate help.... \bibliographystyle{apalike}
Anyone know why?
\documentclass[11pt]{article}
\usepackage[a4paper, margin=1.25in]{geometry}
\usepackage{fancyhdr}
\usepackage{tgschola}% or any other font package you like
\usepackage{setspace}
\edef\restoreparindent{\parindent=\the\parindent\relax}
\usepackage{parskip}
\setlength{\parskip}{1em}
\restoreparindent
\pagestyle{fancy}
\usepackage{titlesec}
\usepackage{graphicx}
\graphicspath{{pictures/}}
\usepackage{subcaption}
\usepackage{caption}
\usepackage{float}
\usepackage{varwidth}
\usepackage[toc,page]{appendix}
\usepackage[backend=bibtex]{biblatex}
\bibliographystyle{apalike}
\bibliography{bib}
\renewcommand{\footrulewidth}{0.5pt}
\renewcommand{\headrulewidth}{0.5pt}
\rhead{Team Frank}
\lhead{MINE 404}
\chead{Project Report}
\begin{document}
\printbibliography
\end{document}
Spend a whole night trying to figure this out with no success.
\bibliographystylecommand withbiblatex. If you want to use an APA style withbiblatex, use\usepackage[style=apa]{biblatex}and compile usingbibernotbibtex. See bibtex vs. biber and biblatex vs. natbib and What is the relationship between natbib, apacite package, and apa document class?. – Alan Munn Mar 17 '18 at 05:29biblatex-apa'sstyle=apashould only be necessary if you must really follow the APA manual. If you just want a style that is like APA ("apalike") or a general author-year style, thenstyle=authoryearmight be the better choice. – moewe Mar 17 '18 at 18:07author-yearhas some idiosyncrasies that will unfortunately always require some tweaking I think (e.g. the use of "In" with journals.) – Alan Munn Mar 17 '18 at 21:18biblatex-apaorbiblatex-chicago, so I would only use those styles if I have follow the respective style guide or if I can guarantee that the changes I have to apply are indeed minimal. In my experience many people that useapalikeare not actually after full APA compliance, but rather generic author-year citations. – moewe Mar 18 '18 at 09:22