# \urlstyle{same} with apacite

I use apacite to create a bibliography according to APA guidelines for my article. Some of the references contain URLs. By default, LaTeX shows these in a different, monospace font than the rest of the article. I dislike this, so wish to use the url package with \urlstyle{same}. This does not work however in combination with apacite.

Here is a little reference document.

\documentclass{article}

\usepackage{url}
\urlstyle{same}
\usepackage{apacite}

\begin{document}
\end{document}


Leaving out the apacite package will render the link in the document font. It will currently render in the monospace font however. Does anyone have a suggestion on how to fix this, so I can have APA references and good looking URLs?

-
Welcome to TeX.sx! Feel free to visit our TeX.SX starter guide to get the most out of this site. –  Peter Jansson May 22 '13 at 10:24

apacite uses \AtBeginDocument to switch to the APACtt URL style, but one may also switch to APACsame. See section 8.2 of the apacite manual for details.

\documentclass{article}

\usepackage{url}
\usepackage{apacite}
\AtBeginDocument{\urlstyle{APACsame}}

\begin{document}