- Improve bigfloat behavior.

- Add Hyphenation package.
- Make margin figure caption ragged right/left depending on page.
This commit is contained in:
Silcantar
2025-07-11 23:06:02 -05:00
parent 8dfaf66c18
commit c1f308ad19
5 changed files with 52 additions and 27 deletions

View File

@@ -6,6 +6,7 @@
% Graphics package for including images
\RequirePackage{graphicx}
\RequirePackage[hypcap=true]{caption}
\RequirePackage{calc}
\newcommand{\ig}[2][0.5in]{
\includegraphics[keepaspectratio,width=#1]{#2}
@@ -23,10 +24,10 @@
\newcommand{\centerfigw}[4][\textwidth]{\cfig{#2}{#3}{#4}{\includegraphics[keepaspectratio,width=#1]}}
\newcommand{\bigfig}[4][1in]{%
\bigfloat[#1]{%
\bigfloat[#1]{figure}{%
\captionsetup{type=figure}%
\includegraphics[keepaspectratio,width=\bfFigureWidth]{#2}%
\captionof{figure}{#4}%
\includegraphics[keepaspectratio,width=\textwidth]{#2}%
\centering\captionof{figure}{#4}\par%
\label{fig:#3}%
}%
}