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

closed as unclear what you're asking by Svend Tveskæg, lockstep, Martin Schröder, Andrew, Sean Allred May 30 at 13:49

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the 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

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