lilypond-user
[Top][All Lists]
Advanced

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

RE: Marks above and below simultaneously


From: Daniel Rosen
Subject: RE: Marks above and below simultaneously
Date: Fri, 07 Dec 2012 04:30:00 +0000

Thanks a lot for this--if someone does know how to modify this to accept 
metronome marks as well, that'd be great.

DR


-----Original Message-----
From: Xavier Scheuer [mailto:address@hidden 
Sent: Thursday, December 06, 2012 5:49 AM
To: Daniel Rosen
Cc: address@hidden
Subject: Re: Marks above and below simultaneously

On 3 December 2012 00:31, Daniel Rosen <address@hidden> wrote:
> OK, I think I've mostly figured this out:
>
> \version "2.16.1"
>
> marks = {
>   \tempo "Tempo"
>   s1 \mark \default
> }
>
> \new Score <<
>   \new Staff <<
>     \new Voice { c''1 c'' }
>     \new Voice { \marks }
>   >>
>   \new Dynamics \with {
>     \consists "Metronome_mark_engraver"
>     \consists "Mark_engraver"
>   } { \marks }
> >>
>
> The only problem now is that metronome mark is aligned with the start 
> of the music instead of the time signature. I'm guessing this has 
> something to do with the fact that it's in a Dynamics context--can 
> someone tell me how to fix it?

Hi,

Wihout the need of a Dynamics context, I personnaly use Neil's 
#multi-mark-engraver which provide an easy and (IMHO) efficient way to print 
simultaneous rehearsal marks.
I think it could be expanded to metronome marks (maybe a Scheme guru could have 
a look).

I find this "multi-mark-engraver" so much useful, I hope a nice implementation 
of it could be integrated directly within LilyPond.

I don't know what is the current version of LilyPond installed on the LSR.  
When this code was produced by Neil it could not be included in the LSR because 
of LilyPond version installed on it.

Cheers,
Xavier


---------- Forwarded message ----------
From: Xavier Scheuer <address@hidden>
Date: 17 August 2012 14:52
Subject: Re: Simultaneous rehearsal marks and staff spacing
To: Nick Payne <address@hidden>
Cc: "address@hidden" <address@hidden>, Neil Puttock <address@hidden>


Hi,

I use Neil's great "multi-mark-engraver" and I can put two simultaneous 
rehearsal marks with different directions, self-alignment-X, etc.
AFAIK it works great and does not exhibit side effect on staff spacing.

See http://lists.gnu.org/archive/html/lilypond-user/2011-08/msg00157.html
for the definition of "multi-mark-engraver".

%%%% Lily code

% you should include the definition of "multi-mark-engraver"
% http://lists.gnu.org/archive/html/lilypond-user/2011-08/msg00157.html

\layout {
  \context {
    \Score
    \remove "Mark_engraver"
    \consists #multi-mark-engraver
    \consists "Tweak_engraver"
  }
}

\relative c'{
  \repeat unfold 60 { c4 }
  \tweak #'self-alignment-X #RIGHT
  \mark \markup \normalsize \musicglyph #"scripts.segno"
  \tweak #'direction #DOWN
  \tweak #'self-alignment-X #RIGHT
  \mark \markup \normalsize "Menuetto D.C."
}

%%%% End of lily code

--
Xavier Scheuer <address@hidden>

reply via email to

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