Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm using the following nice LaTeX template for CV. I'm getting the bibliography in the following style

Hyndman, R. J., M. L. King, I. Pitrun, and M. B. Billah etc

I want the apacite style. I tried the following code:

\usepackage{apacite}
\bibliographystyle{apacite}

but it did not work. I'd highly appreciate if you help me to figure out this. Thanks in advance

share|improve this question
4  
The problem is that the class used in this example you're referencing to uses biblatex. The apacite package is designed for use with bibtex. I've never used this style but I found the biblatex-apa style which might help you. –  Thorsten Feb 3 '12 at 6:42
    
The cv.sty (according to the link in the question) loads biblatex so: \usepackage[sorting=ynt,bibstyle=authoryear-comp,labelyear=false,defernumbers=t‌​rue,maxnames=20,firstinits=true, uniquename=init,dashed=false]{biblatex}, so you probably want to comment out that line and provide instead \usepackage[sytle=apa]{biblatex} (as Thorsten suggests). –  jon Feb 3 '12 at 18:47
    
Thanks @jon, I'll test this. –  MYaseen208 Feb 3 '12 at 21:01
    
I should've added that cv.sty makes some other modifications to the default biblatex style. I've never used biblatex-apa, but I suspect the changes in cv.sty should also be commented out. Specifically, the \DeclareFieldFormat, \DeclareBibliographyDriver, and \renewbibmacro*. I think the bibliography categories stuff should be fine, but I guess look there first if biblatex-apa seems incompatible with cv.sty. –  jon Feb 3 '12 at 21:16
    
I'm a casual LaTeX user. It would be fine if I get any consistent bibliography style like this: Hyndman, R. J., King, M. L., Pitrun, I., and Billah, M. B. etc. I tried the earlier code in your comment but unfortunately got the same style. I would appreciate if you suggest me any code to get the following bibliography style: Hyndman, R. J., King, M. L., Pitrun, I., and Billah, M. B. etc. Thanks –  MYaseen208 Feb 3 '12 at 22:26

1 Answer 1

You need to load biblatex-apa as a package option when you load the biblatex package (thanks Thorsten). The problem is that the cv package you are referring to includes bibliography formatting commands (things like \DeclareBibliographyDriver) so you will need to manually load the biblatex pacakge after you load the cv package, but even then you might run into some compatibility issues.

share|improve this answer
    
Afaik you can't use \bibliographystyle in biblatex. The biblatex-apa style is designed to use with biblatex. So you can't use it like you mentioned above (\bibliographystyle{biblatex-apa}). It has to be used like this: \usepackage[style=apa]{biblatex}. This is exactly what I mentioned above in my comment. –  Thorsten Feb 3 '12 at 10:11
    
@Thorsten, thank you. I heavily edited the answer. The point I wanted to make, beyond your comment, was that the cv package is over writing portions of whatever style gets loaded. –  StrongBad Feb 3 '12 at 10:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.