view dottes.tex.section-tunes @ 869:7cc06a68a572

Add optional image caption taken from <section>/image.md.
author Jim Hague <jim.hague@acm.org>
date Tue, 26 Mar 2019 11:00:35 +0000
parents a284fc64cb75
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}
}