diff --git a/oreolek-script.cls b/oreolek-script.cls index 9a8680b..ceee6d0 100644 --- a/oreolek-script.cls +++ b/oreolek-script.cls @@ -117,7 +117,6 @@ \newenvironment{authortext}{\setlength{\parindent}{2em}}{\setlength{\parindent}{0em}} - % We also want there to be no indents and a medskip between long paragraphs % of text. If you do not want there to be a skip, comment out the second line. \setlength{\parindent}{0in} @@ -131,4 +130,24 @@ \oddsidemargin 0.25in \textwidth 6in -% And we're done! \ No newline at end of file +% And we're done! + +\RequirePackage{fontspec} +\RequirePackage{xunicode} +\RequirePackage{xltxtra} +\RequirePackage{polyglossia} +\setdefaultlanguage{russian} +\defaultfontfeatures{Mapping=tex-text, Scale=MatchLowercase} +\setmainfont{PT Serif} +\setmonofont{PT Mono} +\setmathrm{PT Serif} +\newfontfamily{\cyrillicfont}{PT Serif} +\newfontinstance\scshape[Letters=SmallCaps, Numbers=Uppercase]{PT Serif Caption} +\RequirePackage{hyperref} +\RequirePackage{indentfirst} +\RequirePackage[cm]{fullpage} +\pagestyle{empty} +\setcounter{secnumdepth}{0} +\setcounter{tocdepth}{2} +\author{Александр Яковлев} +\endinput \ No newline at end of file