Why not use an established notation practice, which is supported by LilyPond?
See
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Short-repeats#Percent-repeats
/Mats
Quoting aliteralmind <aliteralmind-lilyp...@yahoo.com>:
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
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user