- Split PrimeManual package into multiple packages.
- Change original PrimeManual package into a class and rename Manual.
This commit is contained in:
24
DocProperties.sty
Normal file
24
DocProperties.sty
Normal file
@@ -0,0 +1,24 @@
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{PrimeTeX/DocProperties}[2025-07-09]
|
||||
|
||||
% Custom document properties.
|
||||
%#region
|
||||
\DeclareRobustCommand*{\customer}[1]{\gdef\@customer{#1}}
|
||||
\DeclareRobustCommand*{\customerFull}[1]{\gdef\@customerFull{#1}}
|
||||
\DeclareRobustCommand*{\projectNumber}[1]{\gdef\@projectNumber{#1}}
|
||||
\DeclareRobustCommand*{\projectDesc}[1]{\gdef\@projectDesc{#1}}
|
||||
\DeclareRobustCommand*{\version}[1]{\gdef\@version{#1}}
|
||||
%#endregion
|
||||
|
||||
% Macros to insert document properties.
|
||||
%#region
|
||||
\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}}
|
||||
%#endregion
|
||||
Reference in New Issue
Block a user