Mercurial > dottes
annotate dottes.tex.section-firstlines @ 956:c52d237f99d5
Encourage A4 to page break before a tune.
This enourages page breaks to happen before tune start, and not
between the tune image and any following wording.
Also move the vfill to the tune start. That way, if the break does not
happen, the vfill will, and the following tune will be spaced down
to the bottom of the page if it's the only other tune on the page.
Otherwise everything tends to clump at the top of the page.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Wed, 07 Aug 2019 00:01:44 +0100 |
parents | 7915de1e09b0 |
children |
rev | line source |
---|---|
900
7915de1e09b0
Try again with firstline section header orphans.
Jim Hague <jim.hague@acm.org>
parents:
897
diff
changeset
|
1 \needspace{5\baselineskip} |
677
b45a87f4ccdb
Make sure section names strip any '-<instrument>' filename decoration.
Jim Hague <jim.hague@acm.org>
parents:
601
diff
changeset
|
2 \section{@SECTIONNAME@ tunes} |
900
7915de1e09b0
Try again with firstline section header orphans.
Jim Hague <jim.hague@acm.org>
parents:
897
diff
changeset
|
3 |
601
507d853433ef
Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
4 {\renewcommand{\arraystretch}{2.5} |
507d853433ef
Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
5 \setlength\LTleft{0pt} |
507d853433ef
Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
6 \setlength\LTright{\fill} |
507d853433ef
Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
7 \begin{longtable}{@{}>{\raggedright\arraybackslash}m{0.2\textwidth}r@{}} |
507d853433ef
Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
8 \input{@SECTION@-firstlines.tex} |
507d853433ef
Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
9 \end{longtable} |
507d853433ef
Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
10 } |