Make target of hyperlink the tune title.

A slight rearrangement of the tune macro.
This commit is contained in:
Jim Hague 2013-08-05 13:39:43 +01:00
parent c0a0fd45d9
commit 76a29f9aa8
1 changed files with 3 additions and 5 deletions

View File

@ -52,16 +52,14 @@
\vfill \vfill
\begin{center} \begin{center}
\phantomsection \phantomsection
\addcontentsline{toc}{section}{#2}
\begin{tabular*}{\textwidth}{@{} p{0.25\textwidth} @{\extracolsep{\fill}} c >{\raggedleft\arraybackslash}p{0.25\textwidth} @{}} \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}{}{% \ifemptyarg{#3}{}{%
& #3 & \\ & #3 & \\
}% }%
\end{tabular*} \end{tabular*}
\hypertarget{#1}{%
\includegraphics[width=\textwidth,height=0.85\textheight,keepaspectratio]{#5} \includegraphics[width=\textwidth,height=0.85\textheight,keepaspectratio]{#5}
}
\addcontentsline{toc}{section}{#2}
\end{center} \end{center}
\ifemptyarg{#8}{}{% \ifemptyarg{#8}{}{%
From {#8}. From {#8}.