Generaloccasionally different styles for citations

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
pfb
Posts: 1
Joined: Tue Jan 20, 2009 12:47 pm

occasionally different styles for citations

Post by pfb »

Hi everybody,

from time to time I need to cite a bibliography item using a different "layout" from that of the current style.

Let me give an example. Right now I'm using a style where a reference to a bibliography item results in a number in square brackets, like e.g. [12].
For a series of reasons, I need access at the "raw" citation number, without brackets (12, in this case).
I am aware that a different bibliography style could make the trick, but
that is too drastic for me. I am generally happy with the current citation
style (with square brackets) but I occasionally need the citation number without brackets.

The natbib package has different variants of the \cite command, but none
looks like what I need. And again, natbib seems really too much for
accomplishing what I need.

As I mention, good solution would be accessing the "raw" citation number, the one that is put between square brackets by the basic command \cite{key}.
Does anyone know how to do this?


Thanks a lot

F

PS I'm posting in this forum because I think this is a general issue, not necessarily involving bibtex and possibly applying to other numbered objects of latex.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

marco_d
Posts: 57
Joined: Tue Jan 20, 2009 7:49 pm

occasionally different styles for citations

Post by marco_d »

Hello,

you are using a numerical citation. In this case you can use different styles by using the package cite. Note: The package doesn't work with natbib.

Marco
i am German. I can not use difficult words. :-)
Post Reply