Mercurial > dottes
comparison dottes.tex @ 598:ed823ea54c83
Add Dottes History to notes. Currently appears after notes with a gap.
This is intended for longer exposition about a tune.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Wed, 02 Nov 2016 18:36:31 +0000 |
parents | 60749c792cde |
children | 507d853433ef |
comparison
equal
deleted
inserted
replaced
597:60da844ec261 | 598:ed823ea54c83 |
---|---|
45 \fi} | 45 \fi} |
46 \makeatother | 46 \makeatother |
47 | 47 |
48 % Show the main tune graphic and optional change. | 48 % Show the main tune graphic and optional change. |
49 % Args are tune name, tune title, tune subtitle, composer, tune graphic | 49 % Args are tune name, tune title, tune subtitle, composer, tune graphic |
50 % filename, notes. | 50 % filename, notes, history. |
51 \newcommand{\showtune}[6]{% | 51 \newcommand{\showtune}[7]{% |
52 \phantomsection | 52 \phantomsection |
53 \begin{tabularx}{\textwidth}{LCR} | 53 \begin{tabularx}{\textwidth}{LCR} |
54 \addcontentsline{toc}{section}{#2} | 54 \addcontentsline{toc}{section}{#2} |
55 & \hypertarget{#1}{\Large{#2}} & \emph{#4} \\ | 55 & \hypertarget{#1}{\Large{#2}} & \emph{#4} \\ |
56 \ifemptyarg{#3}{}{% | 56 \ifemptyarg{#3}{}{% |
59 \multicolumn{3}{c}{% | 59 \multicolumn{3}{c}{% |
60 \includegraphics[width=\textwidth,height=0.8\textheight,keepaspectratio]{#5}% | 60 \includegraphics[width=\textwidth,height=0.8\textheight,keepaspectratio]{#5}% |
61 }\tabularnewline | 61 }\tabularnewline |
62 \end{tabularx} | 62 \end{tabularx} |
63 #6 | 63 #6 |
64 | |
65 #7 | |
64 \vfill | 66 \vfill |
65 } | 67 } |
66 | 68 |
67 % Show the tune first line. Generate table row. | 69 % Show the tune first line. Generate table row. |
68 % Args are the tune name, tune title and the first line graphic filename. | 70 % Args are the tune name, tune title and the first line graphic filename. |