[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to get multiple text spanners at the same height?
From: |
Nick Payne |
Subject: |
Re: How to get multiple text spanners at the same height? |
Date: |
Mon, 13 May 2013 08:14:59 +1000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 |
On 12/05/13 23:45, Peter Toye wrote:
I need to have a sequence of text spanners (like Rall --- en --- tan --- do)
The problem is that because of the varying height of objects on the stave, the
following code places the different bits of text at different vertical
positions.
Someone asked much the same question about cres - - cen - - do last
month. My suggestion was along the lines of the following:
\version "2.17.15"
<<
\new Staff \relative c'' {
c, d e f g a b c b a g f
}
\new Dynamics {
s1-\tweak bound-details.left.text "Rallen "
-\tweak bound-details.right.padding #1 \startTextSpan
s4 s2.\stopTextSpan-\tweak bound-details.left.text "tan "
-\tweak bound-details.right.text " do"
-\tweak bound-details.right.padding #2
\startTextSpan s2. s4\stopTextSpan
}
>>
spanner.png
Description: PNG image
- How to get multiple text spanners at the same height?, Peter Toye, 2013/05/12
- Re: How to get multiple text spanners at the same height?, David Nalesnik, 2013/05/12
- Re: How to get multiple text spanners at the same height?,
Nick Payne <=
- Re: How to get multiple text spanners at the same height?, Thomas Morley, 2013/05/12
- Re: How to get multiple text spanners at the same height?, SoundsFromSound, 2013/05/15
- Re: How to get multiple text spanners at the same height?, Thomas Morley, 2013/05/15
- Re: How to get multiple text spanners at the same height?, David Nalesnik, 2013/05/15
- Re: How to get multiple text spanners at the same height?, SoundsFromSound, 2013/05/15
- Re: How to get multiple text spanners at the same height?, David Nalesnik, 2013/05/16