Time Signatures separate staff - LSR 272

2008-06-23 Thread Mark Knoop
I'm creating a separate staff for time signatures using the method
described in LSR272 [1]. It works well, except for the case where any
voice has a clef change at a barline. Then the time signature centre
aligns itself with the left edge of the clef instead of the barline.
This can be fixed by setting the break-align-symbol to staff-bar instead
of false, but then the time signature seems to reserve extra space
between the clef and the barline, pushing the clef to the left too far. 

Any ideas to get around this? I'm using 2.11.49.

1. http://lsr.dsi.unimi.it/LSR/Item?id=272



-- 
Mark Knoop
\layout{
 \context {
   \type "Engraver_group"
   \consists "Time_signature_engraver"
   \consists "Axis_group_engraver"
   \name "TimeSig"
   \override TimeSignature #'font-size = #3
   \override TimeSignature #'break-align-symbol = ##f
   \override TimeSignature #'X-offset =
   #ly:self-alignment-interface::x-aligned-on-self
   \override TimeSignature #'self-alignment-X = #0
   \override TimeSignature #'after-line-breaking = #shift-right-at-line-begin
 }
 \context {
   \Score \accepts TimeSig
 }
 \context { \Staff
   \remove "Time_signature_engraver"
 }
 ragged-right = ##f
}

timeSignatures = { 
\time 2/4 s2 
\time 3/4 s2. 
\override TimeSig.TimeSignature #'break-align-symbol = #'staff-bar
\time 4/4 s1 }

