Latex 书目参考离开页面
Latex Bibliography Reference Going Off The Page
我的参考书目中有以下参考资料,URL 超出了页面的一侧。我正在使用以下包并在页面上需要它来打印边距准则:
\usepackage[style=authoryear]{biblatex}
这是其中一个令人反感的参考资料。我尝试了 \
,但在 URL 中这些最终变成了 %5C
。请帮忙。
@online{atlantichamburger,
author = "Libby Bawcombe",
year = "2014",
title = "The Hamburger Menu-Icon Debate",
location = "Washington",
publisher = "The Atlantic",
url = "https://www.theatlantic.com/product/archive/2014/08/the-hamburger-menu-debate/379145/"
}
使用 url 包并使用 howpublished
提及 URL
howpublished = {\url{https://www.theatlantic.com/product/archive/2014/08/the-hamburger-menu-debate/379145/}}
未经测试 - 基于 TeX SE 中的 this answer。
编辑:修复语法错误并将 url
项更改为 howpublished
,如图 here。
我设法使用以下 link 解决了这个问题:
https://tex.stackexchange.com/questions/134191/line-breaks-of-long-urls-in-biblatex-bibliography
基本上,您需要添加:
\usepackage{url}
%%% --- The following two lines are what needs to be added --- %%%
\setcounter{biburllcpenalty}{7000}
\setcounter{biburlucpenalty}{8000}
我的参考书目中有以下参考资料,URL 超出了页面的一侧。我正在使用以下包并在页面上需要它来打印边距准则:
\usepackage[style=authoryear]{biblatex}
这是其中一个令人反感的参考资料。我尝试了 \
,但在 URL 中这些最终变成了 %5C
。请帮忙。
@online{atlantichamburger,
author = "Libby Bawcombe",
year = "2014",
title = "The Hamburger Menu-Icon Debate",
location = "Washington",
publisher = "The Atlantic",
url = "https://www.theatlantic.com/product/archive/2014/08/the-hamburger-menu-debate/379145/"
}
使用 url 包并使用 howpublished
howpublished = {\url{https://www.theatlantic.com/product/archive/2014/08/the-hamburger-menu-debate/379145/}}
未经测试 - 基于 TeX SE 中的 this answer。
编辑:修复语法错误并将 url
项更改为 howpublished
,如图 here。
我设法使用以下 link 解决了这个问题:
https://tex.stackexchange.com/questions/134191/line-breaks-of-long-urls-in-biblatex-bibliography
基本上,您需要添加:
\usepackage{url}
%%% --- The following two lines are what needs to be added --- %%%
\setcounter{biburllcpenalty}{7000}
\setcounter{biburlucpenalty}{8000}