From 6f50649440a76923b86441dd735088b918e80ea9 Mon Sep 17 00:00:00 2001 From: Jim Hague Date: Fri, 12 Jul 2013 14:27:41 +0100 Subject: [PATCH] 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. --- dottes.tex | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/dottes.tex b/dottes.tex index 2e70f78..8cacd87 100644 --- a/dottes.tex +++ b/dottes.tex @@ -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 know the feeling. Everyone has just launched into a well-loved tune. 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.