\score {
  << \new TimeSig \timeSignatures
 \new Staff \relative { c'2 \clef tenor c2. \clef treble c1 }
 \new Staff { a2 a2. a1}
  >>
}


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


Re: Vertical stretching of groups

2008-06-23 Thread Reinhold Kainhofer
Am Sonntag, 22. Juni 2008 schrieben Sie:
> So, maybe I'm too naive about the LP internals to discuss this one,
> but it seems like the current LP structure is close to providing what
> Reinhold describes, at least within systems of music. Currently, the
> keep-fixed-while-stretching property can be used to exclude a staff or
> group of staves from all vertical stretching. Instead of a boolean
> 'to-stretch-or-not-to-stretch' for each vertical space we could have a
> floating point that describes the relative stretchiness of each
> element in the system.

Actually, this is the "easy" part of the problem (although using a setting to 
change the spacing BEFORE a staff will be quite complicated, because the 
first staff of a group will have a different spacing than the other staves of 
the system; The first staff will use the stretching of the group' parent 
group, while the remaining staves will use the stretching of the group 
itself - so the stretching should not be done at staff-level, but rather at 
group level).

The larger problem is that currently lilypond's idea of "equal" stretching is 
to insert the same amount of white space between all staves, irrespective of 
the staff's skyline. In professional scores, however, equal stretching of 
staves means that the staff lines are almost equally spaced, which means that 
the amount of inserted whitespace varies depending on the skyline.

As long as the skylines are symmetric and almost equal, that problem is hardly 
noticable. But as soon as the skylines are asymmetric, lilypond will produce 
very uneven spacing. Attached is an example, where the first page uses no 
stretching at all. If you would now stretch that system manually, you would 
insert much more space between the second and third staff so that the staves 
are almost equally spaced. Lilypond, however, inserts the same amount of 
whitespace between all three staves (see the second page of the sample file), 
which makes the staves appear unevenly spaced.

It's basically the same problem as vertical text layout, where you can either 
insert the same amount of whitespace between the outlines of the text, or use 
equal spacing of the baselines. The first of what lilypond currently does 
with staves, while the second one is what should be done (and what lilypond 
does correctly with text).

Cheers,
Reinhold

-- 
--
Reinhold Kainhofer, Vienna University of Technology, Austria
email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/


equal_spacing.pdf
Description: Adobe PDF document
  \paper {
ragged-right = ##f
ragged-bottom = ##f
ragged-last-bottom = ##f
  }

\new Score {
  \new StaffGroup 
  <<
\new Staff \relative c, { \clef "bass" g1\f c'1 }
\new Staff \relative c' { \clef "bass" c1 c,1 }
\new Staff \relative c { \clef "bass" c1 c1 }
  >>
}
\pageBreak

\new Score \with
{
  \override VerticalAlignment #'max-stretch = #8
}
  \new StaffGroup 
  <<
\new Staff \relative c, { \clef "bass" g1\f c'1 }
\new Staff \relative c' { \clef "bass" c1 c,1 }
\new Staff \relative c { \clef "bass" c1 c1 }
  >>
}

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


Vertical Collision

2008-06-23 Thread Jeffrey Vos

Hopefully someone can help me with this.

I'm pretty new at using LilyPond, but I'm trying to engrave some of my
marching band music using it. I have a tuplet with a marcato marking
underneath, and I cannot figure out how to keep the marcato marking from
colliding with the tuplet. I've included a trimmmed down version of the code
below and any help or suggestions would be greatly appreciated. Thank you.

\relative c {
  \clef bass
  \time 4/4
a'2->\ff \times 2/3 {a4_\markup { \italic marcato } a a}
g2 g
f \times 2/3 {f4 f f}
g2 g \bar "||"
a8-^ r c,--\mf d->~ d2
}
-- 
View this message in context: 
http://www.nabble.com/Vertical-Collision-tp18057715p18057715.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


Re: Vertical Collision

2008-06-23 Thread Risto Vääräniemi
Hi Jeffrey,

2008/6/22 Jeffrey Vos:

> I'm pretty new at using LilyPond, but I'm trying to engrave some of my
> marching band music using it. I have a tuplet with a marcato marking
> underneath, and I cannot figure out how to keep the marcato marking from
> colliding with the tuplet. I've included a trimmmed down version of the code
> below and any help or suggestions would be greatly appreciated. Thank you.

With 2.11.49 the markup does not collide with the tuplet bracket. With
2.10 you could try increasing the padding of the markup.

%%% Begin %%%
\version "2.10.33"

\paper { ragged-right = ##t }

\relative c' {
 \clef bass
 \time 4/4
   a2 \times 2/3 {\once \override TextScript #'padding = #2
   a4_\markup { \italic marcato } a a}
}
%%% END %%%

-Risto


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


Re: Lilypond on OSX

2008-06-23 Thread Ivo Bouwmans

Hallo Steve,

I can totally live without the gui.  If the only thing is I have to run 
the command line PPC version, I can live with the long load time.  


You might want to try one of the alternatives on 
 (there's a link to this page 
on the LP download page).

--
Vriendelijke groeten,  =  Best wishes,  =  Afablajn salutojn,

Ivo


www.ivo.bouwmans.name



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


Lilypond-LaTeX on Mac OS X (TeXShop & Lilypond 2.11.x)

2008-06-23 Thread Kieren MacMillan

Hello all,

Has anyone been able to get Lilypond-LaTeX to work on Mac OS X since  
'--psfonts' was deprecated (2.11.xx)?

I'd appreciate hints on how to get it going again...

Thanks,
Kieren.


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


Re: Lilypond-LaTeX on Mac OS X (TeXShop & Lilypond 2.11.x)

2008-06-23 Thread Kieren MacMillan

Hi all,

I've almost got it going, but I keep getting the error

global name 'set' is not defined

Any hints would be appreciated.
Kieren.


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


Is my approach sane?)

2008-06-23 Thread Patrick Horgan
I've long wanted the mutopia O Magnum Mysterium transcribed by Jeff 
Covey with apparently much help from jcn to build with any current 
version of lilypond.  With the help of the excellent new documentation 
and several of the people here I have it working fairly well.  I want it 
to print the choral staff followed by each of the individual parts.  I 
found that I could throw in a new \score for each part and it works, 
but--is it wacky?  Is there a better way to do it?  I started with 
something quite old using the old style of lyrics and fear that I should 
have changed things more rather than less.  A vastly simplified version 
follows to illustrate what I'm doing in the first 9 bars:


\paper { set-paper-size = "letter" ragged-bottom = ##t }
\version "2.11.49"

global =  { \key aes \major \time 4/4 }

sopranoMelody =  \relative c'' {
   c1 f,2 c' ~ c4 c des des c2 r4
   f des ees f4. f8 f4 c des  c ~
   ( c8[ bes aes g aes bes c aes]  bes[ aes]  aes[ g16 f] g2 ~ g ) f
}

altoMelody =  \relative c' {
   r1 r2 f2 ~ f bes, f'2. f4 ges ges f2 r4
   f des ees f4. f8 f4 c des f2 ( e8[ d] e2 ) f
}

tenorMelody =  \relative c' {
   R1*7 r2 c2 ~ c f,2
}

