Too many changes to list lol
This commit is contained in:
30
packages/Caption.sty
Normal file
30
packages/Caption.sty
Normal 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%
|
||||
}%
|
||||
}
|
||||
Reference in New Issue
Block a user