Refine layout.
This commit is contained in:
@@ -6,11 +6,11 @@
|
||||
% Suppress "Underfull \hbox" infos.
|
||||
\hbadness=10000
|
||||
% Suppress small overfull infos.
|
||||
\hfuzz = 6.0pt
|
||||
\hfuzz = 0.0pt
|
||||
\vfuzz = 0.0pt
|
||||
|
||||
\NewDocumentCommand{\providelength}{m O{0pt}}{%
|
||||
\ifdeflength{#2}{% It is already defined!
|
||||
\ifdeflength{#1}{% It is already defined!
|
||||
}{% Not defined, so define it!
|
||||
\newlength{#1}%
|
||||
}%
|
||||
@@ -79,12 +79,10 @@
|
||||
% Line-breaking dot
|
||||
\NewDocumentCommand{\bdot}{}{.\zws}
|
||||
|
||||
\newlength{\bigfloatoffset}
|
||||
\setlength{\bigfloatoffset}{0.25in}
|
||||
\newcommand{\bigfloatoffsetratio}{0.667}
|
||||
|
||||
% Maximum width adjustment to fit 2 16x9 screensots on one page.
|
||||
\newlength{\bigfloatoverhang}
|
||||
\setlength{\bigfloatoverhang}{0.81in}
|
||||
\providelength{\bigfloatoverhang}[0.81in]
|
||||
|
||||
\providecommand{\adjwidthtype}{}
|
||||
|
||||
@@ -97,7 +95,7 @@
|
||||
O{htpb}
|
||||
% Offset: the distance to offset the center of the BigFloat from the center
|
||||
% of the text block.
|
||||
O{\bigfloatoffset}
|
||||
O{\bigfloatoffsetratio}
|
||||
% Float type: figure or table.t
|
||||
m
|
||||
% Content: what appears in the BigFloat.
|
||||
@@ -118,7 +116,7 @@
|
||||
m
|
||||
}{
|
||||
\begin{#4}[#2]% figure/table
|
||||
\begin{#6}{-#1+#3}{-#1-#3}% adjustwidth(*)
|
||||
\begin{#6}{-#1 * \real{#3}}{-#1 / \real{#3}}% adjustwidth(*)
|
||||
\begin{minipage}{#1 * 2 + \textwidth}%
|
||||
\ifthenelse{\boolean{isDraft}}{%
|
||||
\rule{\textwidth}{1pt}\zws%
|
||||
|
||||
Reference in New Issue
Block a user