|
|
|
@ -28,12 +28,14 @@
|
|
|
|
|
|
|
|
|
|
\DeclareOption{nofullpage}{\global\@Fullpagefalse}
|
|
|
|
|
|
|
|
|
|
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{extreport}}
|
|
|
|
|
\ProcessOptions
|
|
|
|
|
|
|
|
|
|
% 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.
|
|
|
|
|
\newcounter{act}
|
|
|
|
@ -147,12 +149,11 @@
|
|
|
|
|
\RequirePackage{xltxtra}
|
|
|
|
|
\RequirePackage{polyglossia}
|
|
|
|
|
\setdefaultlanguage{russian}
|
|
|
|
|
\defaultfontfeatures{Mapping=tex-text, Scale=MatchLowercase}
|
|
|
|
|
\setmainfont{PT Serif}
|
|
|
|
|
\defaultfontfeatures{Mapping=tex-text, Scale=MatchLowercase, Ligatures=TeX}
|
|
|
|
|
\setmainfont{PT Serif}[BoldFont={* Bold}, BoldItalicFont={* Bold Italic}, SmallCapsFont = {* Caption}]
|
|
|
|
|
\setmonofont{PT Mono}
|
|
|
|
|
\setmathrm{PT Serif}
|
|
|
|
|
\newfontfamily{\cyrillicfont}{PT Serif}
|
|
|
|
|
\newfontinstance\scshape[Letters=SmallCaps, Numbers=Uppercase]{PT Serif Caption}
|
|
|
|
|
\RequirePackage{hyperref}
|
|
|
|
|
\RequirePackage{indentfirst}
|
|
|
|
|
|
|
|
|
|