]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/outputting-the-version-number.ly
Merge commit 'ce4b499'
[lilypond.git] / input / lsr / outputting-the-version-number.ly
1 %% Do not edit this file; it is auto-generated from input/new
2 %% This file is in the public domain.
3 \version "2.11.38"
4
5 \header {
6   doctitle = "Outputting the version number"
7   lsrtags = "text"
8   texidoc = "
9 By putting the output of @code{lilypond-version} into a lyric or a
10 text markup, it is possible to print the version number of LilyPond in
11 a score, or in a document generated with @code{lilypond-book}.
12 "
13 }
14 % begin verbatim
15 \score { \context Lyrics  {
16     \override Score.RehearsalMark  #'self-alignment-X = #LEFT
17     \mark #(ly:export (string-append "Processed with LilyPond version " (lilypond-version)))
18     s2
19   }
20 }