Правки

This commit is contained in:
Andrei Astafev 2019-09-11 20:13:45 +03:00
parent bb8d889083
commit 974f9d9fbe
4 changed files with 10 additions and 16 deletions

View File

@ -85,8 +85,8 @@
\DeclareSymbolFont{letters}{\encodingdefault}{\rmdefault}{m}{it} \DeclareSymbolFont{letters}{\encodingdefault}{\rmdefault}{m}{it}
\usepackage{unicode-math} \usepackage{unicode-math}
\setmathfont{XITS Math} \setmathfont{XITS Math}
\usepackage[T2A]{fontenc}
\else \else
\RequirePackage[T2A]{fontenc}
\RequirePackage{mathptmx} \RequirePackage{mathptmx}
\RequirePackage{gostfont} \RequirePackage{gostfont}
\RequirePackage[defaultroman]{mstimes} \RequirePackage[defaultroman]{mstimes}

View File

@ -96,18 +96,10 @@
\renewcommand{\date}[1]{\XESPDdate{#1}} \renewcommand{\date}[1]{\XESPDdate{#1}}
\RequirePackage{xespdafterpkg} \RequirePackage{xespdafterpkg}
\RequirePackage{ifxetex}
\XESPD@after@package{hyperref}{% \XESPD@after@package{hyperref}{%
\ifxetex
\hypersetup{xetex,%
breaklinks,pdftitle=\XESPDtheUnitName,%
\XESPD@lang,unicode=true,pdfusetitle,bookmarks=true,%
pdfsubject=\XESPDtheDocName,pdfauthor=\XESPDtheAuthor}
\else
\hypersetup{% \hypersetup{%
breaklinks,pdftitle=\XESPDtheUnitName,% breaklinks,pdftitle=\XESPDtheUnitName,%
\XESPD@lang,unicode=true,pdfusetitle,bookmarks=true,% \XESPD@lang,unicode=true,pdfusetitle,bookmarks=true,%
pdfsubject=\XESPDtheDocName,pdfauthor=\XESPDtheAuthor} pdfsubject=\XESPDtheDocName,pdfauthor=\XESPDtheAuthor}
\fi
} }

View File

@ -1,6 +1,7 @@
\NeedsTeXFormat{LaTeX2e} \NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{xespdrtis}[2018/09/30 v0.98 Document Information] \ProvidesPackage{xespdrtis}[2018/09/30 v0.98 Document Information]
\RequirePackage{xespdtitle}
\RequirePackage{calc} \RequirePackage{calc}
\RequirePackage{indentfirst} \RequirePackage{indentfirst}
\RequirePackage[defaultlines=3,all]{nowidow} \RequirePackage[defaultlines=3,all]{nowidow}
@ -60,8 +61,6 @@
\newcommand{\XESPDtheREVMType}{} \newcommand{\XESPDtheREVMType}{}
\newcommand{\XESPDREVMType}[1]{\renewcommand{\XESPDtheREVMType}{#1}} \newcommand{\XESPDREVMType}[1]{\renewcommand{\XESPDtheREVMType}{#1}}
\XESPDsignature{РЕВМ.\XESPDtheREVMBase{}\textendash{}\XESPDtheREVMType{}}
\XESPDtitleApprovingSheet{РЕВМ.\XESPDtheREVMBase{}\textendash{}\XESPDtheREVMType{}\textendash{}ЛУ}
\ifthenelse{\equal{\XESPDtheDocName}{Описание программы}}{% \ifthenelse{\equal{\XESPDtheDocName}{Описание программы}}{%
\XESPDREVMType{01 13 01} \XESPDREVMType{01 13 01}
\XESPDfileName{\XESPDtheREVMBase{}or} \XESPDfileName{\XESPDtheREVMBase{}or}
@ -78,6 +77,9 @@
\XESPDREVMType{01 34 01} \XESPDREVMType{01 34 01}
\XESPDfileName{\XESPDtheREVMBase{}ro} \XESPDfileName{\XESPDtheREVMBase{}ro}
}{} }{}
\XESPDsignature{РЕВМ.\XESPDtheREVMBase{}\textendash{}\XESPDtheREVMType{}}
\XESPDtitleApprovingSheet{РЕВМ.\XESPDtheREVMBase{}\textendash{}\XESPDtheREVMType{}\textendash{}ЛУ}
} }
%\XESPDdepartment{Ведомство} %\XESPDdepartment{Ведомство}

View File

@ -148,6 +148,6 @@
\begin{center}\XESPDtitleFontVIII\XESPDtheTitleFieldVIII\end{center} \begin{center}\XESPDtitleFontVIII\XESPDtheTitleFieldVIII\end{center}
\vfill \vfill
\begin{center}\XESPDtitleFontX\XESPDtheTitleFieldX\end{center} \begin{center}\XESPDtitleFontX\XESPDtheTitleFieldX\end{center}
\begin{flushright}\XESPDtitleFontXI\XESPDtheTitleFieldXI\hspace{20mm}\enspace\end{flushright}% Литера % \begin{flushright}\XESPDtitleFontXI\XESPDtheTitleFieldXI\hspace{20mm}\enspace\end{flushright}% Литера
\end{XESPDtitlePage}} \end{XESPDtitlePage}}