comparison dottes.tex @ 329:48eb1da4a4c8

Reindent tune macro.
author Jim Hague <jim.hague@acm.org>
date Mon, 05 Aug 2013 13:42:36 +0100
parents 8596b328356d
children 473d335235b8
comparison
equal deleted inserted replaced
328:8596b328356d 329:48eb1da4a4c8
49 % Args are tune name, tune title, tune subtitle, composer, tune graphic 49 % Args are tune name, tune title, tune subtitle, composer, tune graphic
50 % filename, change name, change title, credit. 50 % filename, change name, change title, credit.
51 \newcommand{\showtune}[8]{% 51 \newcommand{\showtune}[8]{%
52 \vfill 52 \vfill
53 \begin{center} 53 \begin{center}
54 \phantomsection 54 \phantomsection
55 \addcontentsline{toc}{section}{#2} 55 \addcontentsline{toc}{section}{#2}
56 \begin{tabular*}{\textwidth}{@{} p{0.25\textwidth} @{\extracolsep{\fill}} c >{\raggedleft\arraybackslash}p{0.25\textwidth} @{}} 56 \begin{tabular*}{\textwidth}{@{} p{0.25\textwidth} @{\extracolsep{\fill}} c >{\raggedleft\arraybackslash}p{0.25\textwidth} @{}}
57 & \hypertarget{#1}{\Large{#2}} & \emph{#4} \\ 57 & \hypertarget{#1}{\Large{#2}} & \emph{#4} \\
58 \ifemptyarg{#3}{}{% 58 \ifemptyarg{#3}{}{%
59 & #3 & \\ 59 & #3 & \\
60 }% 60 }%
61 \end{tabular*} 61 \end{tabular*}
62 \includegraphics[width=\textwidth,height=0.85\textheight,keepaspectratio]{#5} 62 \includegraphics[width=\textwidth,height=0.85\textheight,keepaspectratio]{#5}
63 \end{center} 63 \end{center}
64 \ifemptyarg{#8}{}{% 64 \ifemptyarg{#8}{}{%
65 From {#8}. 65 From {#8}.
66 }% 66 }%
67 \ifemptyarg{#6}{}{% 67 \ifemptyarg{#6}{}{%