Miscellaneous minor formatting improvements.

This commit is contained in:
2025-07-17 16:43:00 -05:00
parent f29789d87a
commit 2cc5f76adb
6 changed files with 52 additions and 47 deletions

View File

@@ -46,9 +46,9 @@
] ]
%#endregion %#endregion
\newcommand{\objref}[1]{{\textbf{#1}}}
%\textsf
\newcommand{\serif}[1]{\textrm{#1}} \newcommand{\serif}[1]{\textrm{#1}}
%\newcommand{\sans}[1]{\textsf{#1}} \newcommand{\sans}[1]{\textsf{#1}}
\newcommand{\mono}[1]{\texttt{#1}} \newcommand{\mono}[1]{\texttt{#1}}
\newcommand{\slab}[1]{{\sbfamily{}#1}} \newcommand{\slab}[1]{{\sbfamily{}#1}}
\newcommand{\objref}[1]{{\sans{\strong{#1}}}}

View File

@@ -14,6 +14,8 @@
\RequirePackage{calc} \RequirePackage{calc}
\RequirePackage{wrapfig2}
\newcommand{\iconsize}{0.25in} \newcommand{\iconsize}{0.25in}
\newcommand{\ig}[2][0.5in]{ \newcommand{\ig}[2][0.5in]{
@@ -56,10 +58,11 @@
} }
\newcommand{\wrapfig}[6][0in]{% \newcommand{\wrapfig}[6][0in]{%
\begin{wrapfigure}{#3}[#1]{#4}% \begin{wrapfigure}{#3}[#1]%{#4}%
\captionsetup{type=figure}%
\includegraphics[% \includegraphics[%
keepaspectratio,% keepaspectratio,%
width = #4,% #4%
]{#2}% ]{#2}%
\centering\caption{#6}% \centering\caption{#6}%
\label{fig:#5}% \label{fig:#5}%

View File

@@ -27,43 +27,7 @@
% \RequirePackage{PrimeTeX/Tables} % \RequirePackage{PrimeTeX/Tables}
\newlength{\contentwidth} \newlength{\contentwidth}
\setlength{\contentwidth}{\textwidth+\marginparsep+\marginparwidth} \setlength{\contentwidth}{\textwidth + \marginparsep + \marginparwidth}
\newlength{\bigfloatoffset}
\setlength{\bigfloatoffset}{0.25in}
% Maximum width adjustment to fit 2 16x9 screensots on one page.
\newlength{\bigfloatoverhang}
\setlength{\bigfloatoverhang}{0.81in}
\newcommand{\bigfloat}[4][\bigfloatoverhang]{%
\begin{#2}[#3]%
\begin{adjustwidth*}{-#1+\bigfloatoffset}{-#1-\bigfloatoffset}%
\begin{minipage}{#1 * 2 + \textwidth}%
#4%
\end{minipage}%
\end{adjustwidth*}%
\end{#2}%
}
\RequirePackage{wrapfig}
\newcommand{\boxout}[4][\bigfloatoverhang]{%
\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 % Header & Footer Options
%#region %#region
@@ -89,3 +53,39 @@
\renewcommand{\floatpagefraction}{0.7} % require fuller float pages \renewcommand{\floatpagefraction}{0.7} % require fuller float pages
% N.B.: floatpagefraction MUST be less than topfraction !! % N.B.: floatpagefraction MUST be less than topfraction !!
\renewcommand{\dblfloatpagefraction}{0.7} % require fuller float pages \renewcommand{\dblfloatpagefraction}{0.7} % require fuller float pages
\newlength{\bigfloatoffset}
\setlength{\bigfloatoffset}{0.25in}
% Maximum width adjustment to fit 2 16x9 screensots on one page.
\newlength{\bigfloatoverhang}
\setlength{\bigfloatoverhang}{0.81in}
\newcommand{\bigfloat}[4][\bigfloatoverhang]{%
\begin{#2}[#3]%
\begin{adjustwidth*}{-#1+\bigfloatoffset}{-#1-\bigfloatoffset}%
\begin{minipage}{#1 * 2 + \textwidth}%
#4%
\end{minipage}%
\end{adjustwidth*}%
\end{#2}%
}
\newcommand{\boxout}[4][\bigfloatoverhang]{%
\bigfloat[#1]{figure}{#2}{%
\fcolorbox{PrimeBlue}{PrimePaleBlue}{%
\begin{minipage}{\textwidth}%
\vspace{1em}%
{\centering\textbf{#3}\medskip
\begin{minipage}{-2em + \textwidth}%
%\renewcommand{\thempfootnote}{\fnsymbol{mpfootnote}}
\setlength{\parskip}{\medskipamount}
\medskip%
#4%
\end{minipage}
\par}%
\vspace{1em}%
\end{minipage}%
}%
}%
}

View File

@@ -47,13 +47,13 @@
\ifthenelse{\boolean{oddpage}}{% \ifthenelse{\boolean{oddpage}}{%
\captionsetup{% \captionsetup{%
type = figure,% type = figure,%
font = {color=marginTextColor},% font = {small,color=marginTextColor},%
justification = centering,%raggedright,% justification = centering,%raggedright,%
}% }%
}{% }{%
\captionsetup{% \captionsetup{%
type = figure,% type = figure,%
font = {color=marginTextColor},% font = {small,color=marginTextColor},%
justification = centering,%raggedleft,% justification = centering,%raggedleft,%
}% }%
}% }%

View File

@@ -4,6 +4,8 @@
% Table formatting. % Table formatting.
\RequirePackage{tabularray} \RequirePackage{tabularray}
\DeclareTblrTemplate{note-tag}{default}{\textsuperscript{\textit{\InsertTblrNoteTag}}}
\NewTblrEnviron{tblrBoxout} \NewTblrEnviron{tblrBoxout}
\SetTblrInner[tblrBoxout]{ \SetTblrInner[tblrBoxout]{
colspec = {Q[c,h]X[1,m]}, colspec = {Q[c,h]X[1,m]},

View File

@@ -10,7 +10,7 @@
}{20pt}{\Huge} }{20pt}{\Huge}
\titleformat{\chapter}[display]{ \titleformat{\chapter}[display]{
\normalfont\sbfamily\huge \normalfont\sbfamily\huge\raggedright
}{ }{
\chaptertitlename{} \thechapter \chaptertitlename{} \thechapter
}{20pt}{\Huge} }{20pt}{\Huge}