Mercurial > dottes
diff dottes.tex @ 328:8596b328356d
Make target of hyperlink the tune title.
A slight rearrangement of the tune macro.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Mon, 05 Aug 2013 13:39:43 +0100 |
parents | 55afb58d4a9a |
children | 48eb1da4a4c8 |
line wrap: on
line diff
--- a/dottes.tex Mon Aug 05 13:30:08 2013 +0100 +++ b/dottes.tex Mon Aug 05 13:39:43 2013 +0100 @@ -52,16 +52,14 @@ \vfill \begin{center} \phantomsection + \addcontentsline{toc}{section}{#2} \begin{tabular*}{\textwidth}{@{} p{0.25\textwidth} @{\extracolsep{\fill}} c >{\raggedleft\arraybackslash}p{0.25\textwidth} @{}} - & \Large{#2} & \emph{#4} \\ + & \hypertarget{#1}{\Large{#2}} & \emph{#4} \\ \ifemptyarg{#3}{}{% & #3 & \\ }% \end{tabular*} - \hypertarget{#1}{% - \includegraphics[width=\textwidth,height=0.85\textheight,keepaspectratio]{#5} - } - \addcontentsline{toc}{section}{#2} + \includegraphics[width=\textwidth,height=0.85\textheight,keepaspectratio]{#5} \end{center} \ifemptyarg{#8}{}{% From {#8}.