How can I get the citation number only instead of citation index that comes along the place where I use the \cite command?
For example,
You can look at the book Brief History of Time~\cite{hawking}.
This may appear after compilation with bibliography (say, it's the 6th reference in the bibliography list) as
You can look at the book Brief History of Time[6].
But I want to write like the following.
You can look at Ref. 6.
But if use \cite here as
You can look at Ref.~\cite{hawking},
I get
You can look at Ref. [6]
But I don't want [ ] in addition, I want the reference number only, i.e. 6 to appear in our example.
Hope I could make it clear. Thanks.
General ⇒ Citation Number
Citation Number
Last edited by hbaromega on Tue Oct 18, 2011 10:21 am, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

Re: Citation Number
Desperately I am looking for an answer. But no reply yet! 

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Citation Number
Try this in the preamble of your document.
Thorsten
Code: Select all
\makeatletter
\def\@cite#1#2{{#1\if@tempswa , #2\fi}}
\makeatother
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Citation Number
Thank you very much.
I found \citenum works as well. Didn't know that before.
I found \citenum works as well. Didn't know that before.