Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

引用文献为网址时(字符串过长时),不能填满一行再换行 #353

Closed
4 tasks done
ddkkpp opened this issue May 10, 2022 · 3 comments
Closed
4 tasks done

Comments

@ddkkpp
Copy link

ddkkpp commented May 10, 2022

检查

  • 已经阅读《研究生学位论文撰写手册》或《中国科学技术大学本科毕业论文(设计)格式》
  • 已经将模板升级到了最新版
  • 已经阅读使用说明文档 ustcthesis.pdf
  • 已经阅读 常见问题

编译环境

  • 编译的系统:Overleaf
  • TeX 发行版:TeX Live 2021
  • 模板类型:bachelor

描述问题

引用文献为网址时(字符串过长时),不能填满一行再换行

截图:

image

复现上述问题的代码:

@article{cisco2020annual,
  title={\emph{Cisco annual internet report}},
  author={Cisco},
  year={2020},
  publisher={https://www.cisco.com/c/en/us/solutions/coll
  ateral/executive-perspectives/annual-internet-report/white-paper-c11-741490.html}
}
@ddkkpp ddkkpp changed the title 引用文献为网址时,文章标题的前后有空格 引用文献为网址时(字符串过长时),不能填满一行再换行 May 10, 2022
@zepinglee
Copy link
Member

@online{cisco2020annual,
  title  = {Cisco annual internet report},
  author = {Cisco},
  year   = {2020},
  url    = {https://www.cisco.com/c/en/us/solutions/collateral/executive-perspectives/annual-internet-report/white-paper-c11-741490.html}
}
  1. 网页使用 @online 类型。
  2. 标题中不要带 \emph,内容与样式分离。目前输出斜体是 bst 的 bug,我稍后修改一下。
  3. URL 填入 url 域,不要手动换行。

Screen Shot 2022-05-11 at 11 24 15

@zepinglee
Copy link
Member

ea3ea7b 顺便修复了网页标题为斜体的 bug,所以 title 中不再需要使用 \emph

你可以试一下有没有别的问题。

@ddkkpp
Copy link
Author

ddkkpp commented May 11, 2022

ea3ea7b 顺便修复了网页标题为斜体的 bug,所以 title 中不再需要使用 \emph

你可以试一下有没有别的问题。

没有问题了,谢谢。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants