X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fcentering-markup-on-note-heads-automatically.ly;fp=Documentation%2Fsnippets%2Fcentering-markup-on-note-heads-automatically.ly;h=b5342b4131087cb01e02db78f097b8bbe0e1352d;hb=0ac07f31e0f95fc18e5916ce756b9c746af7cc58;hp=36f83dd4a7a2c9971c95cf69066211eb77caff0a;hpb=2f1263e2ccdddcac2eb9f7d8ce2ed92867d3d160;p=lilypond.git diff --git a/Documentation/snippets/centering-markup-on-note-heads-automatically.ly b/Documentation/snippets/centering-markup-on-note-heads-automatically.ly index 36f83dd4a7..b5342b4131 100644 --- a/Documentation/snippets/centering-markup-on-note-heads-automatically.ly +++ b/Documentation/snippets/centering-markup-on-note-heads-automatically.ly @@ -4,8 +4,8 @@ % and then run scripts/auxiliar/makelsr.py % % This file is in the public domain. -%% Note: this file works from version 2.15.31 -\version "2.16.0" +%% Note: this file works from version 2.17.6 +\version "2.17.6" \header { lsrtags = "text, tweaks-and-overrides, contexts-and-engravers" @@ -47,15 +47,15 @@ been shifted via @code{force-hshift}. \context { \Voice \consists #Text_align_engraver - \override TextScript #'X-offset = + \override TextScript.X-offset = #ly:self-alignment-interface::aligned-on-x-parent - \override TextScript #'self-alignment-X = #CENTER + \override TextScript.self-alignment-X = #CENTER } } \new Staff << \relative c'' { - \override NoteColumn #'force-hshift = #3 + \override NoteColumn.force-hshift = #3 c1-\markup { \arrow-head #Y #DOWN ##t } } \\