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 want to cite motion pictures and TV series using commands such as \citep{} and a external bibtex file. What is the proper way?

I'm using the natlib package and the configuration commands \citestyle{chicago} and \bibliographystyle{plainnat}. My attempt was writing this to the external .bib file:

@misc{himym,
    title={How {I} met your mother},
    year=2005,
    note={Premiered on CBS}
}

But the output of \citep{} will be him, that is, the first three letters of the cite key. I was expecting something like

How I met your mother, 2005.

The ideal output on the references would be

How I met your mother, 2005. Premiered on CBS.

natbib's manual say that, in cases where there isn't an author or year, it uses the key field to cite an entry. By doing so, \citep{himym} will only give me what's inside key, without the year.

share|improve this question
    
The key field is an extra field that you can add to a record. It's not the same as the Cite Key. –  Alan Munn Apr 25 '11 at 23:30
    
That's true. I'll edit my question. –  rberaldo Apr 26 '11 at 0:10
add comment

1 Answer

up vote 5 down vote accepted

Heres's a solution using biblatex -- with this package, the title replaces a missing author for author-year-styles.

\documentclass{article}

\usepackage[style=authoryear]{biblatex}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@misc{himym,
    title={How {I} met your mother},
    year= {2005},
    note={Premiered on CBS},
}
\end{filecontents}

\addbibresource{\jobname.bib}

\begin{document}

\parencite{himym}

\printbibliography

\end{document}
share|improve this answer
    
After managing to install biblatex, this solution worked perfectly. Thank you very much. –  rberaldo Apr 26 '11 at 0:58
add comment

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.