Mercurial > dottes
annotate dottes.tex.section-firstlines @ 955:2324285ba90b
Round A4 up to a multiple of 4 total pages.
I can't easily get the number of actual pages processed, so rely
on telling the (rather hacky, and surprising - I have to
divide to a separate counter to force an integer result) macro
the number of pages used before the current numbering started.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Tue, 06 Aug 2019 23:29:51 +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 } |