changeset 315:b4d568b70c33

Revise first line table. Treat the tune title as a paragraph (ragged right). Set the column widths to give a wider and hence larger first line tune graphic. Keep using the cropped first line graphic, and introduce our own gaps between lines to keep the tune separations clear. I did look at using the grpahics borders, but that gives left and right margins too.
author Jim Hague <jim.hague@acm.org>
date Fri, 12 Jul 2013 14:27:41 +0100
parents f80bd1e919f7
children eedf65564226
files dottes.tex
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/dottes.tex	Fri Jul 12 14:25:18 2013 +0100
+++ b/dottes.tex	Fri Jul 12 14:27:41 2013 +0100
@@ -1,5 +1,6 @@
 \input{docclass.tex}
 
+\usepackage{array}
 \usepackage{color}
 \usepackage{fontspec}
 \usepackage[margin=1in]{geometry}
@@ -64,7 +65,7 @@
 % Args are the tune title and the first line graphic filename.
 \newcommand{\showfirstline}[2]{%
   \hyperlink{#1}{#1} & %
-    \raisebox{-.25\height}{\includegraphics[width=0.65\textwidth,height=1.3cm]{#2}} \\
+    \raisebox{-.4\height}{\includegraphics[width=0.77\textwidth]{#2}} \\
 }
 
 % ----- Paper size document setup
@@ -187,11 +188,13 @@
 You've heard it before, but don't remember the name. So here's a list of
 tune first lines to help you figure out what it is in time to join in.
 
-\setlength\LTleft{-5pt}
+{\renewcommand{\arraystretch}{2.5}
+\setlength\LTleft{0pt}
 \setlength\LTright{\fill}
-\begin{longtable}{lr}
+\begin{longtable}{@{}>{\raggedright\arraybackslash}m{0.2\textwidth}r@{}}
 \input{firstlines.tex}
 \end{longtable}
+}
 
 % ----- Back cover page. A plain purple page.