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 there a straightforward way to produce bold citation numbers with the \cite command (I'm using amsplain bibliography style)? Essentially I want something like this: [1] rather than [1].

share|improve this question

1 Answer 1

up vote 8 down vote accepted

Assuming you're not using any packages that modify \cite: The \@cite@ofmt macro is responsible for the typeset form of the citations; its default definition is \hbox. Changing it to \bfseries\hbox seems to have the desired effect.

\documentclass{article}

\makeatletter
\renewcommand*{\@cite@ofmt}{\bfseries\hbox}
\makeatother

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@misc{A01,
  author = {Author, A.},
  year = {2001},
  title = {Alpha},
}
@misc{B02,
  author = {Buthor, B.},
  year = {2002},
  title = {Bravo},
}
\end{filecontents}

\begin{document}

Some text \cite{A01,B02}.

\bibliographystyle{amsplain}
\bibliography{\jobname}

\end{document}

EDIT: If you're using the cite package, \renewcommand{\citeform}[1]{\textbf{#1}} does the trick.

share|improve this answer
    
Thank you! Much appreciated. –  William Jul 17 '11 at 20:41
    
Oooops! I didn't see your edit before posting my answer below. Voted to delete it. –  William Jul 21 '11 at 0:03

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.