lilypond-user
[Top][All Lists]
Advanced

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

custum dynamic marks: how to left align instead of center below a note?


From: Frédéric Bron
Subject: custum dynamic marks: how to left align instead of center below a note?
Date: Sat, 5 Sep 2009 21:12:03 +0200

Hi,

In the following example, I define a new dynamic mark "p ausdrucksvoll".
I would like the "p" to be centered below the note and "ausdrucksvoll"
written to the right.
This works fine with \markup command but \markup command is not
printed on the same line as dynamics, in particular with hairpins.

I have tested translation to the right but the symmetry is applied to
the left with white space...

Is there a way to say the the next dynamic event should be left
aligned instead of centered?

Frédéric

\version "2.12.2"

pausdrucksvollA = #(make-dynamic-script
  (markup
    (#:dynamic "p")
    (#:normal-text #:italic "ausdrucksvoll")
  )
)
pausdrucksvollB = #(make-dynamic-script
  (markup
    #:hspace 0
    #:translate (cons +15 0)
    (#:dynamic "p")
    (#:normal-text #:italic "ausdrucksvoll")
  )
)
{
  \time 4/4
  c'4\< c'\pausdrucksvollA\> c' c'  c' c' c' c'\!  R1
  c'4\< c'\pausdrucksvollB\> c' c'  c' c' c' c'\!  R1
}




reply via email to

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