Mercurial > dottes
comparison 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 |
comparison
equal
deleted
inserted
replaced
813:f78a3816fc8b | 814:f5f6517a8bdf |
---|---|
73 \newcommand{\showfirstline}[3]{% | 73 \newcommand{\showfirstline}[3]{% |
74 \hyperlink{#1}{#2} & % | 74 \hyperlink{#1}{#2} & % |
75 \raisebox{-.4\height}{\includegraphics[width=0.77\textwidth]{#3}} \\ | 75 \raisebox{-.4\height}{\includegraphics[width=0.77\textwidth]{#3}} \\ |
76 } | 76 } |
77 | 77 |
78 % Show the section graphic. | |
79 % Args are the graphic filename. | |
80 \newcommand{\showsectiongraphic}[1]{% | |
81 \vfill | |
82 \begin{center} | |
83 \includegraphics[width=0.25\textwidth,keepaspectratio]{#1} | |
84 \end{center} | |
85 \vfill | |
86 } | |
87 | |
78 % ----- Paper size document setup | 88 % ----- Paper size document setup |
79 | 89 |
80 \input{docsetup.tex} | 90 \input{docsetup.tex} |
81 | 91 |
82 % ----- Appearance | 92 % ----- Appearance |