Шрифт
This commit is contained in:
parent
a006631d63
commit
30ffef8ba3
@ -27,13 +27,21 @@
|
|||||||
\newcommand{\XESPDfontSetBaseLineStretch}{%
|
\newcommand{\XESPDfontSetBaseLineStretch}{%
|
||||||
\renewcommand{\baselinestretch}{\XESPDfontBaseLineStretch}}
|
\renewcommand{\baselinestretch}{\XESPDfontBaseLineStretch}}
|
||||||
|
|
||||||
\newcommand{\XESPDfontShape}{\slshape}
|
|
||||||
|
\RequirePackage{ifxetex}
|
||||||
|
\ifxetex
|
||||||
|
\RequirePackage{fontspec}
|
||||||
|
\defaultfontfeatures{Scale=MatchLowercase,Mapping=tex-text}
|
||||||
|
\fi
|
||||||
|
|
||||||
|
\newcommand{\XESPDfontShape}{\rmfamily}
|
||||||
|
|
||||||
\newcommand{\XESPDfontIIsize}{\fontsize{8pt}{10pt}}
|
\newcommand{\XESPDfontIIsize}{\fontsize{8pt}{10pt}}
|
||||||
\newcommand{\XESPDfontIIIsize}{\fontsize{10pt}{12pt}}
|
\newcommand{\XESPDfontIIIsize}{\fontsize{10pt}{13pt}}
|
||||||
\newcommand{\XESPDfontVsize}{\fontsize{16pt}{18pt}}
|
\newcommand{\XESPDfontIVsize}{\fontsize{12pt}{16pt}}
|
||||||
\newcommand{\XESPDfontVIIsize}{\fontsize{20pt}{23pt}}
|
\newcommand{\XESPDfontVsize}{\fontsize{14pt}{18pt}}
|
||||||
\newcommand{\XESPDfontXsize}{\fontsize{32pt}{38pt}}
|
\newcommand{\XESPDfontVIIsize}{\fontsize{18pt}{24pt}}
|
||||||
|
\newcommand{\XESPDfontXsize}{\fontsize{32pt}{40pt}}
|
||||||
|
|
||||||
\newcommand{\XESPDfontII}{%
|
\newcommand{\XESPDfontII}{%
|
||||||
\XESPDfontSetBaseLineStretch
|
\XESPDfontSetBaseLineStretch
|
||||||
@ -41,6 +49,9 @@
|
|||||||
\newcommand{\XESPDfontIII}{%
|
\newcommand{\XESPDfontIII}{%
|
||||||
\XESPDfontSetBaseLineStretch
|
\XESPDfontSetBaseLineStretch
|
||||||
\XESPDfontIIIsize\selectfont\XESPDfontShape}
|
\XESPDfontIIIsize\selectfont\XESPDfontShape}
|
||||||
|
\newcommand{\XESPDfontIV}{%
|
||||||
|
\XESPDfontSetBaseLineStretch
|
||||||
|
\XESPDfontIVsize\selectfont\XESPDfontShape}
|
||||||
\newcommand{\XESPDfontV}{%
|
\newcommand{\XESPDfontV}{%
|
||||||
\XESPDfontSetBaseLineStretch
|
\XESPDfontSetBaseLineStretch
|
||||||
\XESPDfontVsize\selectfont\XESPDfontShape}
|
\XESPDfontVsize\selectfont\XESPDfontShape}
|
||||||
@ -51,6 +62,40 @@
|
|||||||
\XESPDfontSetBaseLineStretch
|
\XESPDfontSetBaseLineStretch
|
||||||
\XESPDfontXsize\selectfont\XESPDfontShape}
|
\XESPDfontXsize\selectfont\XESPDfontShape}
|
||||||
|
|
||||||
\newcommand{\XESPDfontTabHead}{\XESPDfontIII}
|
\RequirePackage{ifxetex}
|
||||||
\newcommand{\XESPDfontTabBody}{\XESPDfontIII}
|
\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}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user