diff --git a/espdfont.sty b/espdfont.sty index 61f8dc3..e58a4ab 100644 --- a/espdfont.sty +++ b/espdfont.sty @@ -60,20 +60,20 @@ \newcommand{\ESPDtheGostFontName}{} \newcommand{\ESPDgostFontName}[1]{\renewcommand{\ESPDtheGostFontName}{#1}} \usepackage{fontspec} -\newcommand{\ESPDfontGostIII}{% - \ESPDfontSetBaseLineStretch - \ESPDfontIIIsize\setmainfont{\ESPDtheGostFontName}} -\newcommand{\ESPDfontGostIV}{% - \ESPDfontSetBaseLineStretch - \ESPDfontIVsize\setmainfont{\ESPDtheGostFontName}} + \newcommand{\ESPDfontGostIII}{% + \ESPDfontSetBaseLineStretch + \ESPDfontIIIsize\setmainfont{\ESPDtheGostFontName}} + \newcommand{\ESPDfontGostIV}{% + \ESPDfontSetBaseLineStretch + \ESPDfontIVsize\setmainfont{\ESPDtheGostFontName}} \else -\RequirePackage{gostfont} -\newcommand{\ESPDfontGostIII}{% - \ESPDfontSetBaseLineStretch - \ESPDfontIIIsize\selectfont\GostBFont} -\newcommand{\ESPDfontGostIV}{% - \ESPDfontSetBaseLineStretch - \ESPDfontIVsize\selectfont\GostBFont} + \RequirePackage{gostfont} + \newcommand{\ESPDfontGostIII}{% + \ESPDfontSetBaseLineStretch + \ESPDfontIIIsize\selectfont\GostBFont} + \newcommand{\ESPDfontGostIV}{% + \ESPDfontSetBaseLineStretch + \ESPDfontIVsize\selectfont\GostBFont} \fi \newcommand{\ESPDfontTabHead}{\ESPDfontV}