Merge pull request #68 from syvshc/hotfix

patch for newtx v1.7 or later
This commit is contained in:
Dongsheng Deng
2022-01-15 09:59:51 +08:00
committed by GitHub

View File

@@ -7,6 +7,9 @@
\ProvidesClass{elegantpaper}[2020/04/12 v0.09 ElegantLaTeX Paper class]
\NeedsTeXFormat{LaTeX2e}
%%% patch for newtx v1.7 or later
\IfFileExists{newtx.sty}{\PassOptionsToPackage{nofontspec}{newtxtext}}{}
%%%
\RequirePackage{kvoptions}
\RequirePackage{etoolbox}
\RequirePackage{calc}