निरंजन
Look at the following MWE -
```
\documentclass{article}
\usepackage[backend=biber, style=authoryear]{biblatex}
\begin{filecontents}[overwrite]{\jobname.bib}
@article{test1,
title = {Test article},
author = {Tambe, Niranjan Vikas},
date = {2021-01},
journaltitle = {TopAnswers},
series = {1}
}
@article{test2,
title = {Test article 2},
author = {Tambe, Niranjan Vikas},
date = {2021-02},
journaltitle = {TopAnswers},
series = {2}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\cite{test1}
\cite{test2}
\printbibliography
\end{document}
```
In the output we see -
![Screenshot_2021-01-17_11-43-01.png](/image?hash=ef7b1a5e8f83d345e25c7ce5f2891190d0bc5ff6d871fdcc2da4e74d8bc1e7c2)
Instead of `2021a` and `2021b` if I want something else (e.g. `2021-x` & `2021-y`) is it possible to get it with some `renewcommand`s? Also is it possible to provide a list of strings (i.e. `w x y z`) for chronologically adding them after the redundant year? (e.g. `2021-w` > `2021-x` > `2021-y` > `2021-z`)
Top Answer
samcarter
Here is something to change the first three labels for the extrayear. You can add more if-clauses if you need more.
```
\documentclass{article}
\usepackage[backend=biber, style=authoryear]{biblatex}
\begin{filecontents*}[overwrite]{\jobname.bib}
@article{test1,
title = {Test article},
author = {Tambe, Niranjan Vikas},
date = {2021-01},
journaltitle = {TopAnswers},
series = {1}
}
@article{test2,
title = {Test article 2},
author = {Tambe, Niranjan Vikas},
date = {2021-02},
journaltitle = {TopAnswers},
series = {2}
}
\end{filecontents*}
\addbibresource{\jobname.bib}
\DeclareFieldFormat{extradate}{%
\iffieldnums{labelyear}
{%
\ifnum#1=1
x%
\else
\ifnum#1=2
y%
\else
\ifnum#1=3
z%
\else
\mknumalph{#1}%
\fi%
\fi%
\fi%
}
{\mkbibparens{\mknumalph{#1}}}}
\begin{document}
\cite{test1}
\cite{test2}
\printbibliography
\end{document}
```
![Screen Shot 2021-01-17 at 15.05.36.png](/image?hash=f57b4ab95c608860d02c14eaabf7c9cb075ffd16213ed295599186a4b4f2b9ac)