diff --git a/elegantpaper-cn.tex b/elegantpaper-cn.tex index df983c9..8c77615 100644 --- a/elegantpaper-cn.tex +++ b/elegantpaper-cn.tex @@ -13,6 +13,7 @@ % 本文档命令 \usepackage{array} \newcommand{\ccr}[1]{\makecell{{\color{#1}\rule{1cm}{1cm}}}} +\addbibresource[location=local]{reference.bib} % 参考文献,不要删除 \begin{document} diff --git a/elegantpaper-en.tex b/elegantpaper-en.tex index 73499dc..91c4cf7 100644 --- a/elegantpaper-en.tex +++ b/elegantpaper-en.tex @@ -13,6 +13,7 @@ \usepackage{array} \newcommand{\ccr}[1]{\makecell{{\color{#1}\rule{1cm}{1cm}}}} +\addbibresource[location=local]{reference.bib} % reference file \begin{document} \maketitle diff --git a/elegantpaper.cls b/elegantpaper.cls index 828171b..b813c1e 100644 --- a/elegantpaper.cls +++ b/elegantpaper.cls @@ -365,7 +365,7 @@ backgroundcolor=\color{lightgrey} } -\addbibresource[location=local]{reference.bib} + % restore the tt default family to lmodern tt family \renewcommand\ttdefault{lmtt}