当我使用biblatex
withauthoryear
或authoryear-comp
选项时,链接可能会超出为文本主体指定的边距。其他样式似乎正常工作。
\begin{filecontents*}{sample.bib}
@online{lovelace2015low,
author = {Lovelace, Will},
title = {{Low SCR Wind Integration and Mitigation}},
url = {http://www.cce.umn.edu/documents/CPE-Conferences/MIPSYCON-PowerPoints/2015/PGLowSCRWindGenerationInstabilityIdentificationandMitigation.pdf},
organization = {Minnkota Power Cooperative},
date = {2015-11-11},
urldate = {2019-05-20}
}
\end{filecontents*}
\documentclass{report}
\usepackage[x11names]{xcolor}
\usepackage{hyperref}
\hypersetup{citecolor=DodgerBlue3, urlcolor=Blue1, colorlinks=true}
\usepackage[style=authoryear-comp]{biblatex}
\addbibresource{sample.bib}
\begin{document}
\cite{lovelace2015low}
\printbibliography
\end{document}
答案1
负载xurl
(之后biblatex
):
% arara: pdflatex
% arara: biber
% arara: pdflatex
% arara: pdflatex
\documentclass{report}
\usepackage{filecontents}
\begin{filecontents*}{sample.bib}
@online{lovelace2015low,
author = {Lovelace, Will},
title = {{Low SCR Wind Integration and Mitigation}},
url={http://www.cce.umn.edu/documents/CPE-Conferences/MIPSYCON-PowerPoints/2015/PGLowSCRWindGenerationInstabilityIdentificationandMitigation.pdf},
organization = {Minnkota Power Cooperative},
date = {2015-11-11},
urldate = {2019-05-20}
}
\end{filecontents*}
\usepackage[x11names]{xcolor}
\usepackage{hyperref}
\hypersetup{citecolor=DodgerBlue3, urlcolor=Blue1, colorlinks=true}
\usepackage[style=authoryear-comp]{biblatex}
\usepackage{xurl}
\addbibresource{sample.bib}
\begin{document}
\cite{lovelace2015low}
\printbibliography
\end{document}