Mercurial > dottes
diff dottes.tex @ 708:7da70e8900ab build-default-278
First attempt at adding Tradition below subtitle in web and print.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Sun, 08 Oct 2017 17:06:09 +0100 |
parents | 49d72092b45e |
children | 7e9d5852c802 |
line wrap: on
line diff
--- a/dottes.tex Sun Oct 08 16:49:53 2017 +0100 +++ b/dottes.tex Sun Oct 08 17:06:09 2017 +0100 @@ -45,23 +45,26 @@ \makeatother % Show the main tune graphic and optional change. -% Args are tune name, tune title, tune subtitle, composer, tune graphic -% filename, notes, history. -\newcommand{\showtune}[7]{% +% Args are tune name, tune title, tune subtitle, tradition, composer, +% tune graphic, filename, notes, history. +\newcommand{\showtune}[8]{% \phantomsection \begin{tabularx}{\textwidth}{LCR} \addcontentsline{toc}{section}{#2} - & \hypertarget{#1}{\Large{#2}} & \emph{#4} \tabularnewline + & \hypertarget{#1}{\Large{#2}} & \emph{#5} \tabularnewline \ifemptyarg{#3}{}{% & #3 & \tabularnewline } + \ifemptyarg{#4}{}{% + & \emph{#4} & \tabularnewline + } \multicolumn{3}{c}{% - \includegraphics[width=\textwidth,height=0.8\textheight,keepaspectratio]{#5}% + \includegraphics[width=\textwidth,height=0.8\textheight,keepaspectratio]{#6}% }\tabularnewline \end{tabularx} - #6 + #7 - #7 + #8 \vfill }