Re: Insert text between staves

2016-06-24 Thread David Wright
On Thu 23 Jun 2016 at 16:12:56 (-0500), Br. Gabriel-Marie | SSPX wrote:
> Well, I know how to do *that* - that is, I know how to get text
> above and below the staves.
> 
> But I want text above and below the scores - sort of like a
> subtitle.
> 
> At the end of each page, about 3/4 inch below the last line of
> lyrics I want to put my note (it's to say that the chorus should be
> repeated after each verse).
> 
> Page1:
> Chorus
> myText
> 
> Page2:
> verses
> myText
> 

Do you have anything against just splitting off the chorus from the
verses thus:

%%
myText = \markup { \tiny \italic  "Repeat Chorus after every verse "  }

\paper { ragged-bottom = ##t }

chorus= \new Voice = "chorus" \relative c'' { g a b c d }
verses = \new Voice = "verses" \relative c'' { g a b c d }

chorusLyrics = \new Lyrics \lyricsto "chorus" {
  These are the chorus words
}
firstVerse =  \new Lyrics \lyricsto "verses" {
  The words to my song
}
secondVerse =  \new Lyrics \lyricsto "verses" {
  Next verse words go here
}

\score{
  <<
\new Staff { \chorus }
\chorusLyrics
  >>
  \layout{}
}

\myText

\pageBreak

\markup { " " }
\myText
\markup { " " }
\markup { " " }

\score{
  <<
\new Staff { \verses }
\firstVerse
\secondVerse
  >>
  \layout{}
}
%%

Cheers,
David.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Insert text between staves

2016-06-23 Thread tisimst
On Thu, Jun 23, 2016 at 3:13 PM, BGM [via Lilypond] <
ml-node+s1069038n191865...@n5.nabble.com> wrote:

> Well, I know how to do *that* - that is, I know how to get text above and
> below the staves.
>
> But I want text above and below the scores - sort of like a subtitle.
>
> At the end of each page, about 3/4 inch below the last line of lyrics I
> want to put my note (it's to say that the chorus should be repeated after
> each verse).
>
> Page1:
> Chorus
> myText
>
> Page2:
> verses
> myText
>
> On 6/23/2016 3:00 PM, [hidden email]
> <http:///user/SendEmail.jtp?type=node=191865=0> wrote:
>
> I'm only guessing where you want to place it (since you didn't say more
> than "between"), but if you want it at the bottom of the chorus/verse
> section, then just attach it to a note on that particular staff and direct
> it down/up-ward, respectively:
>
> chorus = \new Voice = "chorus" \relative c'' {
>   g a b c d_\myText \break
> }
>
> verses = \new Voice = "verses" \relative c'' {
>   g^\myText a b c d \break
> }
>
> HTH,
> Abraham
>
> I'm not aware of any mechanism that allows you to place text arbitrarily
on the page. However, if you have your page laid out roughly how you'd like
and there is room to place text in some whitespace, you can do something
like this (warning! it's a band-aid, not necessarily a solution):

chorus = {
  \once \override TextScript.extra-offset = #'(X . Y)
  g_\markup { \with-dimension #'(0 . 0) #'(0 . 0) \myText } a b c d \break
}

and then adjust X and Y to move your text to the approximate desired
location. You might try it with or without the "\with-dimensions ..." part
to see which way works better for you.

HTH a little,
Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Re-Insert-text-between-staves-tp191865p191866.html
Sent from the User mailing list archive at Nabble.com.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Insert text between staves

2016-06-23 Thread tisimst
On Thu, Jun 23, 2016 at 9:54 AM, BGM [via Lilypond] <
ml-node+s1069038n191853...@n5.nabble.com> wrote:

>
> How can I insert this text in between staves?
>
> mytext = \markup { \tiny \italic  "Repeat Chorus after every verse "  }
>
> The only place I can seem to place it is *outside* the score - either
> before or after it.  I've tried putting it in other places too, to no
> avail.  If I put it before or after the score it just appears at the top of
> the score on the first page.
> --
>
> \paper {
> system-system-spacing = #'((basic-distance . 0.3) (padding . 2) )
> markup-system-spacing = #'((basic-distance . 0.3) (padding . 2)
> )%re-aligns the first page to th top
> %ragged-last-bottom = ##f
> ragged-bottom = ##f
> }
>
> chorus= \new Voice = "chorus" \relative c'' {
> g a b c d \break
> }
> verses = \new Voice = "verses" \relative c'' {
> g a b c d \break
> }
> chorusLyrics = \new Lyrics \lyricsto "chorus" {
> These are the words to the chorus
> }
> firstVerse =  \new Lyrics \lyricsto "verses" {
> The words to my song
> }
> secondVerse =  \new Lyrics \lyricsto "verses" {
> Other words go here
> }
>
>
> \score{
> <<
> \new Staff {  \chorus \myText \pageBreak \myText \verses }
>  \chorusLyrics
> \firstVerse
> \secondVerse
>
> >>
> \layout{}
> }
>

I'm only guessing where you want to place it (since you didn't say more
than "between"), but if you want it at the bottom of the chorus/verse
section, then just attach it to a note on that particular staff and direct
it down/up-ward, respectively:

chorus = \new Voice = "chorus" \relative c'' {
  g a b c d_\myText \break
}

verses = \new Voice = "verses" \relative c'' {
  g^\myText a b c d \break
}

HTH,
Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Insert-text-between-staves-tp191853p191854.html
Sent from the User mailing list archive at Nabble.com.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Insert text between staves

2016-06-23 Thread Br. Gabriel-Marie | SSPX


How can I insert this text in between staves?

mytext = \markup { \tiny \italic  "Repeat Chorus after every 
verse "  }


The only place I can seem to place it is *outside* the score 
- either before or after it.  I've tried putting it in other 
places too, to no avail.  If I put it before or after the 
score it just appears at the top of the score on the first page.

--

\paper {
system-system-spacing = #'((basic-distance . 0.3) 
(padding . 2) )
markup-system-spacing = #'((basic-distance . 0.3) 
(padding . 2) )%re-aligns the first page to th top

%ragged-last-bottom = ##f
ragged-bottom = ##f
}

chorus= \new Voice = "chorus" \relative c'' {
g a b c d \break
}
verses = \new Voice = "verses" \relative c'' {
g a b c d \break
}
chorusLyrics = \new Lyrics \lyricsto "chorus" {
These are the words to the chorus
}
firstVerse =  \new Lyrics \lyricsto "verses" {
The words to my song
}
secondVerse =  \new Lyrics \lyricsto "verses" {
Other words go here
}


\score{
<<
\new Staff {  \chorus \myText \pageBreak \myText \verses }
 \chorusLyrics
\firstVerse
\secondVerse

>>
\layout{}
}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user