move reference file outside of cls file

This commit is contained in:
EthanDeng
2022-09-18 19:58:18 +08:00
parent 162aad7ece
commit 3f2c2b8bea
3 changed files with 3 additions and 1 deletions

View File

@@ -13,6 +13,7 @@
% 本文档命令 % 本文档命令
\usepackage{array} \usepackage{array}
\newcommand{\ccr}[1]{\makecell{{\color{#1}\rule{1cm}{1cm}}}} \newcommand{\ccr}[1]{\makecell{{\color{#1}\rule{1cm}{1cm}}}}
\addbibresource[location=local]{reference.bib} % 参考文献,不要删除
\begin{document} \begin{document}

View File

@@ -13,6 +13,7 @@
\usepackage{array} \usepackage{array}
\newcommand{\ccr}[1]{\makecell{{\color{#1}\rule{1cm}{1cm}}}} \newcommand{\ccr}[1]{\makecell{{\color{#1}\rule{1cm}{1cm}}}}
\addbibresource[location=local]{reference.bib} % reference file
\begin{document} \begin{document}
\maketitle \maketitle

View File

@@ -365,7 +365,7 @@
backgroundcolor=\color{lightgrey} backgroundcolor=\color{lightgrey}
} }
\addbibresource[location=local]{reference.bib}
% restore the tt default family to lmodern tt family % restore the tt default family to lmodern tt family
\renewcommand\ttdefault{lmtt} \renewcommand\ttdefault{lmtt}