ustctug / ustcthesis

LaTeX template for USTC thesis
https://gradschool.ustc.edu.cn/column/65
LaTeX Project Public License v1.3c
1.63k stars 399 forks source link

本科毕业论文英文文献期刊名需要斜体 #306

Closed zheyuanhu01 closed 3 years ago

zheyuanhu01 commented 3 years ago

检查

编译环境

描述问题

《关于本科毕业论文(设计)格式和统一封面的通知》最后一页最后一行要求外文期刊名用白斜体,而模板编译的结果是Times New Roman

截图: image

复现上述问题的代码: @article{kukar2003transductive, title={Transductive reliability estimation for medical diagnosis}, author={Kukar, Matja{\v{z}}}, journal={Artificial Intelligence in Medicine}, volume={29}, number={1-2}, pages={81--106}, year={2003}, publisher={Elsevier} }

感谢学长的辛勤付出,你们辛苦了!

zepinglee commented 3 years ago

自己改下 \bibliographystyle

high-velocity-rotating-pigeon commented 3 years ago

\bibliographystyle 命令似乎不起作用

zepinglee commented 3 years ago

\bibliographystyle{ustcthesis-bachelor}

high-velocity-rotating-pigeon commented 3 years ago

\bibliographystyle{ustcthesis-bachelor}

我使用 TeXstudio 3.0.4, 输入这个命令以后编译, 反馈 This is BibTeX, Version 0.99d (MiKTeX 21.1) The top-level auxiliary file: main.aux The style file: ustcthesis-numerical.bst Illegal, another \bibstyle command---line 169 of file main.aux : \bibstyle : {ustcthesis-bachelor} I'm skipping whatever remains of this command Database file #1: bib/ustc.bib (There was 1 error message) 出现错误

并且结果没有变化, 请问问题出在哪里?

taoky commented 3 years ago

\bibliographystyle{ustcthesis-bachelor}

我使用 TeXstudio 3.0.4, 输入这个命令以后编译, 反馈 This is BibTeX, Version 0.99d (MiKTeX 21.1) The top-level auxiliary file: main.aux The style file: ustcthesis-numerical.bst Illegal, another \bibstyle command---line 169 of file main.aux : \bibstyle : {ustcthesis-bachelor} I'm skipping whatever remains of this command Database file #1: bib/ustc.bib (There was 1 error message) 出现错误

并且结果没有变化, 请问问题出在哪里?

https://github.com/ustctug/ustcthesis/blob/master/ustcsetup.tex#L57

zepinglee commented 3 years ago

标准情况下一份文档只能用一个 \bibliographystyle,你把 https://github.com/ustctug/ustcthesis/blob/ae77e5e4cf1d48a5319eb0f825a4c6387c83e118/ustcsetup.tex#L47-L49 注释掉,再反注释 https://github.com/ustctug/ustcthesis/blob/ae77e5e4cf1d48a5319eb0f825a4c6387c83e118/ustcsetup.tex#L55-L57 然后删掉 .aux 文件重新编译。

high-velocity-rotating-pigeon commented 3 years ago

我找到问题了, 已解决非常感谢!