sopranoLyrics = \lyricmode {
   O ma -- gnum __ my -- ste -- ri -- um
}

altoLyrics = \lyricmode {
   O _ma  -- gnum my -- ste -- ri -- um
   et ad -- mi -- ra -- bi -- le sa -- cra -- men -- tum,
}

tenorLyrics = \lyricmode { O _ma }

sopranoTotal = \simultaneous {
   \new Staff = "soprano" {
   \set Staff.instrumentName = "Soprano"
   \clef "violin"
   \new Voice="soprano"<< \global \sopranoMelody >>
   }
   \context Lyrics = soprano \lyricsto soprano \sopranoLyrics
}

altoTotal = \simultaneous {
   \new Staff = "alto" {

   \set Staff.instrumentName = "Alto"
   \clef "violin"
   \context Voice=alto<< \global \altoMelody >>
   }
   \context Lyrics = alto \lyricsto alto \altoLyrics
}

tenorTotal = \simultaneous {
   \new Staff = "tenor" {
   \set Staff.instrumentName = "Tenor"
   \clef "violin_8"
   \context Voice=tenor<< \global \tenorMelody >>
   }
   \context Lyrics = tenor \lyricsto tenor \tenorLyrics
}

\score { \new ChoirStaff = "choir" << \sopranoTotal \altoTotal 
\tenorTotal >> }


\pageBreak

\score { \sopranoTotal \layout{ } }

\pageBreak

\score { \altoTotal \layout{ } }

\pageBreak

\score { \tenorTotal \layout{ \context { \Score skipBars = ##t } } }
% EOF


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


Re: Is my approach sane?)

2008-06-23 Thread Trevor Daniels


Hi Patrick

Yes, a new \score is the easiest way to introduce a different staff 
arrangement.


Trevor

- Original Message - 
From: "Patrick Horgan" <[EMAIL PROTECTED]>

To: "Mailinglist lilypond-user" 
Sent: Monday, June 23, 2008 10:45 PM
Subject: Is my approach sane?)


I've long wanted the mutopia O Magnum Mysterium transcribed by Jeff Covey 
with apparently much help from jcn to build with any current version of 
lilypond.  With the help of the excellent new documentation and several of 
the people here I have it working fairly well.  I want it to print the 
choral staff followed by each of the individual parts.  I found that I 
could throw in a new \score for each part and it works, but--is it wacky? 
Is there a better way to do it?  I started with something quite old using 
the old style of lyrics and fear that I should have changed things more 
rather than less.  A vastly simplified version follows to illustrate what 
I'm doing in the first 9 bars:


\paper { set-paper-size = "letter" ragged-bottom = ##t }
\version "2.11.49"

global =  { \key aes \major \time 4/4 }

sopranoMelody =  \relative c'' {
   c1 f,2 c' ~ c4 c des des c2 r4
   f des ees f4. f8 f4 c des  c ~
   ( c8[ bes aes g aes bes c aes]  bes[ aes]  aes[ g16 f] g2 ~ g ) f
}

altoMelody =  \relative c' {
   r1 r2 f2 ~ f bes, f'2. f4 ges ges f2 r4
   f des ees f4. f8 f4 c des f2 ( e8[ d] e2 ) f
}

tenorMelody =  \relative c' {
   R1*7 r2 c2 ~ c f,2
}

sopranoLyrics = \lyricmode {
   O ma -- gnum __ my -- ste -- ri -- um
}

