- Add Roboto as sans serif font and move Roboto Slab to a custom family. - Customize title formatting. - Add boxout macro.
42 lines
864 B
TeX
42 lines
864 B
TeX
\NeedsTeXFormat{LaTeX2e}
|
|
\ProvidesPackage{PrimeTeX/TitlePage}[2025-07-09]
|
|
|
|
\RequirePackage{graphicx}
|
|
|
|
% Define custom title page.
|
|
%#region
|
|
\newcommand{\PrimeTitlePage}[1][]{
|
|
\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}
|
|
}
|
|
%#endregion |