changeset 860:a284fc64cb75 build-default-318

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.
author Jim Hague <jim.hague@acm.org>
date Sat, 23 Mar 2019 23:04:23 +0000
parents 743b0abf73c6
children 35148bf9cadf e223fad7a1d4
files dottes.tex dottes.tex.section-tunes
diffstat 2 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/dottes.tex	Sat Mar 23 23:02:43 2019 +0000
+++ b/dottes.tex	Sat Mar 23 23:04:23 2019 +0000
@@ -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
--- a/dottes.tex.section-tunes	Sat Mar 23 23:02:43 2019 +0000
+++ b/dottes.tex.section-tunes	Sat Mar 23 23:04:23 2019 +0000
@@ -13,7 +13,12 @@
 
 \vspace*{\fill}
 
+\ifdim \paperheight<200mm \newpage \fi
+
 \showsectiongraphic{@SECTION@-image.jpg}
+
+\vspace*{\fill}
+
 \input{@SECTION@-intro.tex}
 
 \newpage