Re: Marks above and below simultaneously
On 3 December 2012 00:31, Daniel Rosen drose...@gmail.com 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 x.sche...@gmail.com Date: 17 August 2012 14:52 Subject: Re: Simultaneous rehearsal marks and staff spacing To: Nick Payne nick.pa...@internode.on.net Cc: lilypond-user@gnu.org lilypond-user@gnu.org, Neil Puttock n.putt...@gmail.com 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 x.sche...@gmail.com ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Marks above and below simultaneously
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:x.sche...@gmail.com] Sent: Thursday, December 06, 2012 5:49 AM To: Daniel Rosen Cc: lilypond-user@gnu.org Subject: Re: Marks above and below simultaneously On 3 December 2012 00:31, Daniel Rosen drose...@gmail.com 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 x.sche...@gmail.com Date: 17 August 2012 14:52 Subject: Re: Simultaneous rehearsal marks and staff spacing To: Nick Payne nick.pa...@internode.on.net Cc: lilypond-user@gnu.org lilypond-user@gnu.org, Neil Puttock n.putt...@gmail.com 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 x.sche...@gmail.com ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Marks above and below simultaneously
Bump. Can anyone help me with this? DR -Original Message- From: Daniel Rosen Sent: Sunday, December 02, 2012 6:31 PM To: lilypond-user@gnu.org Subject: RE: Marks above and below simultaneously 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? DR -Original Message- From: Daniel Rosen [mailto:drose...@gmail.com] Sent: Saturday, December 01, 2012 10:01 PM To: Pierre Perol-Schneider Cc: lilypond-user@gnu.org Subject: RE: Marks above and below simultaneously The problem with those is that they would require me to remove the engravers from the Score context and include them in the upper- and lowermost Staff contexts, which poses an issue since I'm using \HideEmptyStaves--if I do both of those things and either of those two contexts is empty when the mark occurs, it won't show up. DR From: Pierre Perol-Schneider [mailto:pierre.schneider.pa...@gmail.com] Sent: Saturday, December 01, 2012 7:32 PM To: Daniel Rosen Cc: lilypond-user@gnu.org Subject: Re: Marks above and below simultaneously Maybe those snippets could help : - http://lsr.dsi.unimi.it/LSR/Item?id=735 - http://lsr.dsi.unimi.it/LSR/Item?id=736 2012/12/2 Daniel Rosen drose...@gmail.com I have my rehearsal marks and metronome marks in a separate voice in the score I'm typesetting, and I'd like to get them all to show up both above and below the score. The best thing to do that I can think of is to use Dynamics contexts above and below, but that throws off the vertical spacing between the marks and the top and bottom staves; I'd like it to look as though Score.RehearsalMark #'direction = #1 and Score.RehearsalMark #'direction = #-1 were set simultaneously; same for MetronomeMark. Anyone know how to do this? Should I be using some other context than Dynamics? DR ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Marks above and below simultaneously
2012/12/5 Daniel Rosen drose...@gmail.com: Bump. Can anyone help me with this? [...] 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 Daniel, It has nothing to do with the Dynamicscontext. Have a look at IR 3.1.70 MetronomeMark http://lilypond.org/doc/v2.17/Documentation/internals-big-page#metronomemark There you can find the property called 'break-align-symbols with the vaalue '(time-signature) The description says: A list of symbols that determine which break-aligned grobs to align this to. If the grob selected by the first symbol in the list is invisible due to break-visibility, we will align to the next grob (and so on). Should be clear now, why the MetronomeMark of the Dynamics isn't aligned to the TimeSignature: Because there is none. Hackish workaround: insert the Time_signature_engraver into Dynamics and set the TimeSignature-stencil to point-stencil. \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 \consists Time_signature_engraver \override TimeSignature #'stencil = #point-stencil } { \marks } HTH, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Marks above and below simultaneously
Thanks a lot! DR -Original Message- From: Thomas Morley [mailto:thomasmorle...@googlemail.com] Sent: Wednesday, December 05, 2012 7:05 PM To: Daniel Rosen Cc: lilypond-user@gnu.org Subject: Re: Marks above and below simultaneously 2012/12/5 Daniel Rosen drose...@gmail.com: Bump. Can anyone help me with this? [...] 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 Daniel, It has nothing to do with the Dynamicscontext. Have a look at IR 3.1.70 MetronomeMark http://lilypond.org/doc/v2.17/Documentation/internals-big-page#metronomemark There you can find the property called 'break-align-symbols with the vaalue '(time-signature) The description says: A list of symbols that determine which break-aligned grobs to align this to. If the grob selected by the first symbol in the list is invisible due to break-visibility, we will align to the next grob (and so on). Should be clear now, why the MetronomeMark of the Dynamics isn't aligned to the TimeSignature: Because there is none. Hackish workaround: insert the Time_signature_engraver into Dynamics and set the TimeSignature-stencil to point-stencil. \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 \consists Time_signature_engraver \override TimeSignature #'stencil = #point-stencil } { \marks } HTH, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Marks above and below simultaneously
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? DR -Original Message- From: Daniel Rosen [mailto:drose...@gmail.com] Sent: Saturday, December 01, 2012 10:01 PM To: Pierre Perol-Schneider Cc: lilypond-user@gnu.org Subject: RE: Marks above and below simultaneously The problem with those is that they would require me to remove the engravers from the Score context and include them in the upper- and lowermost Staff contexts, which poses an issue since I'm using \HideEmptyStaves--if I do both of those things and either of those two contexts is empty when the mark occurs, it won't show up. DR From: Pierre Perol-Schneider [mailto:pierre.schneider.pa...@gmail.com] Sent: Saturday, December 01, 2012 7:32 PM To: Daniel Rosen Cc: lilypond-user@gnu.org Subject: Re: Marks above and below simultaneously Maybe those snippets could help : - http://lsr.dsi.unimi.it/LSR/Item?id=735 - http://lsr.dsi.unimi.it/LSR/Item?id=736 2012/12/2 Daniel Rosen drose...@gmail.com I have my rehearsal marks and metronome marks in a separate voice in the score I'm typesetting, and I'd like to get them all to show up both above and below the score. The best thing to do that I can think of is to use Dynamics contexts above and below, but that throws off the vertical spacing between the marks and the top and bottom staves; I'd like it to look as though Score.RehearsalMark #'direction = #1 and Score.RehearsalMark #'direction = #-1 were set simultaneously; same for MetronomeMark. Anyone know how to do this? Should I be using some other context than Dynamics? DR ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Marks above and below simultaneously
I have my rehearsal marks and metronome marks in a separate voice in the score I'm typesetting, and I'd like to get them all to show up both above and below the score. The best thing to do that I can think of is to use Dynamics contexts above and below, but that throws off the vertical spacing between the marks and the top and bottom staves; I'd like it to look as though Score.RehearsalMark #'direction = #1 and Score.RehearsalMark #'direction = #-1 were set simultaneously; same for MetronomeMark. Anyone know how to do this? Should I be using some other context than Dynamics? DR ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Marks above and below simultaneously
Maybe those snippets could help : - http://lsr.dsi.unimi.it/LSR/Item?id=735 - http://lsr.dsi.unimi.it/LSR/Item?id=736 2012/12/2 Daniel Rosen drose...@gmail.com I have my rehearsal marks and metronome marks in a separate voice in the score I'm typesetting, and I'd like to get them all to show up both above and below the score. The best thing to do that I can think of is to use Dynamics contexts above and below, but that throws off the vertical spacing between the marks and the top and bottom staves; I'd like it to look as though Score.RehearsalMark #'direction = #1 and Score.RehearsalMark #'direction = #-1 were set simultaneously; same for MetronomeMark. Anyone know how to do this? Should I be using some other context than Dynamics? DR ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Marks above and below simultaneously
The problem with those is that they would require me to remove the engravers from the Score context and include them in the upper- and lowermost Staff contexts, which poses an issue since I'm using \HideEmptyStaves--if I do both of those things and either of those two contexts is empty when the mark occurs, it won't show up. DR From: Pierre Perol-Schneider [mailto:pierre.schneider.pa...@gmail.com] Sent: Saturday, December 01, 2012 7:32 PM To: Daniel Rosen Cc: lilypond-user@gnu.org Subject: Re: Marks above and below simultaneously Maybe those snippets could help : - http://lsr.dsi.unimi.it/LSR/Item?id=735 - http://lsr.dsi.unimi.it/LSR/Item?id=736 2012/12/2 Daniel Rosen drose...@gmail.com I have my rehearsal marks and metronome marks in a separate voice in the score I'm typesetting, and I'd like to get them all to show up both above and below the score. The best thing to do that I can think of is to use Dynamics contexts above and below, but that throws off the vertical spacing between the marks and the top and bottom staves; I'd like it to look as though Score.RehearsalMark #'direction = #1 and Score.RehearsalMark #'direction = #-1 were set simultaneously; same for MetronomeMark. Anyone know how to do this? Should I be using some other context than Dynamics? DR ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user