lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What to do with snippet "Centering markup on note headsautomatically


From: Phil Holmes
Subject: Re: What to do with snippet "Centering markup on note headsautomatically"?
Date: Sat, 12 Mar 2016 15:19:06 -0000

----- Original Message ----- From: "Thomas Morley" <address@hidden>
To: "lilypond-devel" <address@hidden>
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]