如何格式化参考书目以避免页面超限?

如何格式化参考书目以避免页面超限?

正如标题所示,当包含网站时,我的一些参考资料会超出页面范围。我该如何让它换行到下一行?

问题示例:

网站超出页面

最小示例:

 \documentclass[12pt,a4paper]{article}


\usepackage{hyperref}
\usepackage{natbib}
\bibliographystyle{apalike}



\begin{document}

\section{Abstract}
The future development of cities is critical for providing the spatial foundations for a society with cleaner modes of production and consumption \citep{aila2014,dpcd2009}.





\bibliography{My_Library}






\end{document}

My_library

@misc{aila2014,
  title = {2014 {{AILA VIC Award Winners}}},
  author = {{AILA}},
  year = {2014},
  howpublished = {https://www.aila.org.au/imis\_prod/AILAWeb/Chapters/VIC/2014\_AILA\_VIC\_Award\_Winners.aspx},
  journal = {Australian Institute of Landscape Architects}
}

@misc{dpcd2009,
  title = {Urban {{Design}}},
  author = {{DPCD}},
  year = {2009},
  month = jul,
  howpublished = {https://web.archive.org/web/20090703094547/http://www.dse.vic.gov.au/DSE/nrenpl.nsf/childdocs/-A8F9628C2B9FCDF8CA2572DA007DFD52?open},
  journal = {Department of Planning and Community Development}
}

答案1

如果您将 URL 包装在 中\url,效果会非常好!

@misc{aila2014,
    title = {2014 {{AILA VIC Award Winners}}},
    author = {{AILA}},
    year = {2014},
    howpublished = {\url{https://www.aila.org.au/imis\_prod/AILAWeb/Chapters/VIC/2014\_AILA\_VIC\_Award\_Winners.aspx}},
    journal = {Australian Institute of Landscape Architects}
}

@misc{dpcd2009,
    title = {Urban {{Design}}},
    author = {{DPCD}},
    year = {2009},
    month = jul,
    howpublished = {\url{https://web.archive.org/web/20090703094547/http://www.dse.vic.gov.au/DSE/nrenpl.nsf/childdocs/-A8F9628C2B9FCDF8CA2572DA007DFD52?open}},
    journal = {Department of Planning and Community Development}
}

工作 PDF 文件

在里面文档对于 Zotero 扩展“Better BibTeX”,可以添加 Javascript 代码来设置某些字段的首选项。第一个示例展示了如果条目类型为 ,如何在 BibTeX 字段的\urlURL 前添加 -Tag 。例如,这可以更改为。howpublishedwebpagemisc

if (Translator.BetterBibTeX && item.itemType === 'webpage') {
    if (item.url) {
        reference.add({ name: 'howpublished', bibtex: "{\\url{" + reference.enc_verbatim({value: item.url}) + "}}" });
    }
}

相关内容