funny construction

2016-07-18 Thread Br. Gabriel-Marie | SSPX

I'm stuck, y'all.

I have a song that goes like this:
--
soprano
alto
15 lyric verses in between
tenor
bass

soprano
alto
just one lyric in between - it's the chorus
tenor
bass


soprano
alto
15 lyric verses in between \repeatOfFourWords
tenor
bass
--
How do I lay this out?  I have two problems:
1. How do I get the center staff to be not connected to the 
other two?
2. How do I make three separate staffs?  The code I have 
right now makes one giant staff and tries to play all three 
of them at once.


Right now, I've got this, which is wrong -


\score {
<<
\new StaffGroup <<
\new Staff<<
\new Voice = "altoTop" \altoTop
\break
>>
\new Lyrics \lyricsto "versesTop" { lyrics... }
\new Lyrics \lyricsto "versesTop" { lyrics... }
\new Staff<<
\new Voice = "bassTop" \bassTop
\break
>>
>>

\new StaffGroup <<
\new Staff<<
\new Voice = "altoCenter" \altoCenter
\break
>>
\new Lyrics \lyricsto "versesCenter" { Ti -- 
rou -- li, ra -- ta -- plan, ra -- ta -- plan. }

\new Staff<<
\new Voice = "bassCenter" \bassCenter
\break
>>
>>


\new StaffGroup<<
\new Staff<<
\new Voice = "altoBottom" \altoBottom
>>
\new Lyrics \lyricsto "versesBottom" { 
lyrics... \choruslet   }
\new Lyrics \lyricsto "versesBottom" { 
lyrics \choruslet   }


\new Staff<<
\new Voice = "bassBottom" \bassBottom
>>

>>
>>
\layout {
\override Lyrics.VerticalAxisGroup #'staff-affinity 
= #CENTER

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


Re: scrunching

2016-07-13 Thread Br. Gabriel-Marie | SSPX
Thanks for the tips, y'all, for the scrunching.  I believe 
things are working now.  And Urs, thanks for the link to the 
lilylib!


On 7/12/2016 1:41 PM, Urs Liska wrote:
 Am 12. Juli 2016 20:31:08 MESZ, schrieb "Br. Gabriel-Marie 
| SSPX" <brgabr...@sspx.org>:

If my music is taking up too much space, how can I scrunch
it horizontally?

In other words, I want to get more notes and lyrics onto a
staff.

I've set this all the way to 0, but am not yet getting the
effect I want.
\override Lyrics.LyricSpace #'minimum-distance = #0.7


2. Look here: 
https://github.com/openlilylib/snippets/tree/master/notation-snippets/adjust-horizontal-spacing

HTH
Urs



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


scrunching

2016-07-12 Thread Br. Gabriel-Marie | SSPX
If my music is taking up too much space, how can I scrunch 
it horizontally?


In other words, I want to get more notes and lyrics onto a 
staff.


I've set this all the way to 0, but am not yet getting the 
effect I want.

\override Lyrics.LyricSpace #'minimum-distance = #0.7
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Long Compile time with version 2.19.44

2016-07-07 Thread Br. Gabriel-Marie | SSPX
Recently I updated my lilypond from 2.18 to 2.19.44.  I am 
using Frescobaldi for the GUI.
It used to take only a few seconds to compile a score, but 
now it takes at least 28 seconds every time.

This is the case even if I don't create a midi.

Am I missing something, or is this the case for everyone?

Even for this minimal example without any compile errors, it 
took 28.3 seconds - which is my new average time.


\version "2.19.44"
\header {
title = "Minimal Example"
}

verses = \new Voice = "verses" \relative c'' {
\time 4/4
\key c \major
a4 b4 c4 d4 | e4 d4 f2  \bar "||"
}

wordsOne = \new Lyrics  \lyricsto "verses" {
 Here are some wo -- rds to sing
}
wordsTwo = \new Lyrics  \lyricsto "verses" {
And line up wi -- th them -- selves
}
wordsThree = \new Lyrics \lyricsto "verses" {
See the stanz -- as line up in place
}

\score {
<<
\new Staff{   \verses }
   \wordsOne
\wordsTwo
   \wordsThree
>>
\layout {

}
}

Here is my output:

Starting lilypond-windows.exe 2.19.44 [Untitled]...

Processing 
`c:/users/brgabr~1/appdata/local/temp/frescobaldi-a08kr0/tmplcpzp0/document.ly'


Parsing...

Interpreting music...

Preprocessing graphical objects...

Finding the ideal number of pages...

Fitting music on 1 page...

Drawing systems...

Layout output to `./tmp-lilypond-TVi8uT'...

Converting to `document.pdf'...

Deleting `./tmp-lilypond-TVi8uT'...

Success: compilation successfully completed

Completed successfully in 28.3".




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


Re: offset for lyrics does not offset the lyric hyphens

2016-07-07 Thread Br. Gabriel-Marie | SSPX

Mr. Morley,

Hey!  That's it!  Thank you very much!  It works just like I 
imagined it could!


The only thing I can complain about with this is that it 
takes forever (nearly 30 seconds, anyway; normally it only 
takes a few seconds) to compile.  Here is the error log I 
get for your script:


Starting lilypond-windows.exe 2.19.44 
[stanza-number-every-line-04.ly]...


Processing `C:/lilypond/ly/stanza-number-every-line-04.ly'

Parsing...

Interpreting music...

Preprocessing graphical objects...

programming error: mis-predicted force, 108.120472 ~= 108.150681

continuing, cross fingers

programming error: mis-predicted force, 108.120472 ~= 110.052755

continuing, cross fingers

programming error: mis-predicted force, 108.120472 ~= 134.595491

continuing, cross fingers

programming error: mis-predicted force, 108.120472 ~= 152.068190

continuing, cross fingers

programming error: mis-predicted force, 108.120472 ~= 108.055175

continuing, cross fingers

programming error: mis-predicted force, 108.120472 ~= 152.068190

continuing, cross fingers

programming error: mis-predicted force, 108.120472 ~= 110.052755

continuing, cross fingers

programming error: mis-predicted force, 108.120472 ~= 108.150681

continuing, cross fingers

programming error: mis-predicted force, 108.120472 ~= 108.055175

continuing, cross fingers

programming error: mis-predicted force, 108.120472 ~= 134.595491

continuing, cross fingers

programming error: mis-predicted force, 108.120472 ~= 110.052755

continuing, cross fingers

programming error: mis-predicted force, 108.120472 ~= 108.150681

continuing, cross fingers

Finding the ideal number of pages...

Fitting music on 1 page...

Drawing systems...

programming error: mis-predicted force, 108.120472 ~= 152.068190

continuing, cross fingers

programming error: mis-predicted force, 108.120472 ~= 110.052755

continuing, cross fingers

programming error: mis-predicted force, 108.120472 ~= 108.150681

continuing, cross fingers

Layout output to `./tmp-lilypond-xDJjia'...

Converting to `stanza-number-every-line-04.pdf'...

Deleting `./tmp-lilypond-xDJjia'...

Success: compilation successfully completed

Completed successfully in 28.1".


Attached best I currently can think of.

-Harm


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


Re: offset for lyrics does not offset the lyric hyphens

2016-07-05 Thread Br. Gabriel-Marie | SSPX
Sorry, I didn't realize embedded images didn't show.  I've 
attached them this time.


On 7/5/2016 9:10 PM, Br. Gabriel-Marie | SSPX wrote:

Mr. Morley,

I want to achieve the numbering to line up at the front of 
the lyrics.  The script that your other self created to 
number the stanza lines does not line them up - it does, 
indeed, get the numbering, but not the justification of 
the numbers.


That's why I haven't given up using /instrumentName /for 
the numbering. /instrumentName /will line up the numbers 
at the front.  (Problem with this, as I've mentioned, is 
that if the clef does not have the extra spacing provided 
by the three sharps in the key signature, then the lyrics 
can overlap the numbers.  )


You can see in the second attachment the difference here.  
If the words are longer then the numbers move and don't 
line up with the numbers on the next staff.



On 7/5/2016 2:08 PM, Thomas Morley wrote:

It's not clear to me at which position exactly?
Below (if any) the Clef, KeySignature/Cancellation, TimeSignature,
BarLine or else?
Righ-/center-/left-aligned?

Let's clear that first and then look for a method to avoid collisions.

Cheers,
   Harm




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


Re: offset for lyrics does not offset the lyric hyphens

2016-07-05 Thread Br. Gabriel-Marie | SSPX

Mr. Morley,

I want to achieve the numbering to line up at the front of 
the lyrics.  The script that your other self created to 
number the stanza lines does not line them up - it does, 
indeed, get the numbering, but not the justification of the 
numbers.


That's why I haven't given up using /instrumentName /for the 
numbering. /instrumentName /will line up the numbers at the 
front.  (Problem with this, as I've mentioned, is that if 
the clef does not have the extra spacing provided by the 
three sharps in the key signature, then the lyrics can 
overlap the numbers.  )




You can see the difference here.  If the words are longer 
then the numbers move and don't line up with the numbers on 
the next staff.





On 7/5/2016 2:08 PM, Thomas Morley wrote:

It's not clear to me at which position exactly?
Below (if any) the Clef, KeySignature/Cancellation, TimeSignature,
BarLine or else?
Righ-/center-/left-aligned?

Let's clear that first and then look for a method to avoid collisions.

Cheers,
   Harm


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


Re: offset for lyrics does not offset the lyric hyphens

2016-07-05 Thread Br. Gabriel-Marie | SSPX
Mr. Morley,  I thought I did open a new thread on the user 
list...


Well, I only recall one alternative and that is using Harm's 
(is that the same as Abraham?) stanza script.  But like I 
mentioned, the numbers end up in various places. Using 
instrumentName always puts them in the same place.  I would 
be glad to avoid using instrumentName if I can get things to 
work out the way I want.  I want the numbers to appear in 
the same place on every line instead of varying positions.


I'll start a new thread to ask Mr. Harm about fixing the 
number positions.


On 7/5/2016 12:38 PM, Thomas Morley wrote:

Abraham already mentioned better alternative commands.


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


offset for lyrics does not offset the lyric hyphens

2016-07-05 Thread Br. Gabriel-Marie | SSPX

Hey!  I think I may have found a possible bug.

So, I have been playing around with the use of 
instrumentName and shortInstrumentName for uses of numbering 
lyrics.


Now, when have a key signature that doesn't take up much 
horizontal space on the bar then it is possible that the 
numbers may overlap some of the lyric text.


So you can use
\override Lyrics.LyricText #'extra-offset = #'(2 . 0)

to move the lyric text around so that it is out of the way 
of the numbers.


However, this causes a few problems:
1.  Since it is an offset it does not affect how the text 
lines up with the music notes - but I think this is correct 
procedure for an offset.
2. And this is the bug (I think) - hyphenated lyrics move, 
but their -- hyphens do not move with them.  So the offset 
causes the lyric words to overlap their hyphens.



You can see the overlap here in wo -- rds, wi -- th, and 
stanz -- as


I have attached a minimal example.

All of that having been said, is there a way to move the 
text along with the notes?  In other words, can I push the 
music with its lyrics to the right a little bit somehow to 
get space?


(I'm still playing with Harm's stanza trick; but I like the 
instrumentName method better because it keeps the numbers in 
the same place on every bar and doesn't shift position on 
account of word lengths)

\header {
title = "Instrument Name with Offset Test"
}




verses = \new Voice = "verses" \relative c'' {
\time 4/4
\key c \major
a4 b4 c4 d4 | e4 d4 f2  \bar "||"
}


wordsOne = \new Lyrics  \with{ instrumentName= "1" shortInstrumentName= "1"} \lyricsto "verses" {
 Here are some wo -- rds to sing
}
wordsTwo = \new Lyrics  \with{ instrumentName= "2" shortInstrumentName= "2"} \lyricsto "verses" {
And line up wi -- th them -- selves
}
wordsThree = \new Lyrics  \with{ instrumentName= "3" shortInstrumentName= "3"} \lyricsto "verses" {
See the stanz -- as line up in place
}

\score {
		<<
\new Staff{   \verses }
   \wordsOne
\wordsTwo
   \wordsThree
		>>
	\layout {
		\override Lyrics.LyricText #'extra-offset = #'(2 . 0)%  allows the Lyric text's starting point to be shifted left or right
	}
}



offset test.pdf
Description: Adobe PDF document
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: space the width of key signature

2016-07-04 Thread Br. Gabriel-Marie | SSPX

Uh, (slaps self on forehead).

I forgot this in the layout{}

\keepLineStartStanzaNumbers

That fixes the numbering problem.

On 7/4/2016 4:44 PM, Br. Gabriel-Marie | SSPX wrote:

Okay, fellas, I have a problem with this stanza code then.

When I plug it into my script, this code numbers every 
word as well as every line.
I've attached a minimal example along with the include and 
my pdf output.


Maybe I'm doing it wrong.



\header {  title = "Stanza Test"  }
\include "stanza-number-every-line.ly"

verses = \new Voice = "verses" \relative c' {
\time 4/4
\key c \major
a4 b4 c4 d4 | e2 f2 \bar "||"
}

wordsOne = \new Lyrics  \with \numberLyrics 1 \lyricsto 
"verses" {

 Here are some words to sing
}
wordsTwo = \new Lyrics \with \numberLyrics 2 \lyricsto 
"verses" {

And line up with them -- selves
}
wordsThree = \new Lyrics \with \numberLyrics 3 \lyricsto 
"verses" {

See the stanz -- as line up in place
}

\score { <<
   \new Staff{   \verses }
   \wordsOne
\wordsTwo
   \wordsThree
>>
\layout {}
}




On 7/4/2016 2:15 PM, Thomas Morley wrote:

2016-07-04 18:49 GMT+02:00 Br. Gabriel-Marie | SSPX<brgabr...@sspx.org>:
Gabriel-Marie, attached you'll find the most recent 
coding. It indeed needs a newer devel-version because of 
`ly:item-get-column'-usage David, thanks a lot for your 
research and findings. Your suggestions are all 
implemented leading to geat simplifications. In 
`keep-at-line-begin' I added some fool-proof. Regrettable 
StanzaNumber does not respond correctly for 
'break-visibility... Thanks, Harm 




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


Re: space the width of key signature

2016-07-04 Thread Br. Gabriel-Marie | SSPX

Okay, fellas, I have a problem with this stanza code then.

When I plug it into my script, this code numbers every word 
as well as every line.
I've attached a minimal example along with the include and 
my pdf output.


Maybe I'm doing it wrong.



\header {  title = "Stanza Test"  }
\include "stanza-number-every-line.ly"

verses = \new Voice = "verses" \relative c' {
\time 4/4
\key c \major
a4 b4 c4 d4 | e2 f2 \bar "||"
}

