- Clean up caption and boxout formatting.
- Add copyright notice.
This commit is contained in:
14
Graphics.sty
14
Graphics.sty
@@ -8,9 +8,14 @@
|
|||||||
|
|
||||||
\RequirePackage[
|
\RequirePackage[
|
||||||
hypcap=true,
|
hypcap=true,
|
||||||
justification = centering,
|
|
||||||
]{caption}
|
]{caption}
|
||||||
\captionsetup{font = {color=PrimeBlue}}
|
\captionsetup{
|
||||||
|
justification = centering,
|
||||||
|
font = {
|
||||||
|
small,
|
||||||
|
color=PrimeBlue,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
\RequirePackage{calc}
|
\RequirePackage{calc}
|
||||||
|
|
||||||
@@ -58,13 +63,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
\newcommand{\wrapfig}[6][0in]{%
|
\newcommand{\wrapfig}[6][0in]{%
|
||||||
\begin{wrapfigure}{#3}[#1]%{#4}%
|
\begin{wrapfigure}{#3}[#1]%
|
||||||
\captionsetup{type=figure}%
|
\captionsetup{type=figure}%
|
||||||
|
\capstart%
|
||||||
\includegraphics[%
|
\includegraphics[%
|
||||||
keepaspectratio,%
|
keepaspectratio,%
|
||||||
#4%
|
#4%
|
||||||
]{#2}%
|
]{#2}%
|
||||||
\centering\caption{#6}%
|
\centering\captionof{figure}{#6}%
|
||||||
\label{fig:#5}%
|
\label{fig:#5}%
|
||||||
\end{wrapfigure}%
|
\end{wrapfigure}%
|
||||||
}
|
}
|
||||||
|
|||||||
18
Layout.sty
18
Layout.sty
@@ -67,20 +67,22 @@
|
|||||||
\end{#2}%
|
\end{#2}%
|
||||||
}
|
}
|
||||||
|
|
||||||
|
\newlength{\boxoutpadding}
|
||||||
|
\setlength{\boxoutpadding}{0.5em}
|
||||||
|
|
||||||
\newcommand{\boxout}[4][\bigfloatoverhang]{%
|
\newcommand{\boxout}[4][\bigfloatoverhang]{%
|
||||||
\bigfloat[#1]{figure}{#2}{%
|
\bigfloat[#1]{figure}{#2}{%
|
||||||
\fcolorbox{PrimeBlue}{PrimePaleBlue}{%
|
\fcolorbox{PrimeBlue}{PrimePaleBlue}{%
|
||||||
\begin{minipage}{\textwidth}%
|
\begin{minipage}{\textwidth}%
|
||||||
\vspace{1em}%
|
\vspace{\boxoutpadding}%
|
||||||
{\centering\textbf{#3}\medskip
|
{\centering%
|
||||||
\begin{minipage}{-2em + \textwidth}%
|
\begin{minipage}{\boxoutpadding*-2 + \textwidth}%
|
||||||
%\renewcommand{\thempfootnote}{\fnsymbol{mpfootnote}}
|
\setlength{\parskip}{\medskipamount}%
|
||||||
\setlength{\parskip}{\medskipamount}
|
{\centering\textbf{#3}\par}%
|
||||||
\medskip%
|
\small{}#4%
|
||||||
#4%
|
|
||||||
\end{minipage}
|
\end{minipage}
|
||||||
\par}%
|
\par}%
|
||||||
\vspace{1em}%
|
\vspace{\boxoutpadding}%
|
||||||
\end{minipage}%
|
\end{minipage}%
|
||||||
}%
|
}%
|
||||||
}%
|
}%
|
||||||
|
|||||||
@@ -6,4 +6,6 @@
|
|||||||
% Use Hyperref to automatically create links in the document
|
% Use Hyperref to automatically create links in the document
|
||||||
\RequirePackage{hyperref}
|
\RequirePackage{hyperref}
|
||||||
\hypersetup{colorlinks=true, allcolors=PrimeBlue}
|
\hypersetup{colorlinks=true, allcolors=PrimeBlue}
|
||||||
%#endregion
|
|
||||||
|
|
||||||
|
\RequirePackage{hypcap}
|
||||||
Reference in New Issue
Block a user