diff --git a/Graphics.sty b/Graphics.sty index 0f767d3..1dd4c4b 100644 --- a/Graphics.sty +++ b/Graphics.sty @@ -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}% } diff --git a/Layout.sty b/Layout.sty index 30902f6..dddc2ff 100644 --- a/Layout.sty +++ b/Layout.sty @@ -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}% }% }% diff --git a/Links.sty b/Links.sty index 2a25829..410bd5c 100644 --- a/Links.sty +++ b/Links.sty @@ -4,6 +4,8 @@ \RequirePackage{PrimeTeX/Color} % Use Hyperref to automatically create links in the document - \RequirePackage{hyperref} - \hypersetup{colorlinks=true, allcolors=PrimeBlue} -%#endregion \ No newline at end of file +\RequirePackage{hyperref} +\hypersetup{colorlinks=true, allcolors=PrimeBlue} + + +\RequirePackage{hypcap} \ No newline at end of file diff --git a/README.md b/README.md index d4605ea..1ffa232 100644 --- a/README.md +++ b/README.md @@ -1 +1,3 @@ -# PrimeTeX \ No newline at end of file +# PrimeTeX + +Copyright 2025 Prime Controls LP. All rights reserved. \ No newline at end of file