[Tex/LaTex] How display marginal labels on bibliography entries with showlabels


How can I cause marginal labels to appear for entries in the printed bibliography if I am using the showlabels package? (Note that I mean labels in the margin rather than the numbers or names, etc., that are printed within the bibliography.)

(I'm not asking about causing labels to appear where \cite commands appear in the text.)

With the showkeys package instead of showlabels, they appear automatically.


If I merely load the showlabels package and include a \showlabels{bibitem}, that will not produce labels for the actual items in the References section (although it will produce labels at the various \cite locations). For example:


  author = {Doe, Jane},
  title = {Theory of everything},
  publisher = {YourBooks},
  year = {2016}





\section{A section}\label{sec:one}

Look at Section~\ref{sec:one} for more information. Read more about it in Doe~\cite{Doe2016}. 




No label shown on bibliography entry

Best Answer

The package author, Norman Gray, provided a solution:

Related Question