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.
This commit is contained in:
Jim Hague 2013-07-12 14:27:41 +01:00
parent 784a015b18
commit 6f50649440
1 changed files with 6 additions and 3 deletions

View File

@ -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.