Too many changes to list lol

This commit is contained in:
2025-08-21 13:30:51 -05:00
parent f3ac6f75ca
commit 9138161f91
11 changed files with 208 additions and 122 deletions

30
packages/Caption.sty Normal file
View File

@@ -0,0 +1,30 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{PrimeTeX/packages/Caption}[2025-08-20]
\RequirePackage[
hypcap=true,
]{caption}
\captionsetup{
justification = Centering,
font = {
small,
color=PrimeBlue,
},
}
% Define a justification style that is ragged on the side toward the outside of
% the page. I. e. RaggedRight on
\RequirePackage{changepage}
%\RequirePackage{ifthen}
\DeclareCaptionJustification{RaggedOutside}{%
\ifthenelse{\boolean{isElectronic}}{%
\RaggedRight%
}{%
\checkoddpage%
\ifoddpage%
\RaggedRight%
\else%
\RaggedLeft%
\fi%
}%
}