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 am trying to use the APA style using apacite bibliography style. The bibliography is generated very well but my problem are the citation themselves in the actual document. They just show author names but not the year when I use the \cite command in the text. How can I solve this. I want to get something like this (author,year). But now, I am getting (author,)

share|improve this question

closed as too localized by lockstep, Claudio Fiandrino, Joseph Wright Oct 6 '12 at 11:35

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. –  doncherry Aug 7 '12 at 9:59
    
In addition to apacite, do you load any addition citation-related LaTeX packages? If the citation command you're using -- \citeA?, or \citep from the natbib package? -- generates something like (author,) instead of (author,year), it is possible that there are errors (such as missing commas between bib fields, or a missing year field) in the entries affected by this problem. Please check the .blg (bibliography log) file for any error reports. –  Mico Aug 7 '12 at 10:49
    
With no MWE, this is 'too localized'. Request reopening if more info is available. –  Joseph Wright Oct 6 '12 at 11:36

1 Answer 1

please add

    \usepackage[authoryear]{natbib} %author-year is actually the default for this package 

When placing the following in the text they will lead to the afterparts

    % where jon90 is specified in the .bib
    \citet{jon90}     %  -->        Jones et al. (1990) 
    \citep{jon90}     %  -->        (Jones et al., 1990)
    \citet*{jon90}    %  -->        Jones, Baker, and Williams (1990)
    \citep*{jon90}    %  -->        (Jones, Baker, and Williams, 1990)

Note: this package easily works alongside the Bibtex package, I'm supposing you use it.

For more information: Source: http://merkel.zoneo.net/Latex/natbib.php

share|improve this answer

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