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

View File

@@ -67,20 +67,22 @@
\end{#2}%
}
\newlength{\boxoutpadding}
\setlength{\boxoutpadding}{0.5em}
\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%
\vspace{\boxoutpadding}%
{\centering%
\begin{minipage}{\boxoutpadding*-2 + \textwidth}%
\setlength{\parskip}{\medskipamount}%
{\centering\textbf{#3}\par}%
\small{}#4%
\end{minipage}
\par}%
\vspace{1em}%
\vspace{\boxoutpadding}%
\end{minipage}%
}%
}%

View File

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

View File

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