TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 11 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

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.