I am writing my thesis with LaTeX. I'm citing the used references with apacite
. All in all it worked all perfectly. However I'm facing one problem:
In the bibliography I always have space between the volume and the number of an article.
So it looks like this:
Mustermann, M. (2013). Title of the article. Journal of the article, 4 (2), 28-35.
It, however, should look like this:
Mustermann, M. (2013). Title of the article. Journal of the article, 4(2), 28-35.
Here is my TeX file:
\documentclass[a4paper,11pt]{article}
\usepackage{fullpage}
\usepackage[ngerman]{babel}
\usepackage{apacite}
\begin{document}
\section{First Chapter}
Any Text which is cited \cite{test}.
\bibliographystyle{apacite}
\bibliography{apa}
\end{document}
And the related file is this:
@article{test,
title={{Title of the article}},
author={Mustermann, Max},
journal={Journal of the article},
volume={4},
number={2},
pages={28--35},
year={2013}
}
I know it's not much, but my professor criticized it and I want to change it. I read, that I need to alter the .bst-File of apacite
, but I have no idea in which way.
Best Answer
Fortunately, you do not even have to modify any
.bst
files, the relevant macro can be found inapacite.sty
.Add the following code to your preamble.
It is an exact copy of the
\APACjournalVolNumPages
fromapacite.sty
but for some reason the code does not work properly when executed byapacite.sty
, it needs to be hooked in via\AtBeginDocument{...}
.The MWE
yields
without a space.