----- Original Message ----- From: "Thomas Morley" <thomasmorle...@gmail.com>
To: "lilypond-devel" <lilypond-devel@gnu.org>
Sent: Saturday, March 12, 2016 12:20 PM
Subject: What to do with snippet "Centering markup on note headsautomatically"?


Hi all,

http://lists.gnu.org/archive/html/lilypond-user/2016-03/msg00302.html
states correctly that the LSR-snippet "Centering markup on note heads
automatically"
http://lsr.di.unimi.it/LSR/Item?id=637
doesn't work in 2.19.x anymore.
It's tagged doc, so it appears in snippets.

It turns out that the custom-engraver, setting TextScript-parent to
NoteColumn, is unnecessary in 2.19. (NoteColumn is already x-parent)

Sufficient would be to do (deleting the engraver and other settings):

\layout {
 \context {
   \Voice
   \override TextScript.self-alignment-X = #CENTER
   \override TextScript.parent-alignment-X = #CENTER
 }
}


Though, what to do?
Creating a snippet in snippets/new
or
simply remove the doc-tag in LSR?

Opinions?

Cheers,
 Harm


Remove the doc tag. You'll also need to check that the snippet isn't referenced anywhere in the docs except in the snippets doc.

--
Phil Holmes

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to