From 0671978f4730a2bc775cf6986f37fb42068716dd Mon Sep 17 00:00:00 2001 From: Jim Hague Date: Sat, 23 Mar 2019 23:04:23 +0000 Subject: [PATCH] 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. --- dottes.tex | 4 +--- dottes.tex.section-tunes | 5 +++++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/dottes.tex b/dottes.tex index 925e303..9ee121d 100644 --- a/dottes.tex +++ b/dottes.tex @@ -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 diff --git a/dottes.tex.section-tunes b/dottes.tex.section-tunes index 5c7e214..c3b38d5 100644 --- a/dottes.tex.section-tunes +++ b/dottes.tex.section-tunes @@ -13,7 +13,12 @@ \vspace*{\fill} +\ifdim \paperheight<200mm \newpage \fi + \showsectiongraphic{@SECTION@-image.jpg} + +\vspace*{\fill} + \input{@SECTION@-intro.tex} \newpage