mirror of
https://github.com/ElegantLaTeX/ElegantPaper.git
synced 2026-01-26 20:34:38 +08:00
move reference file outside of cls file
This commit is contained in:
@@ -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}
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user