diff --git a/patacrep/data/templates/songs/chordpro/latex/song b/patacrep/data/templates/songs/chordpro/latex/song index 08591d3a..af97c285 100644 --- a/patacrep/data/templates/songs/chordpro/latex/song +++ b/patacrep/data/templates/songs/chordpro/latex/song @@ -51,6 +51,10 @@ (( render(chord) )) (* endfor *) +(*- if metadata.capo is defined -*) + \capo{(( metadata.capo ))} +(* endif *) + (* include 'song_body' *) \endsong diff --git a/test/test_song/metadata.tsg b/test/test_song/metadata.tsg index 09c768bf..0f7f1825 100644 --- a/test/test_song/metadata.tsg +++ b/test/test_song/metadata.tsg @@ -16,6 +16,7 @@ Subtitle5}[ ] \cover +\capo{Capo} \textnote{Comment} \musicnote{GuitarComment}