Jump to content

Outputting the version number: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
Line 1: Line 1:
It is possible to print the version number of LilyPond in markup.
It is possible to print the version number of LilyPond in markup.


<lilypond version="2.24.0">
<lilypond version="2.24">
\markup { Processed with LilyPond version #(lilypond-version) }
\markup { Processed with LilyPond version #(lilypond-version) }
</lilypond>
</lilypond>

Revision as of 18:50, 16 November 2025

It is possible to print the version number of LilyPond in markup.

\version "2.24"

\markup { Processed with LilyPond version #(lilypond-version) }