- Replace all \newcommands with \NewDocumentCommand.
- Add Ragged2e dependency for better alignment options. - Refine marginalia, widow control.
This commit is contained in:
@@ -9,13 +9,13 @@
|
||||
\DeclareRobustCommand*{\version}[1]{\gdef\@version{#1}}
|
||||
|
||||
% Macros to insert document properties.
|
||||
\newcommand{\sTitle}{\makeatletter{\@title}}
|
||||
\newcommand{\sAuthor}{\makeatletter{\@author}}
|
||||
\newcommand{\sDate}{\makeatletter{\@date}}
|
||||
\newcommand{\sCustomer}{\makeatletter{\@customer}}
|
||||
\newcommand{\sCustomerFull}{\makeatletter{\@customerFull}}
|
||||
\newcommand{\sProjectNumber}{\makeatletter{\@projectNumber}}
|
||||
\newcommand{\sProjectDesc}{\makeatletter{\@projectDesc}}
|
||||
\newcommand{\sProjectTitle}{\makeatletter{Project \@projectNumber : \@projectDesc}}
|
||||
\newcommand{\sVersion}{\makeatletter{\@version}}
|
||||
\NewDocumentCommand{\sTitle}{}{\makeatletter{\@title}}
|
||||
\NewDocumentCommand{\sAuthor}{}{\makeatletter{\@author}}
|
||||
\NewDocumentCommand{\sDate}{}{\makeatletter{\@date}}
|
||||
\NewDocumentCommand{\sCustomer}{}{\makeatletter{\@customer}}
|
||||
\NewDocumentCommand{\sCustomerFull}{}{\makeatletter{\@customerFull}}
|
||||
\NewDocumentCommand{\sProjectNumber}{}{\makeatletter{\@projectNumber}}
|
||||
\NewDocumentCommand{\sProjectDesc}{}{\makeatletter{\@projectDesc}}
|
||||
\NewDocumentCommand{\sProjectTitle}{}{\makeatletter{Project \@projectNumber : \@projectDesc}}
|
||||
\NewDocumentCommand{\sVersion}{}{\makeatletter{\@version}}
|
||||
%#endregion
|
||||
Reference in New Issue
Block a user