# position text markup relative to barline

8 messages
Open this post in threaded view
|

## position text markup relative to barline

 Hi all, Must say I like this software, just discovered it a few days back. Been working on a chart the last few days and learning as I go. Very impressive output, and I like the structured way of inputting notes ... one thing I like is that lp allows me to structure musical sections. I have include files that define the parts that given instruments have for various parts of the song, and then top level files that define scores for individual instruments or all. So, from the same set of incudes, I can generate a piano reduction with or without vocal line, or a "lead sheet" (melody line with chords, with or without lyrics ... ) This approach though leads me to want to put markings like "DS al Fine" between sections, like this: pianoright = { \pianoRightIntro \pianoRightChorus \pianoRightVerse ... } and now my "Fine" mark might want to sit between two sections like this: \pianoRightChorus ^"Fine" \pianoRightVerse Problem is that as the text needs to be linked to a note, not inserted between sections like this, that doesn't work. Any suggestions? thank you! Daniel -- sax, clarinet, guitar, vocals, composer http://www.danielmcbrearty.com_______________________________________________ lilypond-user mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/lilypond-user
Open this post in threaded view
|

## Re: position text markup relative to barline

 I don't know exactly how your music is set up, but \mark may be what you want.On 11.10.2009, at 16:08, Daniel McBrearty wrote:Hi all,Must say I like this software, just discovered it a few days back.Been working on a chart the last few days and learning as I go. Veryimpressive output, and I like the structured way of inputting notes... one thing I like is that lp allows me to structure musicalsections. I have include files that define the parts that giveninstruments have for various parts of the song, and then top levelfiles that define scores for individual instruments or all. So, fromthe same set of incudes, I can generate a piano reduction with orwithout vocal line, or a "lead sheet" (melody line with chords, withor without lyrics ... )This approach though leads me to want to put markings like "DS alFine" between sections, like this:pianoright = { \pianoRightIntro \pianoRightChorus \pianoRightVerse ... }and now my "Fine" mark might want to sit between two sections like this:\pianoRightChorus ^"Fine" \pianoRightVerseProblem is that as the text needs to be linked to a note, not insertedbetween sections like this, that doesn't work.Any suggestions?thank you!Daniel-- sax, clarinet, guitar, vocals, composerhttp://www.danielmcbrearty.com_______________________________________________lilypond-user mailing list[hidden email]http://lists.gnu.org/mailman/listinfo/lilypond-user James E. Bailey _______________________________________________ lilypond-user mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/lilypond-user
Open this post in threaded view
|

## Re: position text markup relative to barline

 thanks James. I tried it, for some reason it works in one place not another ... melody = \relative c' {   \clef treble   \key c \major   \time 4/4   { \melodyintro     \repeat volta 2 {\melodychorus                      \mark \markup "Fine" % this Fine indeed works "Fine"                      \bar "||"}     \alternative {{\melodyvone}                  {\melodyvtwo}}  \mark \markup "D.S. Al Fine" % this doesn't show ??? maybe pushed off edge of page ???  \bar "|."  } } Must be  a silly reason, I searched for a manual entry on \mark \markup ... but could not find? thanks again Daniel On Sun, Oct 11, 2009 at 4:24 PM, James E. Bailey <[hidden email]> wrote: > I don't know exactly how your music is set up, but \mark may be what you > want. > On 11.10.2009, at 16:08, Daniel McBrearty wrote: > > Hi all, > Must say I like this software, just discovered it a few days back. > Been working on a chart the last few days and learning as I go. Very > impressive output, and I like the structured way of inputting notes > ... one thing I like is that lp allows me to structure musical > sections. I have include files that define the parts that given > instruments have for various parts of the song, and then top level > files that define scores for individual instruments or all. So, from > the same set of incudes, I can generate a piano reduction with or > without vocal line, or a "lead sheet" (melody line with chords, with > or without lyrics ... ) > This approach though leads me to want to put markings like "DS al > Fine" between sections, like this: > pianoright = { \pianoRightIntro \pianoRightChorus \pianoRightVerse ... } > and now my "Fine" mark might want to sit between two sections like this: > \pianoRightChorus ^"Fine" \pianoRightVerse > Problem is that as the text needs to be linked to a note, not inserted > between sections like this, that doesn't work. > Any suggestions? > thank you! > Daniel > > -- > sax, clarinet, guitar, vocals, composer > http://www.danielmcbrearty.com> > _______________________________________________ > lilypond-user mailing list > [hidden email] > http://lists.gnu.org/mailman/listinfo/lilypond-user> > James E. Bailey > > > -- sax, clarinet, guitar, vocals, composer http://www.danielmcbrearty.com_______________________________________________ lilypond-user mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/lilypond-user
Open this post in threaded view
|

## Re: position text markup relative to barline

 2009/10/11 Daniel McBrearty <[hidden email]>: > Must be  a silly reason, I searched for a manual entry on \mark > \markup ... but could not find? Did you check the index?  There are two main places it's discussed in the Notation manual. http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Bars#index-_005cmarkYou'll find the solution to your problem in the first snippet at the bottom of this section: http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Writing-text#index-_005cmark-2Regards, Neil _______________________________________________ lilypond-user mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/lilypond-user
Open this post in threaded view
|

## Re: position text markup relative to barline

 thanks that looks exactly like it, but still no joy : melody = \relative c' {   \clef treble   \key c \major   \time 4/4   { \melodyintro     \mark \markup { \musicglyph #"scripts.segno" }     \repeat volta 2 {\melodychorus                      \mark \markup "Fine"                      \bar "||"}     \alternative {{\melodyvone}                  {\melodyvtwo}}  \bar "|."  \override Score.RehearsalMark #'self-alignment-X = #RIGHT  \mark "D.S. Al Fine" % I am invisible ...  } } but that does seem to be the issue - add a dummy bar and all is well (except the unwanted empty bar)  \bar "|."  \override Score.RehearsalMark #'self-alignment-X = #RIGHT  \mark "D.S. Al Fine" % now I'm good!  {s1}  } } On Sun, Oct 11, 200 9 at 5:22 PM, Neil Puttock <[hidden email]> wrote: > 2009/10/11 Daniel McBrearty <[hidden email]>: > >> Must be  a silly reason, I searched for a manual entry on \mark >> \markup ... but could not find? > > Did you check the index?  There are two main places it's discussed in > the Notation manual. > > http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Bars#index-_005cmark> > You'll find the solution to your problem in the first snippet at the > bottom of this section: > > http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Writing-text#index-_005cmark-2> > Regards, > Neil > -- sax, clarinet, guitar, vocals, composer http://www.danielmcbrearty.com_______________________________________________ lilypond-user mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/lilypond-user
Open this post in threaded view
|

## Re: position text markup relative to barline

 2009/10/11 Daniel McBrearty <[hidden email]>: >  \mark "D.S. Al Fine" % I am invisible ... There are two overrides in the example; the first changes the visibility of the rehearsal mark so it can appear at the end of a line (whether there's another line after the break or it's the end of a score doesn't matter): \override Score.RehearsalMark #'break-visibility = #begin-of-line-invisible #end-of-line-visible would also work (and is probably easier to understand). Regards, Neil _______________________________________________ lilypond-user mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/lilypond-user