lilypond-user
[Top][All Lists]
Advanced

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

Re: Moving dynamic markings & changing font weight


From: Graham Percival
Subject: Re: Moving dynamic markings & changing font weight
Date: Tue, 28 Mar 2006 18:37:34 -0800


On 28-Mar-06, at 6:14 PM, Geoff Horton wrote:

I found a post on the list which suggests using the staff-padding
parameter to put all dynamic markings on the same baseline. But it
didn't say, and I can't figure out, how to actually make that happen.
Based on the manual, this parameter belongs to TextSpanner, which
lives in Voice, so

It certainly _does_ belond to TextSpanner. But dynamics aren't TextSpanners -- see the very bottom of 6.5.3. "Vertical positioning of these symbols is handled by **SPOILER DELETED**"

See the documentation to find out the deleted information.  :)

looks like it ought to do the trick (and more--the enormous padding is
there so I could make sure any effect would be obvious). It doesn't.

Whenever I think I've found a bug, I test it out on a small example:
{
  c'4^"foo" c' c' c'
  \override TextScript #'staff-padding = #10
  c'4^"foo" c' c' c'
}
(I changed TextScript to TextSpanner because I couldn't remember offhand what the syntax is for spanners). This works as expected.

Likewise, I'm trying to change the font weight for dynamics from bold
to medium. This belongs to DynamicText, which also lives in Voice, and
  \Voice
  \override DynamicText #'font-size = #-2

does work to shrink it, so I'm in the right ballpark. But
  \override DynamicText #'font-series = #'medium
does nothing.

What am I missing?

You're missing an update to the docs that got submitted just after 2.8.0 was released. :)

----
Some situations (such as dynamic marks) have preset font-related
properties.  If you are creating text in such situations, it
is advisable to cancel those properties with
@code{normal-text}.  See @ref{Overview of text markup commands}
for more details.
----

This was added to the manual to 8.1.3, and I've just added it to 8.1.8 as well.

Cheers,
- Graham





reply via email to

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