I am writing a thesis document in Latex, for the moment I am using Overleaf program.
I am figuring out how could I have my reference list in the following way with the Authors sorted in alphabetical order. I tried all the possible options I found in this forum and others, but couldn't reach to my target.
I am using author-year citation style as shown below (Due to the big amount of packages I didn't put all the preamble, if any other kind of packages are needed to understand or fix my problem tell me):
\documentclass[a4paper,twoside,11pt]{book}
\usepackage[citestyle=authoryear,style=authoryear,sorting=nyt]{biblatex}
\bibliography{ref_Generacion.bib}
\printbibliography[heading=bibintoc,title={BIBLIOGRAPHY}]
I tried to edit style=author year using the code proposed in question: Creating a bibliography with fixed indention and authoryear labels using biblatex and biber
I copy/paste the code I used:
\makeatletter
\setlength{\bibitemsep}{0.5\baselineskip plus 0.5\baselineskip}
\newsavebox\ay@labelbox
\newlength{\labwidthsameline}
\setlength{\labwidthsameline}{6em}
\newbibmacro{labelwidthbib}{%
\begingroup
\delimcontext{cite}%
\DeclareFieldFormat{bibhyperref}{##1}%
\csuse{blx@hook@cite}%
\csuse{blx@hook@citekey}%
\citetrackerfalse\pagetrackerfalse\backtrackerfalse
\defcounter{maxnames}{\blx@maxcitenames}%
\usebibmacro{cite}%
\endgroup
}
%-----------------------
\newbibmacro{kicklabel}{%
\sbox\ay@labelbox{\usebibmacro{labelwidthbib}}%
\global\togglefalse{blx@insert}%
\ifdim\wd\ay@labelbox>\labwidthsameline
\leavevmode\newline
\fi
}
\defbibenvironment{bibliography}%
{\list
{\usebibmacro{labelwidthbib}}%
{\setlength{\labelwidth}{\labwidthsameline}%
\setlength{\leftmargin}{\labelwidth}%
\setlength{\labelsep}{\biblabelsep}%
\addtolength{\leftmargin}{\labelsep}%
\setlength{\itemsep}{\bibitemsep}%
\setlength{\parsep}{\bibparsep}%
\renewcommand*{\makelabel}[1]{##1\hss}}}%
{\endlist}%
{\item\usebibmacro{kicklabel}}
\makeatother
With this, what I obtain in the bibliography is closer to want I want, but still I need to do some changes:

However I am quite new in the fact of changing predifined styles I am not able to understand all this code and make a change in it.
- How can I add brackets to author year tags, as it is shown in the first figure?
- How can I edit the space author year tag take in the page? Can I make this distance variable according to the tag?
- How can I make that same authors articles are not grouped together and dashed? I would like to have each author year tag separately.
Thank you in advance for taking the time to read and answer this long issue.


biblatex-ext. Is there any chance you could use a more up-to-date local installation? (https://tex.stackexchange.com/q/348126/35864 pre-datesbiblatex-extand shows how things could work out on older systems, but it might not be exactly what you hoped for). – moewe Jun 28 '19 at 07:23