altoLyrics = \lyricmode {
   O _ma  -- gnum my -- ste -- ri -- um
   et ad -- mi -- ra -- bi -- le sa -- cra -- men -- tum,
}

tenorLyrics = \lyricmode { O _ma }

sopranoTotal = \simultaneous {
   \new Staff = "soprano" {
   \set Staff.instrumentName = "Soprano"
   \clef "violin"
   \new Voice="soprano"<< \global \sopranoMelody >>
   }
   \context Lyrics = soprano \lyricsto soprano \sopranoLyrics
}

altoTotal = \simultaneous {
   \new Staff = "alto" {

   \set Staff.instrumentName = "Alto"
   \clef "violin"
   \context Voice=alto<< \global \altoMelody >>
   }
   \context Lyrics = alto \lyricsto alto \altoLyrics
}

tenorTotal = \simultaneous {
   \new Staff = "tenor" {
   \set Staff.instrumentName = "Tenor"
   \clef "violin_8"
   \context Voice=tenor<< \global \tenorMelody >>
   }
   \context Lyrics = tenor \lyricsto tenor \tenorLyrics
}

\score { \new ChoirStaff = "choir" << \sopranoTotal \altoTotal \tenorTotal 
 >> }


\pageBreak

\score { \sopranoTotal \layout{ } }

\pageBreak

\score { \altoTotal \layout{ } }

\pageBreak

\score { \tenorTotal \layout{ \context { \Score skipBars = ##t } } }
% EOF


___
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


Re: Lilypond-LaTeX on Mac OS X (TeXShop & Lilypond 2.11.x)

2008-06-23 Thread Graham Percival
See
http://lists.gnu.org/archive/html/lilypond-devel/2008-03/msg00216.html

Cheers,
- Graham

On Mon, 23 Jun 2008 15:58:34 -0400
Kieren MacMillan <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> I've almost got it going, but I keep getting the error
> 
>  global name 'set' is not defined
> 
> Any hints would be appreciated.
> Kieren.
> 
> 
> ___
> 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


Re: The LilyPond Report: a new weekly opinion column about Lily's world

2008-06-23 Thread Valentin Villenave
Greetings everybody,

A new issue is out:

http://valentin.villenave.info/The-LilyPond-Report-13

This week we'll talk a bit more about how Free Software, and
particularly LilyPond, is developed, evolves, and ends up having a
life of its own. We'll also talk 3D gaming, spectacular
visualizations, but also visual impairments and music robots. As
always, you can post your comments at the bottom of the page, or even
register and contribute to the LilyPond Report's next issues.

Cheers,
Valentin


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


Re: Lilypond-LaTeX on Mac OS X (TeXShop & Lilypond 2.11.x)

2008-06-23 Thread Kieren MacMillan

Graham:


See
http://lists.gnu.org/archive/html/lilypond-devel/2008-03/msg00216.html


Thanks! Changing lilypond-book to start with

#!/usr/bin/env python

seems to fix the problem when lilypond-book is called (manually) from  
the command line...


But I still get the same problem (as seen in my TeXShop log file)  
when using TeXShop -- any ideas how I can force Python 2.5 to always  
be used, regardless of whence its called?


Thanks,
Kieren.


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


Re: Lilypond-LaTeX on Mac OS X (TeXShop & Lilypond 2.11.x)

2008-06-23 Thread Graham Percival
On Mon, 23 Jun 2008 22:31:06 -0400
Kieren MacMillan <[EMAIL PROTECTED]> wrote:

> Graham:
> 
> > See
> > http://lists.gnu.org/archive/html/lilypond-devel/2008-03/msg00216.html
> 
> Thanks! Changing lilypond-book to start with
> 
>  #!/usr/bin/env python
> 
> seems to fix the problem when lilypond-book is called (manually)
> from the command line...
> 
> But I still get the same problem (as seen in my TeXShop log file)  
> when using TeXShop -- any ideas how I can force Python 2.5 to always  
> be used, regardless of whence its called?

You could change your path, or change the
/location/of/correct/python in lilypond-book to point to the
appropriate location.

Cheers,
- Graham


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