lilypond-user
[Top][All Lists]
Advanced

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

Re: parenthesize groups of notes


From: Janek Warchoł
Subject: Re: parenthesize groups of notes
Date: Sun, 8 May 2011 07:39:44 +0200

Hi,

please reply not only to me, but also to the whole lilypond-user
mailing list (add address@hidden in CC:). This way everyone can
participate in solving your problem, and other people may benefit from
the solution :)

2011/5/8 Jerome Wolbert <address@hidden>:
> \version "2.12.2"
> #(set-global-staff-size 10)
> \score { {
> % \override outside-staff-priority =
> ##f                                       %  I tried it here first...

That couldn't have worked, because you didn't specify what object do
you want to apply this override to.

> \clef treble
> \key d \major
> \cadenzaOn
>  a'4 b' b'' a'' g'
> \once \override TextScript #'outside-staff-priority = #f

Almost correct! You missed one hash - it should be ##f.

Strangely, \translate doesn't want to work properly here. Fortunately
you can use offsets:

{
\once \override TextScript #'outside-staff-priority = ##f
\once \override TextScript #'X-offset = #'-0.7
\once \override TextScript #'Y-offset = #'-1.7
g'^"("
}
(of course these values must be found by trial and error).

Hope this helps,
Janek

PS i suggest that you make your code examples smaller. For example
this would be easier to deal with (and harder to make a mistake):

\version "2.12.2"
{
% \override outside-staff-priority = ##f       %  I tried it here first...
\once \override TextScript #'outside-staff-priority = #f     % this
was my second try...
g'^\markup { \translate #'(-1 . -7) { "(" } }
}



reply via email to

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