mirror of
https://github.com/ElegantLaTeX/ElegantBook.git
synced 2026-01-26 04:14:35 +08:00
Merge pull request #177 from syvshc/hotfix
patch for newtx v1.7 or later
This commit is contained in:
@@ -10,6 +10,9 @@
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesClass{elegantbook}[2021/05/02 v4.1 ElegantBook document class]
|
||||
|
||||
%%% patch for newtx v1.7 or later
|
||||
\IfFileExists{newtx.sty}{\PassOptionsToPackage{nofontspec}{newtxtext}}{}
|
||||
%%%
|
||||
\RequirePackage{kvoptions}
|
||||
\RequirePackage{etoolbox}
|
||||
\SetupKeyvalOptions{family=ELEGANT, prefix=ELEGANT@, setkeys=\kvsetkeys}
|
||||
|
||||
Reference in New Issue
Block a user