3

我的参考书目中有以下参考,并且 URL 不在页面的一侧。我正在使用以下软件包,并且需要在页面上使用它来打印边距指南:

\usepackage[style=authoryear]{biblatex}

这是令人反感的参考资料之一。我试过了\\,但这些最终都%5C在 URL 中。请帮忙。

@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/"
}
4

2 回答 2

4

我设法使用以下链接解决了这个问题:

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}
于 2017-04-24T16:40:09.833 回答
1

使用 url 包并使用howpublished

howpublished = {\url{https://www.theatlantic.com/product/archive/2014/08/the-hamburger-menu-debate/379145/}}

未经测试 - 基于TeX SE 中的这个答案

编辑:修复语法错误并将url项目更改howpublished为如图所示

于 2017-04-24T14:47:41.133 回答