Problem: I would like for the citation numbers of a numeric or numeric-comp style biblatex to be in italics but not the enclosing brackets. My efforts thus far have failed. I would not like for the bibliography entries to be modified in anyway if this is possible.
What I have tried: I tried modifying the code in the MWEB as such:
\DeclareCiteCommand{\cite}[\mkbibparens\mkbibemph]
and
\DeclareCiteCommand{\cite}[\mkbibemph\mkbibparens]
Both of which made the citation number appear outside the bracket. I also tried the answer by Gonzalo Medina which had no effect (I am not even sure if it would with biblatex).
How it currently looks:
How I would like it to look:
My vision may not be the best but I believe that the brackets enclosing the citation numbers are normal and not in italics.
MWEB:
\documentclass{article}
\usepackage[backend=biber,style=numeric]{biblatex}
\addbibresource{biblatex-examples.bib}
% Change in-text citations to round brackets - moewe: https://tex.stackexchange.com/a/341043/245306
\DeclareCiteCommand{\cite}[\mkbibparens]
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{cite}}
{\multicitedelim}
{\usebibmacro{postnote}}
\DeclareMultiCiteCommand{\cites}[\mkbibparens]{\cite}{\multicitedelim}
\begin{document}
\cite{sigfridsson}
\printbibliography
\end{document}
and I am compiling with:
% arara: pdflatex
% arara: biber
% arara: pdflatex


![(2) (2, 1) [numbers italic; brackets upright]](../../images/085a08af3d9317e8e6cf4af093cf15cb.webp)
\newrobustcmdbefore this contains a brief explanation. – Mar 18 '22 at 12:27numerictonumeric-comp(to use ranges) it says that\cite is undefined- is this a new question or does the existing answer contain a trivial solution that could be edited please if possible for both numeric and numeric-comp? I understand its a related but different style and may change the question entirely. Will delete this comment if new question is required, thanks. – Mar 18 '22 at 12:58numeric-compas well so the question and answers fit better and are easier to search for, thank you for your help and advice. – Mar 18 '22 at 13:16