41 lines
1.3 KiB
OpenEdge ABL
Raw Permalink Normal View History

2014-06-24 12:05:17 +03:00
% Declare that this style file requires at least LaTeX version 2e.
% Provide the name of your page, the date it was last updated, and a comment about what it's used for
\ProvidesPackage{oreolek-book}[2012/10/09 Oreolek's custom XeTeX style for books]
\PassOptionsToClass{\CurrentOption}{memoir}% or book or whatever
% Now we'll execute any options passed in
% Instead of defining each and every little detail required to create a new document class,
% you can base your class on an existing document class.
\LoadClass{memoir}% or book or whatever you class is closest to
\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}
\author{Александр Яковлев}