https:
我希望书目中的长 URL 向右对齐(左对齐),如果超过一行,则从新行开始。行末不应有单独的文本或文本后的内容,URL 应在下一行继续。
我尝试过这个解决方案,但它不起作用:https://tex.stackexchange.com/a/15655/106367
参考书目设置
%% The following section sets up the bibliography.
\usepackage{csquotes}
\usepackage[
backend=biber,
style=numeric,
citestyle=numeric-comp,
sorting=none,
sortlocale=auto,
urldate=iso8601, %% US date formatting
date=iso8601,
]{biblatex}
\setlength{\bibitemsep}{\baselineskip} %% Add empty space between bibliography entries
\usepackage{url} %% Add package to handle URL
印刷书目
\begingroup
\tolerance=300
\emergencystretch=1em
\raggedright
\sloppy
\printbibliography[heading=bibintoc] %% Print the bibliography.
\endgroup
答案1
如果您希望 URL 按大写或小写字母拆分,请在序言中尝试以下方法(来自 Heiko Oberdiek):
\setcounter{biburllcpenalty}{7000}
\setcounter{biburlucpenalty}{8000}