Mercurial > dottes
comparison dottes.tex @ 594:60749c792cde
Replace Change and Credit with Markdown-enabled Notes section.
Data in Notes is taken from N: section starting "Dottes:".
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Wed, 02 Nov 2016 15:02:06 +0000 |
parents | 2a7d03d6a89f |
children | ed823ea54c83 |
comparison
equal
deleted
inserted
replaced
593:82e818c41e81 | 594:60749c792cde |
---|---|
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, change name, change title, credit. | 50 % filename, notes. |
51 \newcommand{\showtune}[8]{% | 51 \newcommand{\showtune}[6]{% |
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}{}{% |
57 & #3 & \\ | 57 & #3 & \\ |
58 } | 58 } |
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 \multicolumn{3}{p{\textwidth}}{% | |
63 \ifemptyarg{#8}{}{From {#8}. }% | |
64 \ifemptyarg{#6}{}{Change: \hyperlink{#6}{#7}.}% | |
65 }\tabularnewline | |
66 \end{tabularx} | 62 \end{tabularx} |
63 #6 | |
67 \vfill | 64 \vfill |
68 } | 65 } |
69 | 66 |
70 % Show the tune first line. Generate table row. | 67 % Show the tune first line. Generate table row. |
71 % Args are the tune name, tune title and the first line graphic filename. | 68 % Args are the tune name, tune title and the first line graphic filename. |