Files
PrimeTeX/packages/TitlePage.sty
Silcantar 0c84476fc5 - Replace all \newcommands with \NewDocumentCommand.
- Add Ragged2e dependency for better alignment options.
- Refine marginalia, widow control.
2025-08-18 22:00:52 -05:00

40 lines
860 B
TeX

\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{PrimeTeX/packages/TitlePage}[2025-07-09]
\RequirePackage{graphicx}
% Define custom title page.
\NewDocumentCommand{\PrimeTitlePage}{O{}}{
\begin{titlepage}
\begin{sbfamily}
{\RaggedRight\noindent\large
\vspace*{\stretch{1}}
\sCustomerFull
\medbreak
\sProjectTitle
\bigbreak
{\Huge \sTitle}
\vfill
{\leavevmode
% Move the rule graphic to 0.25 in from the left edge of the
% paper and vertically centered on the heartbeat graphic.
\put(-\oddsidemargin-0.75in,10pt){
\includegraphics{#1prime_rule.pdf}
}
% The numbers here are just what looks good.
\put(100pt,0pt){
\includegraphics{#1prime_heartbeat.pdf}
}
}
\sAuthor
Revision \sVersion
\sDate
\vfill
}
\end{sbfamily}
\end{titlepage}
}