Re: biblatex: stile authoryear + numeric

#64874
Up
0
Down
::

r.falcone” post=63972Buonasera a tutti.

Sto impostando la mia bibliografia utilizzando biblatex e mi chiedevo se fosse possibile impostare lo stile “authoryear” anteponendo però una numerazione, come per lo stile “numeric”.

Grazie anticipatamente.

Pessima idea, anche se intuisco il motivo. Si fa così:

`
\usepackage[
style=authoryear,
labelnumber=true,
dashed=false]{biblatex}

\DeclareFieldFormat{bibentrysetcount}{\mkbibparens{\mknumalph{#1}}}
\DeclareFieldFormat{labelnumberwidth}{\mkbibbrackets{#1}}

\defbibenvironment{bibliography}
{\list
{\printtext[labelnumberwidth]{%
\printfield{prefixnumber}%
\printfield{labelnumber}}}
{\setlength{\labelwidth}{\labelnumberwidth}%
\setlength{\leftmargin}{\labelwidth}%
\setlength{\labelsep}{\biblabelsep}%
\addtolength{\leftmargin}{\labelsep}%
\setlength{\itemsep}{\bibitemsep}%
\setlength{\parsep}{\bibparsep}}%
\renewcommand*{\makelabel}[1]{\hss##1}}
{\endlist}
{\item}`

Può essere migliorato, ma non ne vale la pena.

Ciao
Ivan

Go to top