diff --git a/xespdfont.sty b/xespdfont.sty index 1bc6383..42e0201 100644 --- a/xespdfont.sty +++ b/xespdfont.sty @@ -32,7 +32,7 @@ \ifxetex \RequirePackage{fontspec} \defaultfontfeatures{Mapping=tex-text} -% \defaultfontfeatures{Scale=MatchLowercase} + \defaultfontfeatures{Scale=MatchLowercase} \fi \newcommand{\XESPDfontShape}{\rmfamily} diff --git a/xespdlang.sty b/xespdlang.sty index 6ae18d4..43bb5ef 100644 --- a/xespdlang.sty +++ b/xespdlang.sty @@ -44,6 +44,7 @@ \RequirePackage{xecyr} \RequirePackage{polyglossia} \setmainlanguage{\XESPD@lang} + \let\cyr\relax \setkeys{\XESPD@lang}{babelshorthands=true} \setotherlanguage{english} \else diff --git a/xespdtext.cls b/xespdtext.cls index 8f84418..a6b59d2 100644 --- a/xespdtext.cls +++ b/xespdtext.cls @@ -80,13 +80,6 @@ \newcolumntype{M}{>{\HY\RaggedRight\arraybackslash\hspace{0pt}}c} \newcolumntype{L}{>{\HY\RaggedRight\arraybackslash\hspace{0pt}}l} -\RequirePackage{xltabular} -\RequirePackage{multirow} -\newcommand{\HY}{\hyphenpenalty=25\exhyphenpenalty=25} -\newcolumntype{Z}{>{\HY\raggedright\arraybackslash\hspace{0pt}}X} -\newcolumntype{M}{>{\HY\RaggedRight\arraybackslash\hspace{0pt}}c} -\newcolumntype{L}{>{\HY\RaggedRight\arraybackslash\hspace{0pt}}l} - \linespread{1.25} \newcommand{\XESPD@float@style@single}{}