diff dottes.tex @ 712:7e9d5852c802

Show parts at top left of tune.
author Jim Hague <jim.hague@acm.org>
date Sun, 08 Oct 2017 20:34:49 +0100
parents 7da70e8900ab
children e338d757fdca
line wrap: on
line diff
--- a/dottes.tex	Sun Oct 08 20:34:23 2017 +0100
+++ b/dottes.tex	Sun Oct 08 20:34:49 2017 +0100
@@ -45,13 +45,12 @@
 \makeatother
 
 % Show the main tune graphic and optional change.
-% Args are tune name, tune title, tune subtitle, tradition, composer,
+% Args are tune name, tune title, tune subtitle, tradition, composer, parts,
 % tune graphic, filename, notes, history.
-\newcommand{\showtune}[8]{%
+\newcommand{\showtune}[9]{%
   \phantomsection
   \begin{tabularx}{\textwidth}{LCR}
-      \addcontentsline{toc}{section}{#2}
-      & \hypertarget{#1}{\Large{#2}} & \emph{#5} \tabularnewline
+      #6 & \hypertarget{#1}{\Large{#2}} & \emph{#5} \tabularnewline
       \ifemptyarg{#3}{}{%
         & #3 & \tabularnewline
       }
@@ -59,12 +58,13 @@
         & \emph{#4} & \tabularnewline
       }
       \multicolumn{3}{c}{%
-        \includegraphics[width=\textwidth,height=0.8\textheight,keepaspectratio]{#6}%
+        \includegraphics[width=\textwidth,height=0.8\textheight,keepaspectratio]{#7}%
       }\tabularnewline
   \end{tabularx}
-  #7
+  \addcontentsline{toc}{section}{#2}
+  #8
 
-  #8
+  #9
   \vfill
 }