wordsOne = \new Lyrics  \with \numberLyrics 1 \lyricsto 
"verses" {

 Here are some words to sing
}
wordsTwo = \new Lyrics \with \numberLyrics 2 \lyricsto 
"verses" {

And line up with them -- selves
}
wordsThree = \new Lyrics \with \numberLyrics 3 \lyricsto 
"verses" {

See the stanz -- as line up in place
}

\score { <<
   \new Staff{   \verses }
   \wordsOne
\wordsTwo
   \wordsThree
>>
\layout {}
}




On 7/4/2016 2:15 PM, Thomas Morley wrote:

2016-07-04 18:49 GMT+02:00 Br. Gabriel-Marie | SSPX <brgabr...@sspx.org>:
Gabriel-Marie, attached you'll find the most recent 
coding. It indeed needs a newer devel-version because of 
`ly:item-get-column'-usage David, thanks a lot for your 
research and findings. Your suggestions are all 
implemented leading to geat simplifications. In 
`keep-at-line-begin' I added some fool-proof. Regrettable 
StanzaNumber does not respond correctly for 
'break-visibility... Thanks, Harm 


\version "2.19.44"

%% Thanks to David Nalesnik
%% http://lists.gnu.org/archive/html/lilypond-user/2016-07/msg00028.html

