Re: Line breaks in any place

2007-04-04 Thread Mats Bengtsson



Joseph Haig wrote:

A couple of other questions.  I am using this to write music that is a
combination of chant and modern notation.  If I use

\include gregorian-init.ly

the spacing for the modern notation gets messed up.  However, I have
got round this by taking a copy of this init file and commenting out
the line

\override SpacingSpanner #'packed-spacing = ##t

How should this be turned on and off manually within the score?


Just insert
\override Timing.SpacingSpanner #'packed-spacing = ##t
to turn it on and
\revert Timing.SpacingSpanner #'packed-spacing
to turn it off again.

Finally (for now), in the 'Bugs' section of section 7.7.10, it says:

Accidentals must not be printed within a ligature, but instead need
to be collected and printed in front of it.

This bug causes the accidental to be printed on top of a note, so it
cannot be seen.  Is there a workaround for this?  Is this fixed in
2.11?

Probably not, there hasn't been much work done related to gregorian
chant notation during the last year.

  /Mats


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


Re: Line breaks in any place

2007-04-04 Thread Joseph Haig

On 04/04/07, Joseph Haig [EMAIL PROTECTED] wrote:

Finally (for now), in the 'Bugs' section of section 7.7.10, it says:

Accidentals must not be printed within a ligature, but instead need
to be collected and printed in front of it.

This bug causes the accidental to be printed on top of a note, so it
cannot be seen.  Is there a workaround for this?  Is this fixed in
2.11?



I think that I have almost, but not quite, got a workaround for this.
I am helped by the fact that the only accidentals that ever occur in
this type of music are b flats and b naturals, and I am choosing to
ignore for the moment that there may be issues with different octaves.
The code I have so far is:

=Begin==
\version 2.10

\include gregorian-init.ly

flt = #(define-music-function (parser location ligature) (ly:music?)
#{
 
   $ligature
   \once \override NoteHead #'transparent = ##t bes!
 
#})

ntrl = #(define-music-function (parser location ligature) (ly:music?)
#{
 
   $ligature
   \once \override NoteHead #'transparent = ##t b!
 
#})

\score {
 
   \context VaticanaVoice = chanta \relative c' {
 \flt {
   \[ \virga c \melisma \inclinatum bes \inclinatum a \melismaEnd \]
 }
 \ntrl {
   \[ \virga c \melisma \inclinatum b \inclinatum a \melismaEnd \]
 }
 \finalis
   }
   \context Lyrics = wordsa \lyricsto chanta {
 One Two
   }
 
}
==End===

The \flt and \ntrl functions print a flat and natural in front of an
invisible note which is in the same space as the notes that are to be
printed.  However, the first of these appears to be invisible as well.
I have tried using \\ like in the 3rd example in section 5.3 of the
manual, but this seems to revert the music to modern notation.  Can
anyone please suggest what I am missing?

Thanks,

Joe


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


Line breaks in any place

2007-04-03 Thread Joseph Haig

Is it possible to allow line breaks at any point, not just at bar
lines?  I know I can add \bar  but I would like it to be done
automatically if possible.

Thank,

Joe


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


Re: Line breaks in any place

2007-04-03 Thread Mats Bengtsson

One possibility is to use
\set Timing.barAlways = ##t
\set Timing.defaultBarType = 
See the example called bar-always.ly in the Tips and Tricks
document. Of course, this means that you have to manually
add the true bar lines where you want them (if you want
regular time, that's easily done using
\repeat unfold 20 {s1 \bar | }
in parallel to the ordinary music).

  /Mats

Joseph Haig wrote:


Is it possible to allow line breaks at any point, not just at bar
lines?  I know I can add \bar  but I would like it to be done
automatically if possible.

Thank,

Joe


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




--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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