whutug / whu-thesis

:memo: 武汉大学毕业论文 LaTeX 模版 2024
LaTeX Project Public License v1.3c
931 stars 200 forks source link

本科毕业论文引用格式 #199

Closed UOBpo22145 closed 1 year ago

UOBpo22145 commented 1 year ago

2023年测绘学院发布的毕业论文书写规范中提到了两种引用格式

截屏2023-03-29 01 44 16

除了右上角引用,请问如何实现第二种引用格式?

note286 commented 1 year ago

biblatex下可以直接使用\parencite{}

UOBpo22145 commented 1 year ago

直接使用\parencite{}显示Undefined control sequence。 如果在chapter开头导入biblatex的包,显示LaTeX Error: Can be used only in preamble.

sikouhjw commented 1 year ago

直接使用\parencite{}显示Undefined control sequence。 如果在chapter开头导入biblatex的包,显示LaTeX Error: Can be used only in preamble.

模板配置了 biblatex,请你选择使用 biblatex 选项

UOBpo22145 commented 1 year ago

是在抱歉,问一下怎么使用这个选项?你们的写法太高级,我是小白看不懂

note286 commented 1 year ago

看文档了吗???Ctrl+Fstyle/bib-backend

sikouhjw commented 1 year ago

https://github.com/whutug/whu-thesis/blob/6f19c2e0d34bbfc752f86a7ea505154a185ff595/whu-thesis-doc.tex#L464-L469 我不相信是基础问题,我相信是你没有看手册。

note286 commented 1 year ago

已经麻木了,毕竟看手册的也不会来问。

UOBpo22145 commented 1 year ago

好的感谢!已经解决了,我设置cite-style=numerical-inline, 然后对使用右上角标的使用: \textsuperscript{\cite{}}

note286 commented 1 year ago

(⊙o⊙)…,算了,你觉得可以就行。

UOBpo22145 commented 1 year ago

因为尝试使用biblatex后,参考文献格式不符合要求。

note286 commented 1 year ago

你看一下2005和2015的规范就知道了到底符合不符合了。

note286 commented 1 year ago

natbib你可以\NewDocumentCommand\parencite{m}{\begingroup\citestyle{numbers}\cite{#1}\endgroup}

sikouhjw commented 1 year ago
  1. https://github.com/whutug/whu-thesis/blob/6f19c2e0d34bbfc752f86a7ea505154a185ff595/whu-thesis-doc.tex#L471
  2. https://github.com/zepinglee/gbt7714-bibtex-style/issues/95#issuecomment-1067924571
UOBpo22145 commented 1 year ago

好的感谢!成功解决