]> git.donarmstrong.com Git - lilypond.git/blob - input/new/outputting-the-version-number.ly
Merge master into nested-bookparts
[lilypond.git] / input / new / outputting-the-version-number.ly
1 \version "2.11.61"
2
3 \header {
4   lsrtags = "text"
5   texidoc = "
6 By putting the output of @code{lilypond-version} into lyrics or a
7 text markup, it is possible to print the version number of LilyPond in
8 a score, or in a document generated with @code{lilypond-book}.
9 "
10   doctitle = "Outputting the version number"
11 }
12
13 \score {
14   \new Lyrics {
15     \override Score.RehearsalMark #'self-alignment-X = #LEFT
16     \mark #(ly:export (string-append "Processed with LilyPond version "
17                        (lilypond-version)))
18     s2
19   }
20 }