]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/outputting-the-version-number.ly
Merge branch 'lilypond/translation' of ssh://git.sv.gnu.org/srv/git/lilypond into...
[lilypond.git] / Documentation / snippets / outputting-the-version-number.ly
1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
4 \version "2.13.16"
5
6 \header {
7   lsrtags = "text, titles"
8
9   texidoc = "
10 By putting the output of
11     @code{lilypond-version} into a lyric, it is possible to print the
12     version number of LilyPond in a score, or in a document generated
13     with @code{lilypond-book}.  Another possibility is to append the
14     version number to the doc-string, in this manner:
15
16 "
17   doctitle = "Outputting the version number"
18 } % begin verbatim
19
20 \score {
21   \new Lyrics {
22     \override Score.RehearsalMark #'self-alignment-X = #LEFT
23     \mark #(string-append "Processed with LilyPond version " (lilypond-version))
24     s2
25   }
26 }
27
28
29