latex-style-esdpx/xespdfont.sty

104 lines
3.4 KiB
Plaintext
Raw Normal View History

2019-07-01 03:29:20 +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}[2010/01/14 v0.98 Font Definitions]
\newcommand{\XESPDfontBaseLineStretch}{1}
\newcommand{\XESPDfontSetBaseLineStretch}{%
\renewcommand{\baselinestretch}{\XESPDfontBaseLineStretch}}
\RequirePackage{ifxetex}
\ifxetex
\RequirePackage{fontspec}
% \defaultfontfeatures{Scale=MatchLowercase}
\fi
\newcommand{\XESPDfontShape}{\rmfamily}
\newcommand{\XESPDfontIIsize}{\fontsize{8pt}{10pt}}
\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}}
\newcommand{\XESPDfontII}{%
\XESPDfontSetBaseLineStretch
\XESPDfontIIsize\selectfont\XESPDfontShape}
\newcommand{\XESPDfontIII}{%
\XESPDfontSetBaseLineStretch
\XESPDfontIIIsize\selectfont\XESPDfontShape}
\newcommand{\XESPDfontIV}{%
\XESPDfontSetBaseLineStretch
\XESPDfontIVsize\selectfont\XESPDfontShape}
\newcommand{\XESPDfontV}{%
\XESPDfontSetBaseLineStretch
\XESPDfontVsize\selectfont\XESPDfontShape}
\newcommand{\XESPDfontVII}{%
\XESPDfontSetBaseLineStretch
\XESPDfontVIIsize\selectfont\XESPDfontShape}
\newcommand{\XESPDfontX}{%
\XESPDfontSetBaseLineStretch
\XESPDfontXsize\selectfont\XESPDfontShape}
\RequirePackage{ifxetex}
\ifxetex
\newcommand{\XESPDtheGostFontName}{}
\newcommand{\XESPDgostFontName}[1]{\renewcommand{\XESPDtheGostFontName}{#1}}
\newcommand{\XESPDfontGostIII}{%
\XESPDfontSetBaseLineStretch
\XESPDfontIIIsize\setmainfont{\XESPDtheGostFontName}}
\newcommand{\XESPDfontGostIV}{%
\XESPDfontSetBaseLineStretch
\XESPDfontIVsize\setmainfont{\XESPDtheGostFontName}}
\XESPDgostFontName{GOST A}
\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{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}