Jump to content

Outputting the version number: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
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>


[[Category:Really simple]]
[[Category:Text]]
[[Category:Text]]
[[Category:Scheme]]
[[Category:Titles]]
[[Category:Titles]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Really simple]]
[[Category:Snippet]]

Latest revision as of 17:33, 12 December 2025

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

\version "2.24"

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