#(define create-stanza-number-grob-engraver
;; puts out a StanzaNumber for every LyricText-grob
  (lambda (context)
(let ((stanza (ly:context-property context 'stanza)))
  `((acknowledgers
  (lyric-syllable-interface .
,(lambda (engraver grob source-engraver)
  (let ((new-stanza-grob 
  (ly:engraver-make-grob engraver 'StanzaNumber '(
  (ly:grob-set-property! new-stanza-grob 'text stanza)

#(define (at-line-beginning? grob)
   (let* ((col (ly:item-get-column grob))
  (ln (ly:grob-object col 'left-neighbor))
  (col-to-check (if (ly:grob? ln) ln col)))
 (and (eq? #t (ly:grob-property col-to-check 'non-musical))
  (= 1 (ly:item-break-dir col-to-check)

#(define (keep-at-line-begin grob)
   (if (and (ly:item? grob) (not (at-line-beginning? grob)))
   (ly:grob-suicide! grob)
   grob))

keepLineStartStanzaNumbers =
\layout {
  \context {
  \Lyrics
  \override StanzaNumber.after-line-breaking =
#keep-at-line-begin
  }
}

numberLyrics =
#(define-scheme-function (nmbr)(number?)
"Return a context-modification setting @code{stanza} and consisting 
@code{create-stanza-number-grob-engraver}."
#{
  \with {
stanza = \markup \italic #(format #f "~a." nmbr)
\consists #create-stanza-number-grob-engraver
  }
#})
\header {
title = "Stanza Test"
}

\include "stanza-number-every-line.ly"


verses = \new Voice = "verses" \relative c' {
\time 4/4
\key c \major
a4 b4 c4 d4 | e2 f2 \bar "||"
}


wordsOne = \new Lyrics  \with \numberLyrics 1 \lyricsto "verses" {
 Here are some words to sing
}
wordsTwo = \new Lyrics \with \numberLyrics 2 \lyricsto "verses" {
And line up with them -- selves
}
wordsThree = \new Lyrics \with \numberLyrics 3 \lyricsto "verses" {
See the stanz -- as line up in place
}

\score {
		<<
\new Staff{   \verses }
   \wordsOne
\wordsTwo
   \wordsThree
		>>
	\layout {}
}



Stanza-Test.pdf
Description: Adobe PDF document
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: undo omit

2016-07-04 Thread Br. Gabriel-Marie | SSPX

Thank you.

On 7/4/2016 2:46 PM, Kevin Barry wrote:

\undo \omit Staff.KeySignature


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


undo omit

2016-07-04 Thread Br. Gabriel-Marie | SSPX

How do I undo this?

\omit Staff.KeySignature

Say I set it at the start of the score, how do I re-instate 
it later?


signature = { \time 4/4 \key b \major }
verses = \new Voice = "verses" \relative c' {
\signature
fs4 \omit Staff.KeySignature b4 b4 ...
\break
}

chorus = \new Voice = "chorus" \relative c'' {
\UNDO THE OMISSION HERE
\signature

b4 b4 b4 ...
}

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


Re: Get rid of trailing KeyCancellation

2016-07-04 Thread Br. Gabriel-Marie | SSPX
Thanks - I put that in my \layout block and it worked.  I 
was trying to accomplish it with overrides, but they had no 
effect.


Thank you.

On 7/4/2016 11:49 AM, Kevin Barry wrote:

I'm not sure why it behaves differently, but this is how I accomplish it:

\set Staff.explicitKeySignatureVisibility = #'#(#f #t #t)



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


Re: space the width of key signature

2016-07-04 Thread Br. Gabriel-Marie | SSPX
So, Mr. Harm, I'd like to use your stanza-number-every-line 
but I am running the release version of lilypond: 2.18.2-1 
and your code calls for version 2.19.44.  It won't compile 
using the older lilypond either.


So, the download page only provides version 2.18.2-1.

Where can I get a Windows binary for 2.19.44?

>Meanwhile I tried to make StanzaNumber at every line-begin 
work, see attached. Though, it's stacking workarounds, thus 
pretty expensive. At >least it _is_ possible, even now. 
Maybe someone steps in futher improving it. Cheers, Harm


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


Get rid of trailing KeyCancellation

2016-07-04 Thread Br. Gabriel-Marie | SSPX

Joram,

So, I want to do this in the layout context because I want 
to use it in an include.


It will get rid of the time signature, but I can't get rid 
of the KeyCancellation that appears at the end of the line 
after a \break.  How do I get rid of that?


\override Staff.TimeSignature.break-visibility = 
#end-of-line-invisible
\override Staff.KeyCancellation.break-visibility = 
#end-of-line-invisible


(If someone told me already, I'm sorry if I missed it; email 
conversations are difficult to follow at best, IMHO).


On 7/1/2016 8:19 PM, lilypond-user-requ...@gnu.org wrote:

That works just the same:

\once \override Staff.KeyCancellation.break-visibility =
#end-of-line-invisible

In general a minimal example like this would be good for others to help
you. Something like this:

\relative {
   \key a \major
   \time 3/4
   b4 g'2 \break
   \once \override Staff.TimeSignature.break-visibility =
#end-of-line-invisible
   \once \override Staff.KeyCancellation.break-visibility =
#end-of-line-invisible
   \key c \major
   \time 4/4
   f1
}


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


Re: space the width of key signature

2016-07-04 Thread Br. Gabriel-Marie | SSPX

Thanks for the discussion, fellas,

So, is there an easy way for me to do this?  I only want to 
number every line.

If I use \stanza then it only numbers the first line.
If I use \instrumentName then it numbers correctly, but 
doesn't leave room for the repeating clef.  I can adjust the 
position with


\layout {
\context{ \Lyrics
  \override LyricText #'extra-offset = 
#'(1.2 . 0)

}}

but that causes the top number to overlap the tail of the 
G-clef.


Harm suggested a code he made for fixing stanza - is that 
okay to use?  I was trying to keep up with the coding 
discussion, but am not sure where things stand.


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


Re: space the width of key signature

2016-07-01 Thread Br. Gabriel-Marie | SSPX
Because stanza numbers only appear on the first line.  Using 
instrumentName to label verse numbers provides automatic 
numbering on every line.  It wasn't my idea, actually, 
credit for that goes to Thomas Morley  a few issues ago in 
Vol 163:issue 95.  It works quite well.


On 7/1/2016 1:30 PM, lilypond-user-requ...@gnu.org wrote:

Why not use StanzaNumbers instead of instrumentName to label verse numbers?



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


Re: Remove trailing time-signature

2016-07-01 Thread Br. Gabriel-Marie | SSPX

Well, so this will get rid of the time-signature,

\override TimeSignature.break-visibility = #all-invisible

But I still can't get rid of the three sharps that go with 
the clef.  This keeps on appearing at the end of the line 
and I can't get rid of it.  It seems to persist no matter 
what setting I use.


\override KeySignature.break-visibility = 
#begin-of-line-visible
\override ClefModifier.break-visibility = 
#begin-of-line-visible
\override KeyCancellation.break-visibility = 
#begin-of-line-visible






On 7/1/2016 12:04 PM, Br. Gabriel-Marie | SSPX wrote:

Oh, I got this one too.

\override TimeSignature.break-visibility = #all-invisible

I wouldn't have posted, but I already spent 20 minutes 
trying to figure it out!  Then when I post - voila!  I get it.


Thanks, y'all, for all of your help.

On 7/1/2016 11:59 AM, Br. Gabriel-Marie | SSPX wrote:
During my piece I have a \break which causes the 
time-signature to be inserted at the end of that line, 
but all my music fits onto one small page, so I don't 
want that extra markup.


So how do I suppress the extra time-signature at the end 
of the line?


I found this, but it doesn't seem to do the trick:
\override Score.TimeSignature. = #end-of-line-invisible




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


Re: Remove trailing time-signature

2016-07-01 Thread Br. Gabriel-Marie | SSPX

Oh, I got this one too.

\override TimeSignature.break-visibility = #all-invisible

I wouldn't have posted, but I already spent 20 minutes 
trying to figure it out!  Then when I post - voila!  I get it.


Thanks, y'all, for all of your help.

On 7/1/2016 11:59 AM, Br. Gabriel-Marie | SSPX wrote:
During my piece I have a \break which causes the 
time-signature to be inserted at the end of that line, but 
all my music fits onto one small page, so I don't want 
that extra markup.


So how do I suppress the extra time-signature at the end 
of the line?


I found this, but it doesn't seem to do the trick:
\override Score.TimeSignature. = #end-of-line-invisible


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


Remove trailing time-signature

2016-07-01 Thread Br. Gabriel-Marie | SSPX
During my piece I have a \break which causes the 
time-signature to be inserted at the end of that line, but 
all my music fits onto one small page, so I don't want that 
extra markup.


So how do I suppress the extra time-signature at the end of 
the line?


I found this, but it doesn't seem to do the trick:
\override Score.TimeSignature. = #end-of-line-invisible

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


Re: space the width of key signature

2016-07-01 Thread Br. Gabriel-Marie | SSPX

Ah!  I think I got this one:

 \override LyricText #'extra-offset = #'(0.8 . 0)

This will allow me to add extra space between the numbers 
(which are in the right place) and the start of the lyric text.


On 7/1/2016 10:46 AM, Br. Gabriel-Marie | SSPX wrote:
There is this one song that is in c-minor and so the key 
signature shows the three flat signs at the beginning of 
each staff.


But c-major doesn't need any extra signs.

However, I am numbering my lyrics like this so that I get 
numbers on every line:
\new Lyrics \with { instrumentName = "8." 
shortInstrumentName = "8." }


\context{
\Lyrics
%  Verse numbering using instrumentname
\override InstrumentName.X-offset = 3
\override InstrumentName.font-size = 0
}

This puts my numbering just under the three flat signs in 
c-minor.


But my problem is that in c-major the lyric text overlaps 
the numbers.


So, how can I insert a "blank" in the staff where I'd 
normally have the three flats?  (I'm looking in the docs 
at \staff and horizontal spacing)


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


space the width of key signature

2016-07-01 Thread Br. Gabriel-Marie | SSPX
There is this one song that is in c-minor and so the key 
signature shows the three flat signs at the beginning of 
each staff.


But c-major doesn't need any extra signs.

However, I am numbering my lyrics like this so that I get 
numbers on every line:
\new Lyrics \with { instrumentName = "8." 
shortInstrumentName = "8." }


\context{
\Lyrics
%  Verse numbering using instrumentname
\override InstrumentName.X-offset = 3
\override InstrumentName.font-size = 0
}

This puts my numbering just under the three flat signs in 
c-minor.


But my problem is that in c-major the lyric text overlaps 
the numbers.


So, how can I insert a "blank" in the staff where I'd 
normally have the three flats?  (I'm looking in the docs at 
\staff and horizontal spacing)
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: tiny function

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

Thanks, Mr. Meyn,

That certainly does the trick.

So you can't write macros for \with{} statements?

Why couldn't I do it this way, if I just want to create the 
\with statement?
Where can I find the docs to explain how the macro works?  
(I've looked all over)


verseNumber = #(define-music-function(whatnumber)(string?)#{ 
\with { instrumentName = whatnumber shortInstrumentName = 
whatnumber } #})


On 6/30/2016 4:54 PM, lilypond-user-requ...@gnu.org wrote:

This would have to be \new Lyrics \with { \verseNumber 1 } or, easier to
type, \lyricsWithVerseNumber 1 like in the code below:



\version "2.18.2"

lyricsWithVerseNumber =
#(define-music-function
(parser location number music)
(number? ly:music?)
#{
  \new Lyrics \with {
instrumentName =
#(string-append (number->string number) ".")
shortInstrumentName =
#(string-append (number->string number) ".")
  }
  $music
#})

\lyricsWithVerseNumber 7
\lyricmode { \repeat unfold 40 foo }


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


Re: tiny function

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


I've also tried this, but I get a compiler error for "wrong 
number of arguments", which makes me wonder if I can replace 
whatnumber more than once.


verseNumber = #(define-music-function(whatnumber)(string?)#{
\with { instrumentName = whatnumber shortInstrumentName 
= whatnumber }

#})

On 6/30/2016 3:59 PM, Jeffery Shivers wrote:

In my music script I want to use this:

\new Lyrics \with { instrumentName = "1." 
shortInstrumentName = "1." }


However, I would like to make a function out of it.  I'm 
looking at this page:

http://lilypond.org/doc/v2.18/Documentation/learning/saving-typing-with-variables-and-functions

and this is what I have come up with, but I know this 
isn't right.  Can someone correct this for me?

Basically, I want to do this:
\new Lyrics \verseNumber #1

and have it create this:
\new Lyrics \with { instrumentName = "1." 
shortInstrumentName = "1." }


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


Re: tiny function

2016-06-30 Thread Br. Gabriel-Marie | SSPX
No, I *want* to use instrument names, not stanza numbers.  
But my question isn't about that.


I am trying to figure out how to write a function where I 
can supply the value for a variable inside it.


myfunction(somevar){
;do stuff
}

If were programming in a coding language, I would do this:

addVerseNumber(whatnumber){
return "\new Lyrics \with { instrumentName = whatnumber 
. "." shortInstrumentName = whatnumber . "." }}"

}


On 6/30/2016 3:59 PM, Jeffery Shivers wrote:

Hi Gabriel-Marie,

Could you describe in context what you are trying to 
achieve? Are you meaning to apply *stanza* number, rather 
than instrument names? Have a look at:


http://lilypond.org/doc/v2.19/Documentation/notation/stanzas

HTH,
Jeffery

On Thu, Jun 30, 2016 at 4:37 PM, Br. Gabriel-Marie | SSPX 
<brgabr...@sspx.org <mailto:brgabr...@sspx.org>> wrote:


In my music script I want to use this:

\new Lyrics \with { instrumentName = "1."
shortInstrumentName = "1." }

However, I would like to make a function out of it. 
I'm looking at this page:


http://lilypond.org/doc/v2.18/Documentation/learning/saving-typing-with-variables-and-functions

and this is what I have come up with, but I know this
isn't right.  Can someone correct this for me?
Basically, I want to do this:
\new Lyrics \verseNumber #1

and have it create this:
\new Lyrics \with { instrumentName = "1."
shortInstrumentName = "1." }

verseNumber = #(define-music-function(parser location
whatnumber)( number?) #{  \with { instrumentName =
#whatnumber "." shortInstrumentName = #whatnumber "." } #}




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


tiny function

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

In my music script I want to use this:

\new Lyrics \with { instrumentName = "1." 
shortInstrumentName = "1." }


However, I would like to make a function out of it.  I'm 
looking at this page:

http://lilypond.org/doc/v2.18/Documentation/learning/saving-typing-with-variables-and-functions

and this is what I have come up with, but I know this isn't 
right. Can someone correct this for me?

Basically, I want to do this:
\new Lyrics \verseNumber #1

and have it create this:
\new Lyrics \with { instrumentName = "1." 
shortInstrumentName = "1." }


verseNumber = #(define-music-function(parser location 
whatnumber)( number?) #{  \with { instrumentName = 
#whatnumber "." shortInstrumentName = #whatnumber "." } #}


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


Reducing space between lyric lines

2016-06-28 Thread Br. Gabriel-Marie | SSPX
So, I'm trying to force my music onto one page.  If I can 
reduce the space between lyric lines then I might be able to 
get it.


I've been playing with this override:

\layout{
\context {
\Lyrics
 \override VerticalAxisGroup 
#'minimum-Y-extent = #'(1 . 1.8)

}}

But it doesn't seem to have any effect.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Set Stanza for every staff

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

Thanks you all for your time!  It looks right now!

On 6/28/2016 5:26 PM, lilypond-user-requ...@gnu.org wrote:

\layout {
\context {
  \Lyrics
  \override InstrumentName.X-offset = 2
  \override InstrumentName.font-size = 0
  \override InstrumentName.font-series = #'bold
}
}


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


Re: Set Stanza for every staff

2016-06-28 Thread Br. Gabriel-Marie | SSPX
Well, that does indeed number every line, but it places the 
number outside the borders of the lyric text.  Set Stanza 
made the number inline with the lyrics.




Set Stanza:
   1. lyr- ic

instrumentname
1. lyric

So, I'm trying to fix the alignment.  I'd like to do it in 
the \layout bracket if possible.

I am trying this, but it doesn't do the trick:

\layout{
\context{
\Staff
\override 
Staff.InstrumentName.self-alignment-X = #RIGHT
\override 
Staff.shortInstrumentName.self-alignment-X = #RIGHT

}
}


On 6/28/2016 5:08 PM, Thomas Morley wrote:

\new Lyrics
   \with { instrumentName = "1." shortInstrumentName = "1." }


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


Set Stanza for every staff

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

In my music I have been using
\set stanza = "1. "
to get line numbering for the lyrics.  But this only numbers 
the beginning of the lyric's line.
I can manually insert that to get the numbering to appear 
within the lyric line, but what I need is for it to appear 
at the start of each lyric as it dynamically shifts.


Manually could look like this:
\set stanza = "1. " Bla bla bla \set stanza = "1. " ha ha ha
to get
1. Bla Bla Bla
2. ha ha ha

however, when the music spreads itself across the bars it 
might break differently, creating this:

1. Bla Bla Bla 2. ha
ha ha

So is there a way to make it auto-number the lyric lines?
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Flute Accompaniment

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

Nathan,

That worked like a charm!  Thank you very much!

On 6/26/2016 1:23 PM, Nathan Ho wrote:

Hello,

Try adding the following \with block to your Staff:

\new Staff \with {
  fontSize = #-3
  \override StaffSymbol.staff-space = #(magstep -3)
  \override StaffSymbol.thickness = #(magstep -3)
} {
   % Music follows here
}

it's been a while since I used LilyPond so this knowledge 
might be a bit out of date... I think in the development 
version there's a new way to do this.



Nathan 


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


Flute Accompaniment

2016-06-26 Thread Br. Gabriel-Marie | SSPX
In my piece I have a piano staff with the music on the 
bottom staff. In the upper staff it is supposed to be notes 
for recorder or flute accompaniment.  In the original the 
flute notes and its staff are all a bit smaller in size.  
What do you call those smaller notes?  I want to make the 
entire top staff + the notes just smaller so it is obvious 
to the singers not to try and sing the accompaniment.  How 
do I do that?
___
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 Br. Gabriel-Marie | SSPX
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, lilypond-user-requ...@gnu.org 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


___
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


Re: Vertical justification after \pagebreak

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

Jacques,

I've been playing with this for awhile.
My summary:  I wanted the chorus on one page and the verses 
on page two, so I inserted the \pageBreak.  It made two 
pages, but stretched the score to fit the page by inserting 
space between the staves.  But I wanted the staves to look 
normal on the page.


Funny thing is that neither ragged command does anything
ragged-last-bottom = ##f
ragged-bottom = ##f

However, this line fixes the vertical spacing
system-system-spacing = #'((basic-distance . 0.3) 
(padding . 2) )


But I needed this line to bring the score on the first page 
back to the top
markup-system-spacing = #'((basic-distance . 0.3) 
(padding . 2) )%re-aligns the first page to th top


Not very straightforward, but it works!
Thanks for all of your suggestions.


Here's my score:
\score{
<<
\new Staff {  \chorus \pageBreak \verses }
 \chorusLyrics
\firstVerse
\secondVerse

>>
\layout{}
}
On 6/23/2016 1:35 AM, Jacques Menu Muzhic wrote:

Hello Gabriel-Marie,

Does ragged-*, described in section 4.3.2 Page breakingof 
 the notation reference help you?


JM


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


My apologies for the mess

2016-06-23 Thread Br. Gabriel-Marie | SSPX
Lily Folks, I apologize for my posts yesterday - I don't 
know what I was thinking when I replied to the entire 
list..  But I'm sorry for the mess and I appreciate y'all's 
help.  I'll make sure not to send the list to the list again.

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


Vertical justification after \pagebreak

2016-06-22 Thread Br. Gabriel-Marie | SSPX
In my music, I have the chorus at the top and the verses 
following.  Since my music is longer than one page, it 
overflows to the next.  So, since I'm using two pages, I 
figured I would insert a \pagebreak so that the chorus is on 
page 1 and the verses on page 2.  This works fine, but now 
my problem is that the space between staves is too far and 
it looks funny - as if it were justified vertically.


So, instead of this:
x
x
x

it looks like:







Here's my score:
\score{
<<
\new Staff {  \chorus \pageBreak \verses }
 \chorusLyrics
\firstVerse
\secondVerse

>>
\layout{}
}

Now, I've played with \override 
VerticalAxisGroup.default-staff-staff-spacing, but nothing I 
try there seems to have any effect.


On 6/22/2016 4:48 PM, lilypond-user-requ...@gnu.org wrote:

Send lilypond-user mailing list submissions to
lilypond-user@gnu.org

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.gnu.org/mailman/listinfo/lilypond-user
or, via email, send a message with subject or body 'help' to
lilypond-user-requ...@gnu.org

You can reach the person managing the list at
lilypond-user-ow...@gnu.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of lilypond-user digest..."


Today's Topics:

1. Re:Placement of Chorus for Hymn (BGM)
2. Re:how to get short broken ties (Werner LEMBERG)
3. drawing glissando line with (gliss) as text across line
   (Ryan Michael)
4. Re:Ask about the typesetting of Lilypond (Wilbert Berendsen)
5. Re:drawing glissando line with (gliss) as text across line
   (Thomas Morley)
6. Re:drawing glissando line with (gliss) as text across line
   (Ryan Michael)


--

Message: 1
Date: Wed, 22 Jun 2016 10:09:09 -0700 (MST)
From: BGM 
To: lilypond-user@gnu.org
Subject: Re: Placement of Chorus for Hymn
Message-ID: <1466615349481-191824.p...@n5.nabble.com>
Content-Type: text/plain; charset=us-ascii

Harm - thanks!  That's more like what I imagined.  It lets me keep the chorus
and the verses in separate vars - it's just what I was hoping for.

Thanks for taking the time!



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Placement-of-Chorus-for-Hymn-tp191809p191824.html
Sent from the User mailing list archive at Nabble.com.



--

Message: 2
Date: Wed, 22 Jun 2016 19:25:11 +0200 (CEST)
From: Werner LEMBERG 
To: simon.albre...@mail.de
Cc: lilyp...@maltemeyn.de, lilypond-user@gnu.org
Subject: Re: how to get short broken ties
Message-ID: <20160622.192511.572486292200982367...@gnu.org>
Content-Type: Text/Plain; charset=us-ascii



Note that this is not a theoretical issue.  Especially in French
impressionistic piano music like the works of Debussy and Ravel
I've seen such a notation, and having a `\shortTie' command would
be handy.

See .

Ah, ok, thanks.


 Werner



--

Message: 3
Date: Wed, 22 Jun 2016 13:42:10 -0700
From: Ryan Michael 
To: lilypond-user 
Subject: drawing glissando line with (gliss) as text across line
Message-ID: