
Я пытался изменить стиль библиографии, используемый biblatex
для статьи (она печатала слишком много всего, на мой вкус). Но почему-то у меня появляется очень странная точка перед числами в списке. Что я делаю не так и как это исправить? Подробности см. в MWE и выводе.
\documentclass{article}
\usepackage[sorting=ydnt,backend=biber,maxnames=10,defernumbers,date=year]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{file.bib}
@Article{Ferdinandy2015,
Title = {HIV competition dynamics over sexual networks: first comer advantage conserves founder effects.},
Author = {Ferdinandy, Bence and Mones, Enys and Vicsek, Tam{\'{a}}s and M{\"{u}}ller, Viktor},
Journal = {PLoS Comput Biol},
Year = {2015}
}
@article{Ferdinandy20121207,
title = "Landing together: How flocks arrive at a coherent action in time and space in the presence of perturbations ",
journal = "Physica A: Statistical Mechanics and its Applications ",
volume = "391",
number = "4",
pages = "1207 - 1215",
year = "2012"
}
@article{1,
title = "Landing together: How flocks arrive at a coherent action in time and space in the presence of perturbations ",
journal = "Physica A: Statistical Mechanics and its Applications ",
volume = "391",
number = "4",
pages = "1207 - 1215",
year = "2011"
}
\end{filecontents}
\addbibresource{file.bib} % Specify the bibliography file to include publications
\DeclareBibliographyDriver{article}{%
\printnames{author}\setunit{\space}%
\printfield{title}\setunit{\space}%
\usebibmacro{journal+issuetitle}%
\par\vspace{0.3\baselineskip}
}
\begin{document}
\section{publications}
\nocite{*}
\defbibheading{empty}{}
\subsection{papers}
\printbibliography[heading=empty, type=article, resetnumbers=true]
\end{document}
решение1
Важно правильно завершить запись. biblatex
предоставляет макросы finentry
именно для этой цели.
Вертикальное расстояние между записями можно задать с помощью \bibitemsep
.
\documentclass{article}
\usepackage{biblatex}
\begin{filecontents}{\jobname.bib}
@Article{Ferdinandy2015,
Title = {HIV competition dynamics over sexual networks: first comer advantage conserves founder effects.},
Author = {Ferdinandy, Bence and Mones, Enys and Vicsek, Tam{\'{a}}s and M{\"{u}}ller, Viktor},
Journal = {PLoS Comput Biol},
Year = {2015}
}
@article{Ferdinandy20121207,
title = "Landing together: How flocks arrive at a coherent action in time and space in the presence of perturbations ",
journal = "Physica A: Statistical Mechanics and its Applications ",
volume = "391",
number = "4",
pages = "1207 - 1215",
year = "2012"
}
@article{1,
title = "Landing together: How flocks arrive at a coherent action in time and space in the presence of perturbations ",
journal = "Physica A: Statistical Mechanics and its Applications ",
volume = "391",
number = "4",
pages = "1207 - 1215",
year = "2011"
}
\end{filecontents}
\addbibresource{\jobname.bib} % Specify the bibliography file to include publications
\DeclareBibliographyDriver{article}{%
\printnames{author}\setunit{\space}%
\printfield{title}\setunit{\space}%
\usebibmacro{journal+issuetitle}%
\usebibmacro{finentry}%
}
\renewcommand{\bibitemsep}{2\baselineskip}
\begin{document}
\nocite{*}
\printbibliography
\end{document}