Tell me more ×
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 RFCs in the format [RFCxxxx] instead of using the author's initials and the year it was published. Currently I am using the alphabetic style that comes with biblatex. So far, I tried using the \DeclareCiteCommand command to use the key field in the .bib file, but that does not seem to work. I would really appreciate any ideas as how to solve this problem.

share|improve this question

1 Answer

You can use the shorthand field to override the label which is automatically generated by the alphabetic style:

\documentclass{article}

\usepackage[style=alphabetic]{biblatex}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@misc{A01,
  author = {Author, A.},
  year = {2001},
  title = {Alpha},
}
@report{Cro69,
  shorthand = {RFC0001},
  author = {Crocker, S.},
  year = {1969},
  month = {4},
  title = {Host Software},
  note = {RFC 1},
}
\end{filecontents}

\addbibresource{\jobname.bib}

\begin{document}

Some text \autocite{A01,Cro69}.

\printbibliography

\end{document}

enter image description here

share|improve this answer
Thank you. I will look into that. – Stephan Turner Jun 10 '12 at 9:24

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.