lilypond-user
[Top][All Lists]
Advanced

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

Re: How to align text and dynamixs


From: Thomas Morley
Subject: Re: How to align text and dynamixs
Date: Tue, 2 Feb 2016 00:42:14 +0100

2016-02-02 0:08 GMT+01:00 Carl-Henrik Buschmann <address@hidden>:
> I wonder how to align text and dynamics? I need it to explain a certain
> action when using a certain symbol. I guess this question could be answered
> several ways: 1) is it possible to write dynamic/other symbols in markup? 2)
> How to gently force horizontal alignment between a dynamic/other mark and
> \markup?
>
>
> MWE
>
> \version "2.19.35"
>
> {
>   c'->_\markup { \tiny \italic (stomp) }
> }
>
> {
>   c'_\markup { > \tiny \italic (stomp) }
> }
>
>
> Carl
>


Hi Carl,

your examples doesn't show any dynamic but articulations, i.e. accents.

Maybe you'll find the below helpfull though:

%%1 DynamicText
stompMrkp =
\markup {
  \musicglyph #"scripts.sforzato" \normal-text \vcenter \tiny \italic (stomp)
}

stompSfz = #(make-dynamic-script stompMrkp)

{
  c'-\tweak self-alignment-X #LEFT -\tweak parent-alignment-X #LEFT _\stompSfz
}

%%2 markup
{
  c'_\markup \concat {
        \null
        \musicglyph #"scripts.sforzato"
        \hspace #0.6
        \vcenter \tiny \italic (stomp)
  }
}

Cheers,
  Harm



reply via email to

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