Skip to content

Commit

Permalink
Merge pull request #68 from syvshc/hotfix
Browse files Browse the repository at this point in the history
patch for newtx v1.7 or later
  • Loading branch information
EthanDeng authored Jan 15, 2022
2 parents 99bb48f + 8e4cf48 commit ceca68f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions elegantpaper.cls
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit ceca68f

Please sign in to comment.