Add version message to snippets copied from input/new.
[lilypond.git] / input / new / outputting-the-version-number.ly
blobe573ade32658294ab055a7efcf1704bccbc42701
1 \version "2.12.0"
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}.
10 doctitle = "Outputting the version number"
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)))