Customize page geometry, tweak placement of large figures.
This commit is contained in:
22
Graphics.sty
22
Graphics.sty
@@ -23,12 +23,30 @@
|
||||
\newcommand{\centerfig}[3]{\cfig{#1}{#2}{#3}{\includegraphics}}
|
||||
\newcommand{\centerfigw}[4][\textwidth]{\cfig{#2}{#3}{#4}{\includegraphics[keepaspectratio,width=#1]}}
|
||||
|
||||
\newcommand{\bigfig}[4][1in]{%
|
||||
\bigfloat[#1]{figure}{%
|
||||
\newcommand{\bigfig}[4][\twoscreenshotmaxwidth]{%
|
||||
\bigfloat[#1]{figure}{htp}{%
|
||||
\captionsetup{type=figure}%
|
||||
\includegraphics[keepaspectratio,width=\textwidth]{#2}%
|
||||
\centering\captionof{figure}{#4}\par%
|
||||
\label{fig:#3}%
|
||||
}%
|
||||
}
|
||||
|
||||
% \RequirePackage{float}
|
||||
% \newfloat{fullpage}{htpb}{dbf}[chapter]
|
||||
% \floatname{fullpage}{Figure}
|
||||
|
||||
\newcommand{\doublebigfig}[7][\twoscreenshotmaxwidth]{%
|
||||
\bigfloat[#1]{figure}{p}{%
|
||||
\captionsetup{type=figure}%
|
||||
\includegraphics[keepaspectratio,width=\textwidth]{#2}%
|
||||
\centering\captionof{figure}{#4}\par%
|
||||
\label{fig:#3}
|
||||
\bigskip
|
||||
\captionsetup{type=figure}%
|
||||
\includegraphics[keepaspectratio,width=\textwidth]{#5}%
|
||||
\centering\captionof{figure}{#7}\par%
|
||||
\label{fig:#6}%
|
||||
}%
|
||||
}
|
||||
%#endregion
|
||||
|
||||
Reference in New Issue
Block a user