]> git.donarmstrong.com Git - lilypond.git/blob - input/new/other/outputting-the-version-number.ly
f43704c446f8c7c5214628230570e8267c1afd63
[lilypond.git] / input / new / other / outputting-the-version-number.ly
1 \version "2.11.23"
2
3 \header { texidoc = "
4 By putting the output of
5     @code{lilypond-version} into a lyric, it is possible to print the 
6     version number of LilyPond in a score, or in a document generated
7     with @code{lilypond-book}.  Another possibility is to append the 
8     version number to the doc-string, in this manner:  
9 " }
10
11 \score { \context Lyrics  {
12     \override Score.RehearsalMark  #'self-alignment-X = #LEFT
13     \mark #(ly:export (string-append "Processed with LilyPond version " (lilypond-version)))
14     s2
15   }
16 }
17
18
19