Closed MelO-BeE closed 4 years ago
谢谢了!
texlive 里自带,善用百度
texlive 里自带,善用百度
查了好久,也没整太明白,还毁了好几个文档,幸好有备份(T——T)
texlive\2019\texmf-dist\bibtex\bst\IEEEtran\IEEEtran.bst
到 ucasthesis\Biblio
下ucasthesis\Style\artatex.sty
中 \bibliographystyle{Biblio/gbt7714-unsrt}
或 \bibliographystyle{Biblio/gbt7714-plain}
修改为 \bibliographystyle{Biblio/IEEEtran}
- 复制
texlive\2019\texmf-dist\bibtex\bst\IEEEtran\IEEEtran.bst
到ucasthesis\Biblio
下- 将
ucasthesis\Style\artatex.sty
中\bibliographystyle{Biblio/gbt7714-unsrt}
或\bibliographystyle{Biblio/gbt7714-plain}
修改为\bibliographystyle{Biblio/IEEEtran}
大佬,并不管用。。。
我这里是有效的,你有按照 xelatex -> bibtex -> xelatex -> xelatex
的顺序编译吗
font{
line-height: 1.6;
}
ul,ol{
padding-left: 20px;
list-style-position: inside;
}
把 \bibliographystyle{Biblio/IEEEtran}改为 \bibliographystyle{IEEEtran}
我这里是有效的,你有按照
xelatex -> bibtex -> xelatex -> xelatex
的顺序编译吗
Package natbib Error: Bibliography not compatible with author-year citations. ...and\NAT@force@numbers{}\NAT@force@numbers
font{ line-height: 1.6; } ul,ol{ padding-left: 20px; list-style-position: inside; } 把 \bibliographystyle{Biblio/IEEEtran}改为 \bibliographystyle{IEEEtran}
大佬,上面的代码插哪里?
Thesis.tex 中设置\usepackage[bibtex,numbers,list]{Style/artratex}
artratex.sty中设置
%- %-> Bibliography processor and package %- %- Bibtex processor + natbib package \ifartx@bibtex% % Set punctuation and mode of citation style \newcommand{\bibstyle@super}{\bibpunct{[}{]}{,}{s}{,}{\textsuperscript{,}}}% \newcommand{\bibstyle@numbers}{\bibpunct{[}{]}{,}{n}{,}{,}}% \newcommand{\bibstyle@authoryear}{\bibpunct{(}{)}{;}{a}{,}{,}}% \newcommand{\bibstyle@alpha}{\bibpunct{[}{]}{,}{n}{,}{,}}% \ifartx@numbers% enable numbered citation style \RequirePackage[sort&compress]{natbib}% numbered citation mode \ifartx@super% enable superscripted citation style \citestyle{super}% \else \citestyle{numbers}% \fi \bibliographystyle{IEEEtran}% numbered scheme \fi \ifartx@authoryear% enable author year citation style \RequirePackage{natbib}% author year citation mode \citestyle{authoryear}% \bibliographystyle{Biblio/gbt7714-plain}% author year scheme \fi \ifartx@alpha% enable alpha citation style \RequirePackage[square,comma,numbers]{natbib}% alpha citation mode \bibliographystyle{alpha}% alpha scheme \fi \providecommand{\citetns}[2][]{% text embedded \citet in superscripted mode \begingroup\citestyle{numbers}\citet[#1]{#2}\endgroup% } \providecommand{\citepns}[2][]{% text embedded \citep in superscripted mode \begingroup\citestyle{numbers}\citep[#1]{#2}\endgroup% } \fi
Thesis.tex 中设置\usepackage[bibtex,numbers,list]{Style/artratex}
artratex.sty中设置
%- %-> Bibliography processor and package %- %- Bibtex processor + natbib package \ifartx@bibtex% % Set punctuation and mode of citation style \newcommand{\bibstyle@super}{\bibpunct{[}{]}{,}{s}{,}{\textsuperscript{,}}}% \newcommand{\bibstyle@numbers}{\bibpunct{[}{]}{,}{n}{,}{,}}% \newcommand{\bibstyle@authoryear}{\bibpunct{(}{)}{;}{a}{,}{,}}% \newcommand{\bibstyle@alpha}{\bibpunct{[}{]}{,}{n}{,}{,}}% \ifartx@numbers% enable numbered citation style \RequirePackage[sort&compress]{natbib}% numbered citation mode \ifartx@super% enable superscripted citation style \citestyle{super}% \else \citestyle{numbers}% \fi \bibliographystyle{IEEEtran}% numbered scheme \fi \ifartx@authoryear% enable author year citation style \RequirePackage{natbib}% author year citation mode \citestyle{authoryear}% \bibliographystyle{Biblio/gbt7714-plain}% author year scheme \fi \ifartx@alpha% enable alpha citation style \RequirePackage[square,comma,numbers]{natbib}% alpha citation mode \bibliographystyle{alpha}% alpha scheme \fi \providecommand{\citetns}[2][]{% text embedded \citet in superscripted mode \begingroup\citestyle{numbers}\citet[#1]{#2}\endgroup% } \providecommand{\citepns}[2][]{% text embedded \citep in superscripted mode \begingroup\citestyle{numbers}\citep[#1]{#2}\endgroup% } \fi
大佬稳!!!
ok了?
ok了?
对的!谢谢大佬!
我这里是有效的,你有按照
xelatex -> bibtex -> xelatex -> xelatex
的顺序编译吗
大佬,你的方法也可以!谢谢大佬!
检查 / Check
closed issues
编译环境 / Compilation Environment
操作系统 / Operating System
TeX 发行版 / Tex Distribution
描述问题 / Problem Description
问题描述:
日志文件 / .log file
将编译生成的
.log
文件拖入下行空白处:问题截图 / Screenshots
将出现的问题或需要实现的效果的
截图照片
拖入下行空白处:最小工作示例(MWE) / Minimal Working Example