Skip to content

Commit

Permalink
Fix BibTeX setttings (Fix #578)
Browse files Browse the repository at this point in the history
  • Loading branch information
zepinglee committed Nov 17, 2020
1 parent 3d64489 commit 8e33a92
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
12 changes: 6 additions & 6 deletions thusetup.tex
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@
% 也可以使用 ntheorem
% \usepackage[amsmath,thmmarks,hyperref]{ntheorem}

% % 参考文献使用 BibTeX + natbib 宏包
% % 顺序编码制
% \usepackage[sort]{natbib}
% \bibliographystyle{thuthesis-numeric}
% 参考文献使用 BibTeX + natbib 宏包
% 顺序编码制
\usepackage[sort]{natbib}
\bibliographystyle{thuthesis-numeric}

% 著者-出版年制
% \usepackage{natbib}
Expand All @@ -145,12 +145,12 @@
% \bibliographystyle{thuthesis-bachelor}

% 参考文献使用 BibLaTeX 宏包
\usepackage[backend=biber,style=thuthesis-numeric]{biblatex}
% \usepackage[backend=biber,style=thuthesis-numeric]{biblatex}
% \usepackage[backend=biber,style=thuthesis-author-year]{biblatex}
% \usepackage[backend=biber,style=apa]{biblatex}
% \usepackage[backend=biber,style=mla-new]{biblatex}
% 声明 BibLaTeX 的数据库
\addbibresource{ref/refs.bib}
% \addbibresource{ref/refs.bib}

% 定义所有的图片文件在 figures 子目录下
\graphicspath{{figures/}}
Expand Down
9 changes: 5 additions & 4 deletions thuthesis-example.tex
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
\backmatter

% 参考文献
% \bibliography{ref/refs} % 参考文献使用 BibTeX 编译
\printbibliography % 参考文献使用 BibLaTeX 编译
\bibliography{ref/refs} % 参考文献使用 BibTeX 编译
% \printbibliography % 参考文献使用 BibLaTeX 编译

% 附录
\appendix
Expand All @@ -67,8 +67,9 @@

% 声明
\statement
% 本科生编译生成的声明页默认不带页码(page-style=empty),而在插入扫描版时补上页码。
% 如果使用电子签名,可以选择加上页码:
% 生成的声明页是否要插入页眉和页脚(默认 empty)
% 仅在需要进行电子签名时,才需要打开这一选项
% 插入的扫描声明页总是会生成页眉(研究生)和页脚,不受这一选项影响
% \statement[page-style=plain]
% 将签字扫描后的声明文件 scan-statement.pdf 替换原始页面
% \statement[file=scan-statement.pdf]
Expand Down

0 comments on commit 8e33a92

Please sign in to comment.