- Clean up caption and boxout formatting.

- Add copyright notice.
This commit is contained in:
2025-07-31 17:01:18 -05:00
parent bb7f58decf
commit 9ee80bbd77
4 changed files with 28 additions and 16 deletions

View File

@@ -8,9 +8,14 @@
\RequirePackage[ \RequirePackage[
hypcap=true, hypcap=true,
justification = centering,
]{caption} ]{caption}
\captionsetup{font = {color=PrimeBlue}} \captionsetup{
justification = centering,
font = {
small,
color=PrimeBlue,
},
}
\RequirePackage{calc} \RequirePackage{calc}
@@ -58,13 +63,14 @@
} }
\newcommand{\wrapfig}[6][0in]{% \newcommand{\wrapfig}[6][0in]{%
\begin{wrapfigure}{#3}[#1]%{#4}% \begin{wrapfigure}{#3}[#1]%
\captionsetup{type=figure}% \captionsetup{type=figure}%
\capstart%
\includegraphics[% \includegraphics[%
keepaspectratio,% keepaspectratio,%
#4% #4%
]{#2}% ]{#2}%
\centering\caption{#6}% \centering\captionof{figure}{#6}%
\label{fig:#5}% \label{fig:#5}%
\end{wrapfigure}% \end{wrapfigure}%
} }

View File

@@ -67,20 +67,22 @@
\end{#2}% \end{#2}%
} }
\newlength{\boxoutpadding}
\setlength{\boxoutpadding}{0.5em}
\newcommand{\boxout}[4][\bigfloatoverhang]{% \newcommand{\boxout}[4][\bigfloatoverhang]{%
\bigfloat[#1]{figure}{#2}{% \bigfloat[#1]{figure}{#2}{%
\fcolorbox{PrimeBlue}{PrimePaleBlue}{% \fcolorbox{PrimeBlue}{PrimePaleBlue}{%
\begin{minipage}{\textwidth}% \begin{minipage}{\textwidth}%
\vspace{1em}% \vspace{\boxoutpadding}%
{\centering\textbf{#3}\medskip {\centering%
\begin{minipage}{-2em + \textwidth}% \begin{minipage}{\boxoutpadding*-2 + \textwidth}%
%\renewcommand{\thempfootnote}{\fnsymbol{mpfootnote}} \setlength{\parskip}{\medskipamount}%
\setlength{\parskip}{\medskipamount} {\centering\textbf{#3}\par}%
\medskip% \small{}#4%
#4%
\end{minipage} \end{minipage}
\par}% \par}%
\vspace{1em}% \vspace{\boxoutpadding}%
\end{minipage}% \end{minipage}%
}% }%
}% }%

View File

@@ -6,4 +6,6 @@
% Use Hyperref to automatically create links in the document % Use Hyperref to automatically create links in the document
\RequirePackage{hyperref} \RequirePackage{hyperref}
\hypersetup{colorlinks=true, allcolors=PrimeBlue} \hypersetup{colorlinks=true, allcolors=PrimeBlue}
%#endregion
\RequirePackage{hypcap}

View File

@@ -1 +1,3 @@
# PrimeTeX # PrimeTeX
Copyright 2025 Prime Controls LP. All rights reserved.