I am trying to get the reference's title centered using the apacite package
.
Here is my MWE. I have tried using \renewcommand{\refname}{\centering References}
but does not center the references' title.
\documentclass[11pt, a4paper]{article}
\usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
\usepackage{lipsum}
\usepackage{parskip}
\usepackage{setspace}
\doublespacing
\usepackage{fontspec}
\setmainfont{Times New Roman}
\usepackage{geometry}
\geometry{left=2.5cm,right=2.5cm,top=2.5cm,bottom=2.5cm}
\renewcommand{\refname}{\centering References}
\usepackage{hyperref}
\hypersetup{
colorlinks,
linkcolor={MidnightBlue},
citecolor={MidnightBlue},
urlcolor={MidnightBlue}
}
\usepackage{apacite}
\bibliographystyle{apacite}
\begin{document}
\title{A Title}
\date{\vspace{-10ex}}
\maketitle
\section{Theoretical Framework}
\nocite{*}
\begingroup
\raggedright
\bibliographystyle{apacite}
\bibliography{main}
\endgroup
\end{document}
And my main.bib
contains:
@incollection{portes1989,
author = {Portes, Alejandro and Castells, Manuel},
title = {World underneath: The origins, dynamics, and effects of the informal economy},
editor = {Portes, Alejandro and Castells, Manuel and Benton, Lauren},
booktitle = {The Informal Economy: Studies in Advanced and Less Developed Countries},
publisher = {Johns Hopkins University Press},
address = {Baltimore, MD},
year = {1989},
pages = {11--37},
chapter = 1,
}
@article{hart1973,
title ={Informal income opportunities and urban employment in Ghana},
author ={Hart, Keith},
journal ={The Journal of Modern African Studies},
volume ={11},
number ={1},
pages ={61--89},
year ={1973},
publisher ={Cambridge Univ Press}
}
@article{tokman1978,
title = {An exploration into the nature of informal—formal sector relationships},
journal = {World Development},
volume = {6},
number = {9},
pages = {1065--1075},
year = {1978},
issn = {0305-750X},
doi = {http://dx.doi.org/10.1016/0305-750X(78)90063-3},
author = {Victor E. Tokman},
}
@article{harris1970,
title ={Migration, Unemployment and Development: A Two-Sector Analysis},
author ={Harris, John and Todaro, Michael},
journal ={American Economic Review},
volume ={60},
number ={1},
pages ={126--142},
year ={1970},
}
@book{de2002,
title ={The Other Path: The Economic Answer to Terrorism},
author ={de Soto, Hernando},
isbn ={9780465016105},
year ={1989},
publisher ={HarperCollins},
address ={New York},
}
@article{moser1978informal,
title ={Informal sector or petty commodity production: dualism or dependence in urban development?},
author ={Moser, Caroline},
journal ={World Development},
volume ={6},
number ={9-10},
pages ={1041--1064},
year ={1978},
publisher ={Elsevier},
}