Estoy intentando agregar un título corto (u otro campo como usuario) al final de la bibliografía.
Aquí mi MWE:
\documentclass[
12pt,
oneside
]{scrartcl}
\usepackage[
backend=biber,
style=ext-authoryear,
firstinits=false
]{biblatex}
\addbibresource{test.bib}
\begin{document}
\section{Test}
\cite{author01}
\cite{author02}
\printbibliography[]
\end{document}
Y el babero:
@book{author01,
author = {John, Doe},
year = {2015},
title = {How to use BibLaTex the wrong way},
edition = {12},
publisher = {{Catoso}},
subtitle = {BibLaTex for Dummys},
location = {Denmark},
shorttitle = {Biblatex wrong way}
}
@article{author02,
author = {Mary, Doe},
year = {2015},
title = {How to use BibLaTex the right way},
edition = {12},
publisher = {{Catoso}},
subtitle = {BibLaTex (not) for Dummys},
location = {Denmark},
pages = {835--854},
shorttitle = {Biblatex right way}
}
¿Es posible colocar el título corto en el último lugar de la entrada? ¿Tiene alguna idea de cómo lograrlo? ¡Gracias!
Saludos cordiales, Marc
Respuesta1
Con los estilos estándar y la mayoría de los estilos de terceros, puede redefinir bibmacro finentry
para agregar algo al final de una entrada de bibliografía.
\documentclass[
12pt,
oneside
]{scrartcl}
\usepackage[
backend=biber,
style=ext-authoryear,
firstinits=false
]{biblatex}
\DeclareFieldFormat{bibshorttitle}{\mkbibbrackets{#1}}
\renewbibmacro*{finentry}{%
\setunit{\addcomma\space}%
\printfield[bibshorttitle]{shorttitle}%
\finentry}
\begin{filecontents}{\jobname.bib}
@book{author01,
author = {John, Doe},
year = {2015},
title = {How to use BibLaTex the wrong way},
edition = {12},
publisher = {{Catoso}},
subtitle = {BibLaTex for Dummys},
location = {Denmark},
shorttitle = {Biblatex wrong way}
}
@book{author02,
author = {Mary, Doe},
year = {2015},
title = {How to use BibLaTex the right way},
edition = {12},
publisher = {{Catoso}},
subtitle = {BibLaTex (not) for Dummys},
location = {Denmark},
pages = {835--854},
shorttitle = {Biblatex right way}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\section{Test}
\cite{author01}
\cite{author02}
\printbibliography[]
\end{document}