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.

Is it possible to customize citation styles? I'm not talking about the bibliography, but the appearance of the optional argument in \cite[Theorem $4$]{Pitagora}.

Usually it is rendered as [Pit03, Theorem 4], but one may want to have [Pit03], Theorem 4 or Theorem 4 - [Pit03] or whatever. Does the bibliography style change this?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

One way might be something like this.

For your specific example, you could also just define your own command

\newcommand{\mycite}[2]{\cite{#1},~#2}

And then cite it using \mycite{Pitagora}{Theorem~4}. I would not put $ in the reference, since the 4 is not a mathematical formula and should be treated as text.

share|improve this answer
    
I don't want to change all \cite to \mycite, but using a temporary command to make the rename, as suggested in the thread you link, works fine. Thank you –  Andrea Jan 4 '11 at 14:34

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.