- Move packages to subfolder.
- Add Prime Controls graphics to this repo. - Expand readme.
This commit is contained in:
21
packages/DocProperties.sty
Normal file
21
packages/DocProperties.sty
Normal file
@@ -0,0 +1,21 @@
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{PrimeTeX/packages/DocProperties}[2025-07-09]
|
||||
|
||||
% Custom document properties.
|
||||
\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}}
|
||||
|
||||
% 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}}
|
||||
%#endregion
|
||||
Reference in New Issue
Block a user