- Move font files to PrimeTeX.

- Add Roboto as sans serif font and move Roboto Slab to a custom family.
- Customize title formatting.
- Add boxout macro.
This commit is contained in:
2025-07-16 17:25:16 -05:00
parent b933bf8c9b
commit 60e4d0eccd
151 changed files with 830 additions and 50 deletions

View File

@@ -22,6 +22,9 @@
\RequirePackage{calc}
\RequirePackage[strict]{changepage}
% \RequirePackage{caption}
% \RequirePackage{graphicx}
% \RequirePackage{PrimeTeX/Tables}
\newlength{\contentwidth}
\setlength{\contentwidth}{\textwidth+\marginparsep+\marginparwidth}
@@ -30,10 +33,10 @@
\setlength{\bigfloatoffset}{0.25in}
% Maximum width adjustment to fit 2 16x9 screensots on one page.
\newlength{\twoscreenshotmaxwidth}
\setlength{\twoscreenshotmaxwidth}{0.81in}
\newlength{\bigfloatwidth}
\setlength{\bigfloatwidth}{0.81in}
\newcommand{\bigfloat}[4][\twoscreenshotmaxwidth]{%
\newcommand{\bigfloat}[4][\bigfloatwidth]{%
\begin{#2}[#3]%
\begin{adjustwidth*}{-#1+\bigfloatoffset}{-#1-\bigfloatoffset}%
\begin{minipage}{#1 * 2 + \textwidth}%
@@ -43,10 +46,37 @@
\end{#2}%
}
% Title & Heading Options
%#region
\RequirePackage[sf,raggedright]{titlesec}
%#endregion
\RequirePackage{wrapfig}
% \newcommand{\boxout}[7][\bigfloatwidth]{
% \bigfloat[#1]{figure}{#2}{
% \captionlistentry[figure]{#6.}
% \label{fig:#5}
% \begin{tblrBoxout}{}
% \SetCell[c=2]{c}{\sbfamily\bfseries #6}\\
% \includegraphics[#4]{#3}
% & #7\\
% \end{tblrBoxout}
% }
% }
\newcommand{\boxout}[4][\bigfloatwidth]{%
\bigfloat[#1]{figure}{#2}{%
\fcolorbox{PrimeBlue}{PrimePaleBlue}{%
\begin{minipage}{\textwidth}%
\vspace{1em}%
{\centering\textbf{#3}%
\begin{minipage}{-2em + \textwidth}%
\medskip%
#4%
\end{minipage}
\par}%
\vspace{1em}%
\end{minipage}%
}%
}%
}
% Header & Footer Options
%#region