Current version

This commit is contained in:
Alexander Yakovlev 2017-11-12 01:29:21 +07:00
parent 62ae8bc1df
commit 8bbceb3b97
3 changed files with 12 additions and 13 deletions

View File

@ -20,12 +20,11 @@
\RequirePackage{xltxtra} \RequirePackage{xltxtra}
\RequirePackage{polyglossia} \RequirePackage{polyglossia}
\setdefaultlanguage{russian} \setdefaultlanguage{russian}
\defaultfontfeatures{Mapping=tex-text, Scale=MatchLowercase} \defaultfontfeatures{Mapping=tex-text, Scale=MatchLowercase, Ligatures=TeX}
\setmainfont{PT Serif} \setmainfont{PT Serif}[BoldFont={* Bold}, BoldItalicFont={* Bold Italic}, SmallCapsFont = {* Caption}]
\setmonofont{PT Mono} \setmonofont{PT Mono}
\setmathrm{PT Serif} \setmathrm{PT Serif}
\newfontfamily{\cyrillicfont}{PT Serif} \newfontfamily{\cyrillicfont}{PT Serif}
\newfontinstance\scshape[Letters=SmallCaps, Numbers=Uppercase]{PT Serif Caption}
\RequirePackage{hyperref} \RequirePackage{hyperref}
\RequirePackage{indentfirst} \RequirePackage{indentfirst}
\RequirePackage[cm]{fullpage} \RequirePackage[cm]{fullpage}

View File

@ -21,12 +21,11 @@
\RequirePackage{polyglossia} \RequirePackage{polyglossia}
\RequirePackage{pifont} \RequirePackage{pifont}
\setdefaultlanguage{russian} \setdefaultlanguage{russian}
\defaultfontfeatures{Mapping=tex-text, Scale=MatchLowercase} \defaultfontfeatures{Mapping=tex-text, Scale=MatchLowercase, Ligatures=TeX}
\setmainfont{PT Serif} \setmainfont{PT Serif}[BoldFont={* Bold}, BoldItalicFont={* Bold Italic}, SmallCapsFont = {* Caption}]
\setmonofont{PT Mono} \setmonofont{PT Mono}
\setmathrm{PT Serif} \setmathrm{PT Serif}
\newfontfamily{\cyrillicfont}{PT Serif} \newfontfamily{\cyrillicfont}{PT Serif}
\newfontinstance\scshape[Letters=SmallCaps, Numbers=Uppercase]{PT Serif Caption}
\RequirePackage{hyperref} \RequirePackage{hyperref}
\RequirePackage{indentfirst} \RequirePackage{indentfirst}
\RequirePackage[cm]{fullpage} \RequirePackage[cm]{fullpage}

View File

@ -28,12 +28,14 @@
\DeclareOption{nofullpage}{\global\@Fullpagefalse} \DeclareOption{nofullpage}{\global\@Fullpagefalse}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{extreport}}
\ProcessOptions
% We will be basing this class on the report class. % We will be basing this class on the report class.
\LoadClass{report} \DeclareOption*{%
\PassOptionsToClass{\CurrentOption}{extreport}% or book or whatever
}
\ProcessOptions\relax
\LoadClass{extreport}
% Now we initialize the counters. % Now we initialize the counters.
\newcounter{act} \newcounter{act}
@ -147,12 +149,11 @@
\RequirePackage{xltxtra} \RequirePackage{xltxtra}
\RequirePackage{polyglossia} \RequirePackage{polyglossia}
\setdefaultlanguage{russian} \setdefaultlanguage{russian}
\defaultfontfeatures{Mapping=tex-text, Scale=MatchLowercase} \defaultfontfeatures{Mapping=tex-text, Scale=MatchLowercase, Ligatures=TeX}
\setmainfont{PT Serif} \setmainfont{PT Serif}[BoldFont={* Bold}, BoldItalicFont={* Bold Italic}, SmallCapsFont = {* Caption}]
\setmonofont{PT Mono} \setmonofont{PT Mono}
\setmathrm{PT Serif} \setmathrm{PT Serif}
\newfontfamily{\cyrillicfont}{PT Serif} \newfontfamily{\cyrillicfont}{PT Serif}
\newfontinstance\scshape[Letters=SmallCaps, Numbers=Uppercase]{PT Serif Caption}
\RequirePackage{hyperref} \RequirePackage{hyperref}
\RequirePackage{indentfirst} \RequirePackage{indentfirst}