Expand size of graphics in section intro.

Unfortunately this is still done on an ad-hoc basis. Trying to
do an automatic 'scale to fit vertical space' is beyond me for now.
This commit is contained in:
Jim Hague 2019-03-23 23:04:23 +00:00
parent 09e3917957
commit 0671978f47
2 changed files with 6 additions and 3 deletions

View File

@ -78,11 +78,9 @@
% Show the section graphic.
% Args are the graphic filename.
\newcommand{\showsectiongraphic}[1]{%
\vfill
\begin{center}
\includegraphics[width=0.25\textwidth,keepaspectratio]{#1}
\includegraphics[height=0.60\textheight,keepaspectratio]{#1}
\end{center}
\vfill
}
% ----- Paper size document setup

View File

@ -13,7 +13,12 @@
\vspace*{\fill}
\ifdim \paperheight<200mm \newpage \fi
\showsectiongraphic{@SECTION@-image.jpg}
\vspace*{\fill}
\input{@SECTION@-intro.tex}
\newpage