diff dottes.tex @ 814:f5f6517a8bdf build-default-305

Add section picture to the section title page on printed Bookes only. I guess these could be added to be website, but right now I don't think they'd add much. On paper, they fill some blank space.
author Jim Hague <jim.hague@acm.org>
date Mon, 11 Jun 2018 09:47:58 +0100
parents 61839594fb2c
children 6a799a58b62d
line wrap: on
line diff
--- a/dottes.tex	Sun Jun 10 14:14:46 2018 +0100
+++ b/dottes.tex	Mon Jun 11 09:47:58 2018 +0100
@@ -75,6 +75,16 @@
     \raisebox{-.4\height}{\includegraphics[width=0.77\textwidth]{#3}} \\
 }
 
+% Show the section graphic.
+% Args are the graphic filename.
+\newcommand{\showsectiongraphic}[1]{%
+  \vfill
+  \begin{center}
+  \includegraphics[width=0.25\textwidth,keepaspectratio]{#1}
+  \end{center}
+  \vfill
+}
+
 % ----- Paper size document setup
 
 \input{docsetup.tex}