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