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: James Lowe
Subject: Re: What to do with snippet "Centering markup on note headsautomatically"?
Date: Sun, 13 Mar 2016 11:29:39 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

On 12/03/16 18:09, Thomas Morley wrote:
2016-03-12 16:19 GMT+01:00 Phil Holmes <address@hidden>:
----- 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
I've found no other reference, doc-tag is removed.
...

I concur

address@hidden Documentation]$ grep -r "centering-markup-on-note-heads-automatically" *

snippets/contexts-and-engravers.snippet-list:centering-markup-on-note-heads-automatically.ly
snippets/tweaks-and-overrides.snippet-list:centering-markup-on-note-heads-automatically.ly
snippets/text.snippet-list:centering-markup-on-note-heads-automatically.ly

-- James -------



reply via email to

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