Поддержка xelatex (шрифты)
This commit is contained in:
parent
22094e7a4e
commit
f99175a00b
@ -32,6 +32,23 @@ Style Standard
|
||||
margin-bottom: 2ex;
|
||||
}
|
||||
EndHTMLStyle
|
||||
Preamble
|
||||
\usepackage{mathptmx}
|
||||
\usepackage{ifxetex}
|
||||
\ifxetex
|
||||
\ESPDgostFontName{GOST A}
|
||||
\setsansfont[Mapping=tex-text]{Arial}
|
||||
\setromanfont[Mapping=tex-text]{Times New Roman}
|
||||
\setmonofont[Mapping=tex-text]{Pragmata Pro Mono}
|
||||
\newfontfamily\listingsfont{Pragmata Pro Mono Bold}
|
||||
\newfontfamily\listingsfontinline{Pragmata Pro Mono Bold}
|
||||
\else
|
||||
\usepackage{cmap} % Обязательно в начале (кодировки и поиск в PDF)
|
||||
\usepackage[defaultroman]{mstimes}
|
||||
\usepackage[defaultsans]{msarial}
|
||||
\usepackage[defaultmono]{pragmatapro}
|
||||
\fi
|
||||
EndPreamble
|
||||
End
|
||||
|
||||
#Input stdcharstyles.inc
|
||||
|
Loading…
Reference in New Issue
Block a user