I am using a custom citation format based on biblatex:
\DeclareCiteCommand{\mycite}
{\usebibmacro{prenote}}
{\usebibmacro{author}
\newunitpunct
\usebibmacro{journal}
\newunitpunct
\usebibmacro{date}}
{\multicitedelim}
{\usebibmacro{postnote}}
This leads to entries such as (A. Einstein, Annalen der Physik, 1916).
Unfortunately if A. Einstein publishes two papers in the same year in the same journal, this is not a unique way to refer to each paper.
What would be the good way to obtain (A. Einstein, Annalen der Physik, 1916a) and (A. Einstein, Annalen der Physik, 1916b), if possible in an elegant way?
Thank you!
I have added a MNWE:
\documentclass{article}
\usepackage[backend=biber, sorting=ydnt, sortcites=true, defernumbers=true, maxbibnames=99, natbib=true, giveninits=true]{biblatex}
\usepackage{hyperref}
\DeclareCiteCommand{\mycite}
{\usebibmacro{prenote}}
{\usebibmacro{author}
\newunitpunct
\usebibmacro{journal}
\newunitpunct
\usebibmacro{date}}
{\multicitedelim}
{\usebibmacro{postnote}}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{einstein_Elektrodynamik,
author = {Albert Einstein},
title = {Zur Elektrodynamik bewegter Körper},
journal = {Annalen der Physik},
number = {322},
issue = {10},
pages = {891--921},
date = {1905},
}
@article{einstein_Lichtes,
author = {Albert Einstein},
title = {Über einen die Erzeugung und Verwandlung des Lichtes betreffenden heuristischen Gesichtspunkt},
journal = {Annalen der Physik},
number = {322},
issue = {6},
pages = {132--148},
date = {1905},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\mycite{einstein_Elektrodynamik}
\mycite{einstein_Lichtes}
\printbibliography
\end{document}
biblatexcontext you intend to use it in. – moewe Sep 20 '22 at 16:50biblatex'sstyleoption? This means that your normal citation style is numeric. Is that desired? Do you actually use numeric citations and the corresponding bibliography? (You could get much closer to what you have right now if you started fromstyle=authoryear,or maybestyle=authortitle,...) – moewe Sep 21 '22 at 06:09@articles i.e. that are not published in a journal. – moewe Sep 21 '22 at 07:02X. Author et al., Yearfor@inproceedingswhich I also have in the document. This is acceptable at this stage. – leparc Sep 21 '22 at 08:07