[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Forcing markup to be IN the staff
From: |
Nick Payne |
Subject: |
RE: Forcing markup to be IN the staff |
Date: |
Wed, 4 Mar 2009 05:49:29 +1100 |
Two possibilities:
Change secondaryMusic to be either
secondaryMusic = \relative c {
\clef bass
c8 c c
\hideNotes
c-\tweak #'extra-offset #'(0 . 2.3)_\rptDDDInStaff
c c c c c c c c
\unHideNotes
|
}
Or
secondaryMusic = \relative c {
\clef bass
c8 c c
\hideNotes
\once \override TextScript #'extra-offset = #'(0 . 2.3)
c_\rptDDDInStaff
c c c c c c c c
\unHideNotes
|
}
Nick
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On
> Behalf Of aliteralmind
> Sent: Wednesday, 4 March 2009 03:52
> To: address@hidden
> Subject: Forcing markup to be IN the staff
>
>
> I have repetitive notes:
>
> c8 c c c c c c c c c c c |
>
> This type of repetition is found throughout my piece. I'm trying to
> hide the
> second-through-fourth beats of notes, and have a "..." in its place, IN
> the
> staff. No matter how much I \raise the markup, it never enters the
> staff.
> How can I force this collision?
>
> Here is an image describing what I want and am actually getting (I also
> can't quite position the lyrics and "repeat throught" text as tightly
> as I
> want):
>
> http://jeffyepstein.com/tmp/staff_collision_question.gif
>
> And following is the LY code that created the bottom version.
>
> Thank you for helping.
>
> --------------------------------------------------------
> \version "2.12.2"
>
> global = {
> \key c \major
> \time 12/8
> }
>
> rptDDD = \markup { \fontsize #6 "..." }
> rptDDDInStaff = \markup {
> \column {
> \raise #2.5 \rptDDD
> \small \italic "Repeat throughout measure"
> }
> }
> rptDDDForLyrics = \markup { \raise #0.3 \rptDDD }
>
> mainMusic = \relative c'' {
> c4. c c c |
> }
> mainWords = \lyricmode { Da da da da }
> secondaryMusic = \relative c {
> \clef bass
> c8 c c
> \hideNotes
> c_\rptDDDInStaff
> c c c c c c c c
> \unHideNotes
> |
> }
> secondaryWords = \lyricmode {
> doo doo doo \rptDDDForLyrics
> }
>
> \score {
> \new ChoirStaff <<
> \new Staff = staffMain <<
> \new Voice = "vMain" {
> \voiceTwo
> << \global \mainMusic >>
> }
> \new Lyrics = "mainLyrics" { s1 }
> >>
> \new Staff = staffSecondary <<
> \new Voice = "vSecondary" {
> \voiceOne
> << \global \secondaryMusic >>
> }
> %s1 is a placeholder, until soloWords is assigned to
> it
> \new Lyrics = "secondaryLyrics" { s1 }
> >>
> \context Lyrics = mainLyrics \lyricsto vMain \mainWords
> \context Lyrics = secondaryLyrics \lyricsto vSecondary
> \secondaryWords
> >>
> \layout {}
> \midi {}
> }
> --------------------------------------------------------
>
> --
> View this message in context: http://www.nabble.com/Forcing-markup-to-
> be-IN-the-staff-tp22312800p22312800.html
> Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.
>
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.0.237 / Virus Database: 270.11.5/1979 - Release Date:
> 03/01/09 17:46:00
- Forcing markup to be IN the staff, aliteralmind, 2009/03/03
- Re: Forcing markup to be IN the staff, Jonathan Kulp, 2009/03/03
- RE: Forcing markup to be IN the staff,
Nick Payne <=
- Re: Forcing markup to be IN the staff, James E. Bailey, 2009/03/03
- Re: Forcing markup to be IN the staff, Mats Bengtsson, 2009/03/03
- Re: Forcing markup to be IN the staff, aliteralmind, 2009/03/04
- Re: Forcing markup to be IN the staff, James E. Bailey, 2009/03/04
Re: Forcing markup to be IN the staff, madMuze, 2009/03/04