# Bolding numeric citations

Hi all I am cite sources in my report using the cite command:

\cite{test}


and I am using biblatex in Numeric mode:

\usepackage[backend=bibtex, style=numeric]{biblatex}


however I was hoping to make all of the the citations appear as bold, and was hoping someone could steer me in the right direction.

Edit* Similar to the following

\begin{filecontents*}{\jobname.bib}
@report{RFC3550,
author = {H. Schulzrinne and S. Casgner and R. Frederick and V. Jacobson},
title = {RFC 3550, RTP: A Transport Protocol for Real-Time Applications},
url = {https://tools.ietf.org/html/rfc3550},
year = {2003},
}

@report{RFC2326,
author = {H. Schulzrinne and A. Rao and R. Lanphier},
title = {RFC 2326, Real Time Streaming Protocol},
url = {https://rools.ietf.org/html/rfc2326},
year = {1998},
}
\end{filecontents*}

\documentclass[12pt]{report}
\usepackage[a4paper, width=150mm, top=25mm, bottom=25mm ,bindingoffset=6mm]{geometry}
\usepackage[backend=bibtex, style=numeric]{biblatex}

\begin{document}

\cite{RFC3550} and \cite{RFC2326}

\printbibliography

\end{document}


I will follow my answer to making citations bold latex, where we saw how to do this for alphabetic styles. For numeric the only thing that changes is the relevant field names, here they are prefixnumber and labelnumber (ordinarily, especially the latter one is important).

To bold labels use

\DeclareFieldFormat{prefixnumber}{\mkbibbold{#1}}
\DeclareFieldFormat{labelnumber}{\mkbibbold{#1}}


Un-bolding for the bibliography can be acheived via

\AtBeginBibliography{%
\DeclareFieldFormat{prefixnumber}{#1}%
\DeclareFieldFormat{labelnumber}{#1}}


MWE

\documentclass[12pt]{article}
\usepackage[backend=bibtex, style=numeric]{biblatex}

\DeclareFieldFormat{prefixnumber}{\mkbibbold{#1}}
\DeclareFieldFormat{labelnumber}{\mkbibbold{#1}}

\AtBeginBibliography{%
\DeclareFieldFormat{prefixnumber}{#1}%
\DeclareFieldFormat{labelnumber}{#1}}

\begin{document}
\cite{sigfridsson} and \cite{geer}

\printbibliography
\end{document}


If you want everything bold, you might like instead

\newrobustcmd{\mkbibboldbrackets}[1]{\mkbibbold{\mkbibbrackets{#1}}}

\DeclareCiteCommand{\cite}[\mkbibboldbrackets]
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{cite}}
{\multicitedelim}
{\usebibmacro{postnote}}

• absolute superstar, from a latex noob this is really appreciated thankyou – TotalNewbie Aug 25 '15 at 9:35
• @TotalNewbie Always a pleasure, never a chore... – moewe Aug 25 '15 at 9:47