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
\newcommand{\objref}[1]{{\textbf{#1}}}
%\textsf
\newcommand{\serif}[1]{\textrm{#1}}
%\newcommand{\sans}[1]{\textsf{#1}}
\newcommand{\sans}[1]{\textsf{#1}}
\newcommand{\mono}[1]{\texttt{#1}}
\newcommand{\slab}[1]{{\sbfamily{}#1}}
\newcommand{\objref}[1]{{\sans{\strong{#1}}}}

View File

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

View File

@@ -29,42 +29,6 @@
\newlength{\contentwidth}
\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
%#region
\pagestyle{plain}
@@ -89,3 +53,39 @@
\renewcommand{\floatpagefraction}{0.7} % require fuller float pages
% N.B.: floatpagefraction MUST be less than topfraction !!
\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}}{%
\captionsetup{%
type = figure,%
font = {color=marginTextColor},%
font = {small,color=marginTextColor},%
justification = centering,%raggedright,%
}%
}{%
\captionsetup{%
type = figure,%
font = {color=marginTextColor},%
font = {small,color=marginTextColor},%
justification = centering,%raggedleft,%
}%
}%

View File

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

View File

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