I am struggling with this issue for one day. I cannot get my biblatex working. It gives me the following error:
! LaTeX Error: Command \bibhang already defined.
My document is as follows:
\documentclass[authoryear,review]{elsarticle}
\usepackage{biblatex}
\usepackage{lineno, hyperref}
%\modulolinenumbers[5]
\usepackage{wrapfig}
\usepackage{amssymb,amsmath}
\usepackage{times}
\usepackage{graphics}
\usepackage{amsfonts}
\usepackage{color}
\hoffset=-1.5cm
\addtolength{\textwidth}{3cm}
\voffset=-1.5cm
\addtolength{\textheight}{3cm}
\graphicspath{{Fig/}}
\renewcommand{\vec}[1]{{\rm\bf #1}}
\newcommand{\tocite}[1]{{\color{red} (#1)}} %to revert it to \cite later on
\newcommand\rd{{\rm{d}}}
\DeclareMathOperator{\sign}{sign}
\newcommand{\bluetext}[1]{{\color{blue} #1}}
\newcommand{\redtext}[1]{{\color{red} #1}}
\journal{journal?}
\begin{document}
The body of document
\bibliographystyle{elsarticle-harv}
\bibliography{bibliography}
\end{document}
I would like to work in Harvard style. But I don't know how to make works.
biblatextogether with\bibliographystyleandbibliography. Use either the oldbibtexsystem orbiblatex. – Schweinebacke Jul 07 '17 at 16:21elsarticleis importantly is focussed on journal publication so you should stick to what they mandate: here, it loadsnatbibwhich you should therefore be using. – Joseph Wright Jul 07 '17 at 16:22biblatexfor a journal publication withelsearticle. Use the internally loadednatbibof the class as intended by the publisher. BTW:@<addressee>does only work without white space between@and the use name of the addressee! – Schweinebacke Jul 07 '17 at 16:50biblatex. It wont work and the editor (and their staff) won't like it. It will be incompatible with their workflow. You will have to work with the template/document class and styles they give you. If the bibliography output you get when using the journal template does not match the required output (and you can be sure that is not your fault) you should contact whoever is responsible for the journal template and complain. You should not try to usebiblatex– moewe Jul 07 '17 at 20:16biblatex. Even more so if they actually provide official guidelines/document classes/templates that require the use of another package to use (that is also incompatible withbiblatex). – moewe Jul 07 '17 at 20:18biblatex. The documentation ofelsarticle.cls(https://www.elsevier.com/__data/assets/pdf_file/0008/56843/elsdoc-1.pdf) states clearly thatnatbibis used, so you can't usebiblatex. – moewe Jul 07 '17 at 20:25natbibwithelsarticle, please ask a new question with a new minimal but working example with bibliography (MWEB). – Schweinebacke Jul 08 '17 at 06:20