2020-03-14 11:58:37 +00:00
|
|
|
% Copyright 2006 Konstantin Korikov <lostclus@ua.fm>
|
|
|
|
%
|
|
|
|
% This work may be distributed and/or modified under the
|
|
|
|
% conditions of the LaTeX Project Public License, either version 1.3
|
|
|
|
% of this license or (at your option) any later version.
|
|
|
|
% The latest version of this license is in
|
|
|
|
% http://www.latex-project.org/lppl.txt
|
|
|
|
% and version 1.3 or later is part of all distributions of LaTeX
|
|
|
|
% version 2003/12/01 or later.
|
|
|
|
%
|
|
|
|
% This work has the LPPL maintenance status "maintained".
|
|
|
|
%
|
|
|
|
% This Current Maintainer of this work is Konstantin Korikov.
|
|
|
|
%
|
|
|
|
% This work consists of all files listed in manifest.txt.
|
|
|
|
%
|
|
|
|
|
|
|
|
%
|
|
|
|
% This is automaticaly generated file, do not edit it.
|
|
|
|
%
|
|
|
|
|
|
|
|
\NeedsTeXFormat{LaTeX2e}
|
|
|
|
\ProvidesPackage{xespdfont}[2020/03/20 v1.00 Font Definitions]
|
|
|
|
|
|
|
|
\newcommand{\XESPDfontBaseLineStretch}{1}
|
|
|
|
|
|
|
|
\newcommand{\XESPDfontSetBaseLineStretch}{%
|
|
|
|
\renewcommand{\baselinestretch}{\XESPDfontBaseLineStretch}}
|
|
|
|
|
2020-03-14 13:26:23 +00:00
|
|
|
|
|
|
|
\RequirePackage{ifxetex}
|
|
|
|
\ifxetex
|
|
|
|
\RequirePackage{fontspec}
|
|
|
|
\defaultfontfeatures{Scale=MatchLowercase,Mapping=tex-text}
|
|
|
|
\fi
|
|
|
|
|
|
|
|
\newcommand{\XESPDfontShape}{\rmfamily}
|
2020-03-14 11:58:37 +00:00
|
|
|
|
|
|
|
\newcommand{\XESPDfontIIsize}{\fontsize{8pt}{10pt}}
|
2020-03-14 13:26:23 +00:00
|
|
|
\newcommand{\XESPDfontIIIsize}{\fontsize{10pt}{13pt}}
|
|
|
|
\newcommand{\XESPDfontIVsize}{\fontsize{12pt}{16pt}}
|
|
|
|
\newcommand{\XESPDfontVsize}{\fontsize{14pt}{18pt}}
|
|
|
|
\newcommand{\XESPDfontVIIsize}{\fontsize{18pt}{24pt}}
|
|
|
|
\newcommand{\XESPDfontXsize}{\fontsize{32pt}{40pt}}
|
2020-03-14 11:58:37 +00:00
|
|
|
|
|
|
|
\newcommand{\XESPDfontII}{%
|
|
|
|
\XESPDfontSetBaseLineStretch
|
|
|
|
\XESPDfontIIsize\selectfont\XESPDfontShape}
|
|
|
|
\newcommand{\XESPDfontIII}{%
|
|
|
|
\XESPDfontSetBaseLineStretch
|
|
|
|
\XESPDfontIIIsize\selectfont\XESPDfontShape}
|
2020-03-14 13:26:23 +00:00
|
|
|
\newcommand{\XESPDfontIV}{%
|
|
|
|
\XESPDfontSetBaseLineStretch
|
|
|
|
\XESPDfontIVsize\selectfont\XESPDfontShape}
|
2020-03-14 11:58:37 +00:00
|
|
|
\newcommand{\XESPDfontV}{%
|
|
|
|
\XESPDfontSetBaseLineStretch
|
|
|
|
\XESPDfontVsize\selectfont\XESPDfontShape}
|
|
|
|
\newcommand{\XESPDfontVII}{%
|
|
|
|
\XESPDfontSetBaseLineStretch
|
|
|
|
\XESPDfontVIIsize\selectfont\XESPDfontShape}
|
|
|
|
\newcommand{\XESPDfontX}{%
|
|
|
|
\XESPDfontSetBaseLineStretch
|
|
|
|
\XESPDfontXsize\selectfont\XESPDfontShape}
|
|
|
|
|
2020-03-14 13:26:23 +00:00
|
|
|
\RequirePackage{ifxetex}
|
|
|
|
\ifxetex
|
|
|
|
\RequirePackage[T2A]{fontenc}
|
|
|
|
\newfontfamily\gostafont{GOST A}
|
|
|
|
\newcommand{\XESPDfontGostIII}{%
|
|
|
|
\XESPDfontSetBaseLineStretch\XESPDfontIIIsize\gostafont}
|
|
|
|
\newcommand{\XESPDfontGostIV}{%
|
|
|
|
\XESPDfontSetBaseLineStretch\XESPDfontIVsize\gostafont}
|
|
|
|
\setsansfont[Mapping=tex-text]{Arial}
|
|
|
|
\setromanfont[Mapping=tex-text]{XITS}
|
|
|
|
\setmainfont[Ligatures=TeX]{Times New Roman}
|
|
|
|
\newfontfamily\cyrillicfont{Times New Roman}[Script=Cyrillic]
|
|
|
|
\setmonofont[Mapping=tex-text]{Pragmata Pro Mono}
|
|
|
|
\newfontfamily\listingsfont{Pragmata Pro Mono Bold}
|
|
|
|
\newfontfamily\listingsfontinline{Pragmata Pro Mono Bold}
|
|
|
|
\RequirePackage{amsmath}
|
|
|
|
\DeclareSymbolFont{letters}{\encodingdefault}{\rmdefault}{m}{it}
|
|
|
|
\usepackage{unicode-math}
|
|
|
|
\setmathfont{XITS Math}
|
|
|
|
\else
|
|
|
|
\RequirePackage[T2A]{fontenc}
|
|
|
|
\RequirePackage{mathptmx}
|
|
|
|
\RequirePackage{gostfont}
|
|
|
|
\RequirePackage[defaultroman]{mstimes}
|
|
|
|
\RequirePackage[defaultsans]{msarial}
|
|
|
|
\RequirePackage[defaultmono]{pragmatapro}
|
|
|
|
\newcommand{\XESPDfontGostIII}{%
|
|
|
|
\XESPDfontSetBaseLineStretch
|
|
|
|
\XESPDfontIIIsize\selectfont\GostBFont}
|
|
|
|
\newcommand{\XESPDfontGostIV}{%
|
|
|
|
\XESPDfontSetBaseLineStretch
|
|
|
|
\XESPDfontIVsize\selectfont\GostBFont}
|
|
|
|
\fi
|
|
|
|
|
|
|
|
\newcommand{\XESPDfontTabHead}{\XESPDfontV}
|
|
|
|
\newcommand{\XESPDfontTabBody}{\XESPDfontV}
|
2020-03-14 11:58:37 +00:00
|
|
|
|