From 76a29f9aa8d602fd95ad63816277818732064070 Mon Sep 17 00:00:00 2001 From: Jim Hague Date: Mon, 5 Aug 2013 13:39:43 +0100 Subject: [PATCH] Make target of hyperlink the tune title. A slight rearrangement of the tune macro. --- dottes.tex | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/dottes.tex b/dottes.tex index fce4a05..3c0a7ef 100644 --- a/dottes.tex +++ b/dottes.tex @@ -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}.