lilypond-user
[Top][All Lists]

## Re: Complete Solution: alignment of "segno" over a Repeat Sign?

 From: Paul Scott Subject: Re: Complete Solution: alignment of "segno" over a Repeat Sign? Date: Sat, 01 Jul 2006 21:13:19 -0700 User-agent: Thunderbird 1.5.0.4 (X11/20060619)

Paul Scott wrote:

address@hidden wrote:

% Intro - 12 bar rest - Line 1
R1*12 | \bar "||" \break
% Melody - Line 2 - Measure 13
\once \override Score.RehearsalMark #'extra-offset = #'(-3.0 . 0.0)
\mark \markup { \musicglyph #"scripts.segno" } \bar "|:"


I don't know how I missed this the first time, but now the double bar at the end of the First Line doesn't show the double bar line, and if I move the \mark \markup { \musicglyph #"scripts.segno" } in front of the double bar at the end of line one, then the repeat sign beginning line 2 doesn't show up.

I may post more on this tomorrow, as I'm tired now.

-----Original Message-----

From: address@hidden
Sent: Jul 1, 2006 5:33 PM
Subject: Re: How do you align a "segno" over a Repeat Sign?


Remove the "\once ..." line which is what is causing the offset?

No it's not causing the offset, because it doesn't even work. The code is wrong in that line. When it is commented out the Segno Sign is to the right of the repeat sign on top of a chord symbol. I need to move it to the left and up. Perferable on top of the repeat sign. But I don't know the correct terminology to address the segno sign to offset it. -----Original Message-----
From: Paul Scott <address@hidden>
Sent: Jul 1, 2006 3:25 PM
Subject: Re: How do you align a "segno" over a Repeat Sign?


% ****************************************************************
% Beginning of the actual notation code

% **************************************************************** % Melody - Line 1
        R1*12 \bar "||" \break

\once \override Score.RehearsalMark scripts.segno #'extra-offset = #'(-2.0 . 0.0)
\mark \markup { \musicglyph #"scripts.segno" } \bar "|:"

Right now the Segno is to the right of the Repeat sign
Ideally I would like it over the top.


I don't know the correct terminologly and after researching the docs, I haven't come up with anything either.
I didn't notice that you wanted this at the beginning of the line but this was discussed here recently.


1. \bar "||:" gives you the double bar at the end of the line as well as the repeat at the beginning of the next line (I think this should this should be the default behavior)


2. It looks like you can't move the segno any more to the right. I don't think it looks bad but you can file a bug if you think differently. (I tried this your way and with \hspace in the \markup).
Oops!! I was wrong! Your way works fine with an offset of -1.5. (I didn't pay enough attention to what I had commented out).


3. The repeat sign or any other bar line does not appear at the beginning of the line until there is music after it.
This slightly modified code works fine in 2.9.10. (You haven't mentioned what version you are using).

{
% Intro - 12 bar rest - Line 1
R1*12 | \bar "||" \break
% Melody - Line 2 - Measure 13
\once \override Score.RehearsalMark #'extra-offset = #'(-1.5 . 0.0)
\mark \markup { \musicglyph #"scripts.segno" } \bar "||:"
R1  % Added to make bar line appear
}

HTH,

Paul