102 lines
3.3 KiB
TeX
102 lines
3.3 KiB
TeX
% 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}}
|
|
|
|
|
|
\RequirePackage{ifxetex}
|
|
\ifxetex
|
|
\RequirePackage{fontspec}
|
|
\defaultfontfeatures{Scale=MatchLowercase,Mapping=tex-text}
|
|
\defaultfontfeatures[\rmfamily]{Scale = 1}
|
|
\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
|
|
\newfontfamily\gostafont{ГОСТ 2.304-81}
|
|
\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}
|
|
|