61 lines
1.2 KiB
TeX
61 lines
1.2 KiB
TeX
\NeedsTeXFormat{LaTeX2e}
|
|
\ProvidesExplPackage{PrimeTeX/packages/TitlePage}{2025-07-09}{1.0}{
|
|
Definition for title page.
|
|
}
|
|
|
|
\fp_const:Nn \c_@@_scale_fp {1}
|
|
|
|
\str_const:Ne \c_@@_dark_str {\bool_if:NT \g_dark_mode_bool {-dark}}
|
|
|
|
\NewDocumentCommand{\PrimeLogo}{O{width=2in} O{}}{
|
|
\includegraphics[keepaspectratio,#1]{#2Prime-Controls\c_@@_dark_str.pdf}
|
|
}
|
|
|
|
% Define custom title page.
|
|
\NewDocumentCommand{\PrimeTitlePage}{O{}}{
|
|
\thispagestyle{empty}
|
|
\pdfbookmark{Title~Page}{title-page}
|
|
\begin{sbfamily}
|
|
{\large\raggedright % Not RaggedRight because we don't want hyphens.
|
|
|
|
\vspace*{\stretch{1}}
|
|
|
|
\CustomerFull
|
|
|
|
\medbreak
|
|
|
|
\ProjectTitle
|
|
|
|
\bigbreak
|
|
|
|
{\Huge\Title}
|
|
|
|
\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\c_@@_dark_str.pdf}
|
|
}
|
|
|
|
% The numbers here are just what looks good.
|
|
\put(100pt,0pt){
|
|
\includegraphics{#1prime-heartbeat\c_@@_dark_str.pdf}
|
|
}
|
|
}
|
|
|
|
\bigbreak
|
|
|
|
\AuthorCompany\par
|
|
|
|
Revision~\Version\par
|
|
|
|
\LongDate
|
|
|
|
\vfill
|
|
}
|
|
\end{sbfamily}
|
|
|
|
\clearpage
|
|
} |