forked from CryHavoc/dottes
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:
parent
09e3917957
commit
0671978f47
|
@ -78,11 +78,9 @@
|
||||||
% Show the section graphic.
|
% Show the section graphic.
|
||||||
% Args are the graphic filename.
|
% Args are the graphic filename.
|
||||||
\newcommand{\showsectiongraphic}[1]{%
|
\newcommand{\showsectiongraphic}[1]{%
|
||||||
\vfill
|
|
||||||
\begin{center}
|
\begin{center}
|
||||||
\includegraphics[width=0.25\textwidth,keepaspectratio]{#1}
|
\includegraphics[height=0.60\textheight,keepaspectratio]{#1}
|
||||||
\end{center}
|
\end{center}
|
||||||
\vfill
|
|
||||||
}
|
}
|
||||||
|
|
||||||
% ----- Paper size document setup
|
% ----- Paper size document setup
|
||||||
|
|
|
@ -13,7 +13,12 @@
|
||||||
|
|
||||||
\vspace*{\fill}
|
\vspace*{\fill}
|
||||||
|
|
||||||
|
\ifdim \paperheight<200mm \newpage \fi
|
||||||
|
|
||||||
\showsectiongraphic{@SECTION@-image.jpg}
|
\showsectiongraphic{@SECTION@-image.jpg}
|
||||||
|
|
||||||
|
\vspace*{\fill}
|
||||||
|
|
||||||
\input{@SECTION@-intro.tex}
|
\input{@SECTION@-intro.tex}
|
||||||
|
|
||||||
\newpage
|
\newpage
|
||||||
|
|
Loading…
Reference in New Issue