view dottes.tex.section-tunes @ 943:d6e2a281cceb build-default-344

Change web page layout. Put tune contents under 'tunes/<name>' or 'tunes-<instrument>/<name>'. That way they won't move if the tune gets moved between Bookes. For now I have not attempted to redirect old URLs.
author Jim Hague <jim.hague@acm.org>
date Mon, 05 Aug 2019 23:25:28 +0100
parents 7cc06a68a572
children
line wrap: on
line source

% ----- Tunes and intro page for a section.

\newpage

\addcontentsline{toc}{chapter}{@SECTIONNAME@ tunes}

\vspace*{\fill}

\begin{center}
{\Huge \input{@SECTION@-title.txt}}\\[\baselineskip]
{\Large \input{@SECTION@-subtitle.txt}}
\end{center}

\vspace*{\fill}

\ifdim \paperheight<200mm \newpage \fi

\showsectiongraphic{@SECTION@-image.jpg}{\input{@SECTION@-image.tex}}

\vspace*{\fill}

\input{@SECTION@-intro.tex}

\newpage

{
\newcolumntype{L}{p{0.25\textwidth}}%
\newcolumntype{R}{>{\raggedleft\arraybackslash}p{0.25\textwidth}}%
\newcolumntype{C}{>{\centering\arraybackslash}X}%
\renewcommand{\tabularxcolumn}[1]{m{#1}}%
\renewcommand{\tabcolsep}{0pt}

\input{@SECTION@-tunes.tex}
}