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