Outline: I want to highlight certain references of interest in my biblatex bibliography (using the biber backend, style chem-rsc and within a twocolumn article) with either a single asterisk or a double asterisk underneath the reference number. The text I want to be displayed underneath the entry is contained in the annote field and displays without issue and is not included here. I searched this site and found a way to add asterisks around the entry from moewe and adapted it for my requirements (underneath the reference number and with vertical space between them). Setting \vspace manually so that it aligns somewhat with the second line of text is perfectly fine (in this case \vspace{0.36cm}.
Problem: The adapted solution from moewe works fine but I am running into issues when the references run into the double digits with the asterisks not aligning as I want due to having to specify lengths. I can either have it aligned fine for entries numbered <10 or >10 but not both. I am still learning Latex and learnt what the commands in moewe's answer are doing but I am not sure how to centre the asterisks in relation to the reference number box e.g. (17) as I think that is created in a box or a similar construct via biblatex. If this is possible, how can I centre the asterisks relative to the width of the reference number box above automatically including factoring in potential font size changes?
MWE:
% arara: pdflatex: {options: [-halt-on-error]}
% arara: biber
% arara: pdflatex: {options: [-halt-on-error]}
% arara: clean: {extensions: [log, run.xml, blg, bib, bcf, bbl, aux]}
\documentclass[twocolumn]{article}
\usepackage[backend=biber,natbib=true,style=chem-rsc]{biblatex}
\addbibresource{biblatex-examples.bib}
\addbibresource{\jobname.bib}
\newcommand{\impmarkstar}{\strut\vadjust{\domarksingle}}
\newcommand{\domarksingle}{%
\vbox to 0pt{
\vspace{0.36cm}
\smash{\llap{*\kern-1.46em}}
\vss
}}
\newcommand{\impmarkdoublestar}{\strut\vadjust{\domarkdouble}}
\newcommand{\domarkdouble}{%
\vbox to 0pt{
\vspace{0.36cm}
\smash{\llap{**\kern-1.7em}}
\vss
}}
\renewbibmacro*{begentry}{\ifkeyword{star}{\impmarkstar}{}%
\ifkeyword{doublestar}{\impmarkdoublestar}{}}
\begin{filecontents}{\jobname.bib}
@article{SingleDigitSingleStar,
author = {Tim},
title = {Tittle},
journal = {Applied Latex and a really long title so that it spans two lines},
year = {2018},
keywords = {star},
}
@article{SingleDigitDoubleStar,
author = {Tom},
title = {Titled},
journal = {Applied Latex and a really long title so that it spans two lines},
year = {2019},
keywords = {doublestar},
}
@article{DoubleDigitSingleStar,
author = {Zeck},
title = {Titling},
journal = {Applied Latex and a really long title so that it spans two lines},
year = {2020},
keywords = {star},
}
@article{DoubleDigitDoubleStar,
author = {Zack},
title = {Title},
journal = {Applied Latex and a really long title so that it spans two lines},
year = {2017},
keywords = {doublestar},
}
\end{filecontents}
\nocite{*}
\begin{document}
\cite{SingleDigitSingleStar,SingleDigitDoubleStar}
\printbibliography
\end{document}
In the MWE, the asterisks are further to the left then in my main file as I removed columnsep, \footnotesize etc. The references of interest are the first two and the final two references.
Notes: These are from my actual file bibliography (not the MWE and at \footnotesize) with it being specified as a length (*\kern-1.46em} and **\kern-1.7em respectively which I understand is not the best, this is included in the MWE) and how I would like it to be for all references although preferably automatically:
Example single digit reference number with above lengths:
Additionally as it is somewhat related, if anyone could comment to me if it is possible to only use say the first X biblatex entries in the biblatex-examples.bib I would appreciate it so my MWE's can become more minimal, I have had to use the whole contents of the example .bib for this.




\footnotesizeit is possible that\labelnumberwidthis measured in a different font size, which would throw the calculations off. The correct way to set the bibliography font size is\renewcommand*{\bibfont}{\normalfont\footnotesize}. Do not use\AtBeginBibliography. (See, e.g. https://tex.stackexchange.com/q/474994/35864) – moewe Aug 02 '21 at 16:05