Hi Westley,

you are probably looking for something like this:

<<
  \new Staff \relative c' {
    c2 d4 e |
    c4 e e,2 |
    g'4 a g a |
    c1 |
  }
  \new Dynamics {
    s1\< |
    s1\f |
    s2\dim s2-"rit." |
    s1\p |
  }
>>
You find it here: 
http://www.lilypond.org/doc/v2.18/Documentation/notation/expressive-marks-attached-to-notes#index-dynamics.

hth
patrick
On 31.03.2014, at 22:07, Phil Holmes <[email protected]> wrote:

> Please read the documentation on dynamics context, and let us know if it 
> doesn't do what you want.
> 
> --
> Phil Holmes
>  
>  
> ----- Original Message -----
> From: Westley Martínez
> To: Phil Holmes
> Cc: LilyPond User Group
> Sent: Monday, March 31, 2014 9:02 PM
> Subject: Re: Piano scoring with centered dynamics
> 
> There doesn't seem to be any documentation for 2.18 that describes how to do 
> centered dynamics for the piano, but it does show how to do centered lyrics. 
> Is it possible to have the dynamics be centered like the lyrics?
> 
> http://www.lilypond.org/doc/v2.18/Documentation/learning/piano-centered-lyrics
> 
> On Mar 31, 2014 12:38 PM, "Phil Holmes" <[email protected]> wrote:
> Please reply all to keep the information available to all.
>  
> If you're using 2.18, why are you using documentation from 2.12?  Please look 
> in the 2.18 documents for the Dynamics context.
> 
> --
> Phil Holmes
>  
>  
> ----- Original Message -----
> From: Westley Martínez
> To: Phil Holmes
> Sent: Monday, March 31, 2014 7:37 PM
> Subject: Re: Piano scoring with centered dynamics
> 
> I'm actually using 2.18
> 
> --
> Westley Martínez
> 
> On Mar 31, 2014 1:45 AM, "Phil Holmes" <[email protected]> wrote:
> ----- Original Message ----- From: "Westley Martínez" <[email protected]>
> To: <[email protected]>
> Sent: Monday, March 31, 2014 9:21 AM
> Subject: Piano scoring with centered dynamics
> 
> 
> Hello, I'm new to LilyPond and am using it to engrave my own piano pieces. I
> notice that by default dynamics are aligned with notes. I'd like the dynamics
> to be centered between staves. I found a template here:
> http://www.lilypond.org/doc/v2.12/Documentation/user/lilypond-learning/Piano-
> templates
> 
> but when I generate the PDF, only the pedal parts show up. The dynamics do
> not appear. Maybe the template just needs to be updated. Anyway, if someone
> could point me in the right direction, that would be great.
> 
> Thanks,
> Westley Martínez
> 
> 
> 2.12 is a very very old version of lilypond.  Is it true you're still using 
> that?
> 
> --
> Phil Holmes 
> _______________________________________________
> lilypond-user mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/lilypond-user

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to