Mercurial > dottes
annotate dottes.tex.section-tunes @ 1047:4cfee227da93 build-default-378
Fix notation error.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Sun, 12 Apr 2020 14:43:22 +0100 |
parents | 7cc06a68a572 |
children |
rev | line source |
---|---|
601
507d853433ef
Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
1 % ----- Tunes and intro page for a section. |
507d853433ef
Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
2 |
507d853433ef
Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
3 \newpage |
507d853433ef
Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
4 |
677
b45a87f4ccdb
Make sure section names strip any '-<instrument>' filename decoration.
Jim Hague <jim.hague@acm.org>
parents:
602
diff
changeset
|
5 \addcontentsline{toc}{chapter}{@SECTIONNAME@ tunes} |
601
507d853433ef
Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
6 |
507d853433ef
Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
7 \vspace*{\fill} |
507d853433ef
Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
8 |
507d853433ef
Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
9 \begin{center} |
602
c95364aa550c
Put the title and subtitle on the section intro page.
Jim Hague <jim.hague@acm.org>
parents:
601
diff
changeset
|
10 {\Huge \input{@SECTION@-title.txt}}\\[\baselineskip] |
c95364aa550c
Put the title and subtitle on the section intro page.
Jim Hague <jim.hague@acm.org>
parents:
601
diff
changeset
|
11 {\Large \input{@SECTION@-subtitle.txt}} |
601
507d853433ef
Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
12 \end{center} |
507d853433ef
Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
13 |
507d853433ef
Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
14 \vspace*{\fill} |
507d853433ef
Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
15 |
860
a284fc64cb75
Expand size of graphics in section intro.
Jim Hague <jim.hague@acm.org>
parents:
814
diff
changeset
|
16 \ifdim \paperheight<200mm \newpage \fi |
a284fc64cb75
Expand size of graphics in section intro.
Jim Hague <jim.hague@acm.org>
parents:
814
diff
changeset
|
17 |
869
7cc06a68a572
Add optional image caption taken from <section>/image.md.
Jim Hague <jim.hague@acm.org>
parents:
860
diff
changeset
|
18 \showsectiongraphic{@SECTION@-image.jpg}{\input{@SECTION@-image.tex}} |
860
a284fc64cb75
Expand size of graphics in section intro.
Jim Hague <jim.hague@acm.org>
parents:
814
diff
changeset
|
19 |
a284fc64cb75
Expand size of graphics in section intro.
Jim Hague <jim.hague@acm.org>
parents:
814
diff
changeset
|
20 \vspace*{\fill} |
a284fc64cb75
Expand size of graphics in section intro.
Jim Hague <jim.hague@acm.org>
parents:
814
diff
changeset
|
21 |
601
507d853433ef
Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
22 \input{@SECTION@-intro.tex} |
507d853433ef
Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
23 |
507d853433ef
Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
24 \newpage |
507d853433ef
Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
25 |
507d853433ef
Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
26 { |
507d853433ef
Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
27 \newcolumntype{L}{p{0.25\textwidth}}% |
507d853433ef
Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
28 \newcolumntype{R}{>{\raggedleft\arraybackslash}p{0.25\textwidth}}% |
507d853433ef
Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
29 \newcolumntype{C}{>{\centering\arraybackslash}X}% |
507d853433ef
Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
30 \renewcommand{\tabularxcolumn}[1]{m{#1}}% |
507d853433ef
Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
31 \renewcommand{\tabcolsep}{0pt} |
507d853433ef
Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
32 |
507d853433ef
Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
33 \input{@SECTION@-tunes.tex} |
507d853433ef
Create a section title page in the print version.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
34 } |