% import preamble first \def\songtitle{ {{{title}}} } \def\songauthor{ {{{author}}} } \def\songtempo{ {{{tempo}}} } \setlength{\columnsep}{1.5cm} \setlength{\columnseprule}{0.2pt} \renewcommand{\makesongtitle}{\xxmakesongtitle{\songtitle}{\songauthor}{\songtempo} } \renewcommand{\songlastupdate}{ {{date}} } \xxcfoot{\songauthor}{\songtitle} \renewcommand{\songlyrics}{ {\setstretch{1.2} {{#each structure}} {{#if this.item.ItemChords}} {{#with this.item.ItemChords}} \songbooksection{{{section_type}}} { {{{section_title}}} } { \songbookcomment{ {{ nb_bars }} ( {{{row_start_bar_number}}}~$\rightarrow$~{{ add-helper row_start_bar_number nb_bars -1 }} ) {{row_start_bar_time this.row_start_bar_number ../../tempo }} } {{{text}}} } { \input{ lyrics/{{section_id}}.tex } } {{/with}} {{/if}} {{#if this.item.ItemRef}} {{#with this.item.ItemRef}} \songbooksection{{{section_type}}} { {{{section_title}}} } { \songbookcomment{ {{ nb_bars}} ( {{{row_start_bar_number}}}~\rightarrow~{{ add-helper row_start_bar_number nb_bars -1 }} ) {{row_start_bar_time this.row_start_bar_number ../../tempo }} } {{{text}}} } { \input{ lyrics/{{section_id}}.tex } } {{/with}} {{/if}} {{/each}} } % setstretch } % xsonglyrics command