Re: A weird spacing problem

2020-06-03 Thread Gregory Hollands
Robert,

For what it's worth, the following code runs without spacing issues on
2.18.2
Note that I commented out one of the overrides.

-Greg

%
\version "2.18.2"

PartPOneVoiceOne = {
\clef "treble"
\key c \major
\time 3/4
fis'8) c''8\rest  \override NoteColumn #'force-hshift = #-2.5  fis'!2|
fis'!2.^~|
fis'8 [\override NoteColumn #'force-hshift = #-1 f'!8 ] d'2|
}

PartPOneVoiceTwo = {
\clef "treble"
\key c \major
\time 3/4
8 d'8 \rest  < d' f'! >4 _(< c' es'! >4 |
\override NoteColumn #'force-hshift = #-2.5 4 c'4 b4_~)|
b2.|
}

PartPTwoVoiceOne = {
\clef "bass"
\key c \major
\time 3/4
\once \override NoteColumn.X-offset = #-4 \stemDown  8 e8 \rest < es
fis a >2|
\once \override NoteColumn.X-offset = #-4 \stemUp f4 a4 gis4|
s2.|
}

PartPTwoVoiceTwo = {
\clef "bass"
\key c \major
\time 3/4
<< \stemDown {8 d8 \rest s4 } \\ { a8 s8 2 } >> |
%\override NoteColumn #'force-hshift = #-5
es2.|
\override NoteColumn #'force-hshift = #-2 \stemDown < es g >2.|
}

\score {
\new PianoStaff \with {
\override VerticalAxisGroup.staff-staff-spacing = #'((basic-distance . 12))
connectArpeggios = ##t
}
<<
\new Staff = "upper" <<
\new  Voice = "PartPOneVoiceOne"  \PartPOneVoiceOne
\new Voice = "PartPOneVoiceTwo"  \PartPOneVoiceTwo
>>

\new Staff = "lower" <<
\new Voice = "PartPTwoVoiceOne"  \PartPTwoVoiceOne
\new  Voice = "PartPTwoVoiceTwo" \PartPTwoVoiceTwo
>>
>>
}
%


Hi Valentin,
> Thanks for your interest in my problem
> The piece, as you can see in the screenshot, is a piano score with two
> voices in each staff and occasionally a third voice by << { } \\ { } >> or
> \partcombine.
> I triple-checked my source code, first by hiding successively each voice,
> and see what happens, and then to comment out and successively reopen all
> lines, 55 in each voice,  in my score. Compared with the original
> everything is OK except the passage (only 3 bars) shown in the screenshot.
> Thereafter, in the last 7 bars of the piece everything is again perfect.
>
> Overall there are several instances where I needed "\once \override
> NoteColumn #'force-hshift = #x" , and a few "\once\override
> NoteColumn.X-offset = #x”.
> I use LilyPond 2_19_83-1 with TeXShop as the editor. Usually it works
> perfectly.
> I include the problematic part of the score. It is certainly not a *M*WE
> but it works for me and it shows the problem. It also shows that its origin
> does not ly in the previous bars.
> Thanks again for your interest.
> Best regards,
> Robert
>
>
> On 3 Jun 2020, at 14:14, Valentin Villenave 
> wrote:
> On 6/3/20, Robert Blackstone  wrote:
> Hi Robert,
> Unless you post some code, it’s gonna be difficult to help you. You
> should first double check your source files in case there’s some
> \override affecting the DotColumn object somewhere?
> Cheers,
> -- V.


I’m vainly struggling with a weird spacing problem


Re: A weird spacing problem

2020-06-03 Thread Valentin Villenave
On 6/3/20, Mark Stephen Mrotek  wrote:
> When I set piano four part I let Lilypond do all the work.

Hear hear! (Even for more than four parts, btw.)

> I have taken the liberty of recoding the section using four-part voicing.

Yeah, so did I!  That sure was tempting wasn’t it? :-)

Cheers,
-- V.



Re: A weird spacing problem

2020-06-03 Thread Valentin Villenave
On 6/3/20, Robert Blackstone  wrote:
> Overall there are several instances where I needed "\once \override
> NoteColumn #'force-hshift = #x" , and a few "\once\override
> NoteColumn.X-offset = #x”.

Ouch.  That’s pretty brutal.  May I ask why you felt the need to use
all these?  This alters drastically the layout, and basically amounts
to force your own spacing decisions onto LilyPond’s.

Frankly, I’ve written (and transcribed) very complex piano scores, and
not once have I needed to mess with Lily’s own idea of where the
NoteColumn objects should begin and end; of course \voiceThree and
\voiceFour internally rely on that, but with some fairly sane (and
tame) predefined values.  If you need some non-standard alignments,
I’d recommend using the simplest of tricks like invisible rests and
duration multipliers instead:



upperI = \relative {
  fis'8 r fis2 fis2.~ fis8 f d2
}

upperII = \relative {   
  8 r s32 4*15/16( 
  s4*3/4  c b)~ 2.
}

lowerI = \relative {
  \oneVoice 8 r 2
  \voiceOne s4*3/4 f a gis s2.
}

lowerII = \relative {
  s2. es 
}

\new PianoStaff <<
  \accidentalStyle PianoStaff.neo-modern
  \new Staff = "up" <<
\time 3/4
\new Voice { \voiceOne \upperI }
\new Voice { \voiceTwo \upperII }
  >>
  \new Staff = "dn" <<
\clef bass
\new Voice { \voiceOne \lowerI }
\new Voice { \voiceTwo \lowerII }
  >>
>>

\layout { \context { \Staff \consists #Merge_rests_engraver } }



Cheers,
-- V.



Re: A weird spacing problem

2020-06-03 Thread Thomas Morley
Am Mi., 3. Juni 2020 um 19:27 Uhr schrieb Robert Blackstone
:
>
> Hi Valentin,
>
> Thanks for your interest in my problem
>
> The piece, as you can see in the screenshot, is a piano score with two voices 
> in each staff and occasionally a third voice by << { } \\ { } >> or 
> \partcombine.
> I triple-checked my source code, first by hiding successively each voice, and 
> see what happens, and then to comment out and successively reopen all lines, 
> 55 in each voice,  in my score. Compared with the original everything is OK 
> except the passage (only 3 bars) shown in the screenshot. Thereafter, in the 
> last 7 bars of the piece everything is again perfect.
>
> Overall there are several instances where I needed "\once \override 
> NoteColumn #'force-hshift = #x" , and a few "\once\override 
> NoteColumn.X-offset = #x”.
>
> I use LilyPond 2_19_83-1 with TeXShop as the editor. Usually it works 
> perfectly.
>
> I include the problematic part of the score. It is certainly not a MWE but it 
> works for me and it shows the problem. It also shows that its origin does not 
> ly in the previous bars.
>
> Thanks again for your interest.
>
> Best regards,
> Robert
>
>
>
> On 3 Jun 2020, at 14:14, Valentin Villenave  wrote:
>
> On 6/3/20, Robert Blackstone  wrote:
>
> I’m vainly struggling with a weird spacing problem
>
>
> Hi Robert,
> Unless you post some code, it’s gonna be difficult to help you. You
> should first double check your source files in case there’s some
> \override affecting the DotColumn object somewhere?
>
> Cheers,
> -- V.
>
>

Hi Robert,

there are a lot unrelated warnings cluttering the log.
I'd not use pitched rests but normal rests with an override for
staff-position. Also, \voiceXxx
Though, that's unrelated.

The culprit seems to be your
\override NoteColumn.X-offset = #-4
(and some forgotten(?) \once ... )

A minimal would be:
<< { \once \override NoteColumn.X-offset = #-4 d'2. } { \voiceThree b4 } >>

The negative X-offset will push all other stuff to the left including the dots.


Cheers,
  Harm



Makes no sense to me



RE: A weird spacing problem

2020-06-03 Thread Mark Stephen Mrotek
Robert,

 

When I set piano four part I let Lilypond do all the work.

I have taken the liberty of recoding the section using four-part voicing.

 

Mark

 

From: lilypond-user [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] 
On Behalf Of Robert Blackstone
Sent: Wednesday, June 3, 2020 10:27 AM
To: Valentin Villenave 
Cc: Lilypond-User Mailing List 
Subject: Re: A weird spacing problem

 

Hi Valentin, 

 

Thanks for your interest in my problem

 

The piece, as you can see in the screenshot, is a piano score with two voices 
in each staff and occasionally a third voice by << { } \\ { } >> or 
\partcombine.

I triple-checked my source code, first by hiding successively each voice, and 
see what happens, and then to comment out and successively reopen all lines, 55 
in each voice,  in my score. Compared with the original everything is OK except 
the passage (only 3 bars) shown in the screenshot. Thereafter, in the last 7 
bars of the piece everything is again perfect.

  

Overall there are several instances where I needed "\once \override NoteColumn 
#'force-hshift = #x" , and a few "\once\override NoteColumn.X-offset = #x”.

 

I use LilyPond 2_19_83-1 with TeXShop as the editor. Usually it works perfectly.

 

I include the problematic part of the score. It is certainly not a MWE but it 
works for me and it shows the problem. It also shows that its origin does not 
ly in the previous bars.

 

Thanks again for your interest.

\version "2.19.49"

\header {
}

\new PianoStaff <<
   \new Staff = "upper" <<
 \time 3/4
 \key c \major
 \new Voice = "soprano"
 { \voiceOne \relative c'' {
   fis,8 r
   \once \override NoteColumn.force-hshift = #2.2
   \once \override Accidental.X-extent = #'(1 . 0)
   \once \override Accidental.extra-offset = #'(3 . 0)
   fis!2 |
   fis2.~ | fis8 f d2 |
   }
 }
 
 \new Voice = "alto"
 { \voiceTwo \relative c'' {
   8 r
   
   4 ( |
c b~) | b2. |
}
 }  
 
   >>
   \new Staff = "lower" <<
 \time 3/4
 \key c \major
 \clef bass
 \new Voice = "tenor"
 { \voiceOne \relative c {
   s2. | f4 a gis | s2. |
}
 }
 
 \new Voice = "bass"
 { \voiceTwo \relative c {
   8 d\rest 2 |
   ees2. |  |
   }
   
 }
   >>

 >>
 
\layout {
 indent = #0
   }


%{
convert-ly.py (GNU LilyPond) 2.19.80  convert-ly.py: Processing `'...
Applying conversion: 2.19.2, 2.19.7, 2.19.11, 2.19.16, 2.19.22,
2.19.24, 2.19.28, 2.19.29, 2.19.32, 2.19.40, 2.19.46, 2.19.49
%}


%{
convert-ly.py (GNU LilyPond) 2.19.80  convert-ly.py: Processing `'...
Applying conversion: The document has not been changed.
%}


Re: A weird spacing problem

2020-06-03 Thread Robert Blackstone
Hi Valentin, Thanks for your interest in my problemThe piece, as you can see in the screenshot, is a piano score with two voices in each staff and occasionally a third voice by << { }  \\ {  } >> or \partcombine.I triple-checked my source code, first by hiding successively each voice, and see what happens, and then to comment out and successively reopen all lines, 55 in each voice,  in my score. Compared with the original everything is OK except the passage (only 3 bars) shown in the screenshot. Thereafter, in the last 7 bars of the piece everything is again perfect.  Overall there are several instances where I needed "\once \override NoteColumn #'force-hshift = #x" , and a few "\once\override NoteColumn.X-offset = #x”.I use LilyPond 2_19_83-1 with TeXShop as the editor. Usually it works perfectly.I include the problematic part of the score. It is certainly not a MWE but it works for me and it shows the problem. It also shows that its origin does not ly in the previous bars.Thanks again for your interest.

Horizontal-spacing-problem_ly.tex
Description: Binary data
Best regards,RobertOn 3 Jun 2020, at 14:14, Valentin Villenave  wrote:On 6/3/20, Robert Blackstone  wrote:I’m vainly struggling with a weird spacing problemHi Robert,Unless you post some code, it’s gonna be difficult to help you. Youshould first double check your source files in case there’s some\override affecting the DotColumn object somewhere?Cheers,-- V.

Re: A weird spacing problem

2020-06-03 Thread Valentin Villenave
On 6/3/20, Robert Blackstone  wrote:
> I’m vainly struggling with a weird spacing problem

Hi Robert,
Unless you post some code, it’s gonna be difficult to help you. You
should first double check your source files in case there’s some
\override affecting the DotColumn object somewhere?

Cheers,
-- V.



A weird spacing problem

2020-06-03 Thread Robert Blackstone
Dear all,

I’m vainly struggling with a weird spacing problem that I’ve never seen before: 
the dot belonging to, for instance, c’2. is widely separated from the note 
itself. (See screenshot).
In this section the horizontal note spacing  is also rather capricious. ( \time 
3/4 for the entire piece. No problems until bar 46 - and after bar 49 unti the 
end (bar 55 )

I’ve no idea what could have caused this.

And I’ll be very grateful for any suggestion.

Best regards, 

Robert Blackstone 





Re: A spacing problem

2019-07-05 Thread Andrew Bernard
Hi Robert,

That's really interesting. You use a TeX editor for lilypond, presumably
for syntax highlighting and checking? I had some vague idea lilypond was
loosely based on TeX in the original days, but I did not think it is
compatible now. I though the '\' notation was the only surviving
archaeological DNA fragment.

I use vim with point and click in Ubuntu. When you get it all up and
running and add snippet packages and so on, it is a pleasure to use. As a
long time emacs user, I find the present emacs lilypond mode is very buggy
and effectively unusable, for me anyway, and messes up indenting quite
badly. A pity. Although I have used emacs forever, I have never spent time
coding emacs, so it's not really my area to fix it. With a little love from
some kind developer, that would also e a very good environment.

On your point re compiling - Frescobaldi is not compiling, it's lilypond.
So that is a curious thing. Perhaps you lilypond command settings in
Frescobaldi are different to what you set up in TeXShop.

Andrew


On Fri, 5 Jul 2019 at 23:00, Robert Blackstone 
wrote:

>
> BTW, I use TeXShop for my input and I am very happy with it. For several
> reasons I never liked Frescobaldi. TeXShop  accepts my little tricks and It
> is more forgiving than Frescobaldi. As an example, the present
> “problem-score” is compiled by TeXShop in a few seconds. Frescobaldi does
> not compile it at all for some error that I don’t understand and which
> TeXShop ignores.
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: A spacing problem

2019-07-05 Thread Robert Blackstone
Hi Andrew,

Thanks for your comment and advice.

Am I using barchecks on every bar? Yes, I do.  Every bar in my score ends with 
| followed by the bar-number . (For example : g’1 |%P1V1-5) 

BTW, I use TeXShop for my input and I am very happy with it. For several 
reasons I never liked Frescobaldi. TeXShop  accepts my little tricks and It is 
more forgiving than Frescobaldi. As an example, the present “problem-score” is 
compiled by TeXShop in a few seconds. Frescobaldi does not compile it at all 
for some error that I don’t understand and which TeXShop ignores. 

In the present case the console in TeXShop gives a lot of warnings about 
missing barchecks but these warnings exclusively concern the lyrics. They don’t 
affect the compilation of the score.
When I comment out the Lyrics Voice in the score the problem is still there, in 
one bar only (I could solve the three others by adding and/or displacing line 
breaks.)  

Anyway, thanks again for your interest in my problem.

Best regards,
Robert Blackstone 





> On 5 Jul 2019, at 10:22 , Andrew Bernard  wrote:
> 
> Hi Robert, I know this is like computer phone support asking you if the modem 
> is plugged in and turned out, but are you using barchecks on every bar? Saves 
> a multitude of problems.
> 
> May I make the polite suggestion that it is very often, in my experience, the 
> act of making an MWE, even if difficult, that many times resolves the problem 
> for you? Or at least a binary chop approach?
> 
> You could mail me the score if it is not secret and I will look at it for you 
> also.
> 
> 
> Andrew
> 
> 


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


Re: A spacing problem

2019-07-05 Thread Andrew Bernard
Hi Robert, I know this is like computer phone support asking you if the
modem is plugged in and turned out, but are you using barchecks on every
bar? Saves a multitude of problems.

May I make the polite suggestion that it is very often, in my experience,
the act of making an MWE, even if difficult, that many times resolves the
problem for you? Or at least a binary chop approach?

You could mail me the score if it is not secret and I will look at it for
you also.


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


Re: A spacing problem

2019-07-05 Thread Robert Blackstone
Hi Ben,
Thanks for your quick response.
And my apologies for my late reaction.

I would have included an MWE if I had believed that I could somehow demonstrate 
the problem with it, but I'm convinced that it is sort of a mass action inside 
my score.

I could perhaps have sent you the complete score but I don’t think that’s a 
good idea. To give some impression: here is a brief description:  Upper staff a 
vocal Voice with Lyrics, Lower staff a Bass Voice with BC-figures.  \time 4/4 
with a few changes to 8/4. Somewhere  down the stretch of it I had to add for 
two adjacent bars a third voice in the bass line. The score has 82 bars in four 
sections, the first three ending with a double bar-line, the final one with the 
usual  \bar “|.” .

After sending my question to the list I continued my trouble-shooting and I 
succeeded in getting rid of 3 of my 4 problem-spots by introducing and/or some 
line breaks.
The remaining one has resisted my efforts till now.

Best regards,
Robert Blackstone 

> On 4 Jul 2019, at 13:58 , Ben  <mailto:soundsfromso...@gmail.com>> wrote:
> 
> On 7/4/2019 7:45 AM, Robert Blackstone wrote:
>> Dear all,
>> 
>> Presently I’m vainly struggling with a nasty spacing problem: an empty 
>> fragment of a new bar sticking out of the last bar of a system. 
>> Dear all,
>> 
>> Presently I’m vainly struggling with a nasty spacing problem: an empty 
>> fragment of a new bar sticking out of the last bar of a system. 
>> In the piece I’ve been working on it happens 4 times. (See screenshots) 
>> I have carefully checked the note durations in each bar and there seems to 
>> be nothing wrong with any of them.
>> 
>> What can I do to avoid or remedy this?
>> 
>> I’ll be very grateful for any advice.
>> 
>> Best regards,
>> Robert Blackstone 
>> 
>> > .png>
>> 
>> 
>> NB in the third screenshot with the text “ohi-me v’apri”, the  b-flat in the 
>> bass belongs to a separate voice. (<< {\stemDown as,2 des2 }  \\ {s2. 
>> \stemUp bes4  } >> |%P2V1-30}
>> 
> 
> Hi Robert,
> 
> I noticed you included some inline images in your email. Would it be possible 
> for you to share some of your code so we can see what you have going on? 
> Maybe a tiny example? 
> It's not easy to tell from just the images. 
> Thanks!
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org <mailto:lilypond-user@gnu.org>
> https://lists.gnu.org/mailman/listinfo/lilypond-user 
> <https://lists.gnu.org/mailman/listinfo/lilypond-user>

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


Re: A spacing problem

2019-07-04 Thread Ben

On 7/4/2019 7:45 AM, Robert Blackstone wrote:

Dear all,

Presently I’m vainly struggling with a nasty spacing problem: an empty 
fragment of a new bar sticking out of the last bar of a system.

Dear all,

Presently I’m vainly struggling with a nasty spacing problem: an empty 
fragment of a new bar sticking out of the last bar of a system.

In the piece I’ve been working on it happens 4 times. (See screenshots)
I have carefully checked the note durations in each bar and there 
seems to be nothing wrong with any of them.


What can I do to avoid or remedy this?

I’ll be very grateful for any advice.

Best regards,
Robert Blackstone


NB in the third screenshot with the text “ohi-me v’apri”, the  b-flat 
in the bass belongs to a separate voice. (<< {\stemDown as,2 des2 } 
 \\ {s2. \stemUp bes4  } >> |%P2V1-30}




Hi Robert,

I noticed you included some inline images in your email. Would it be 
possible for you to share some of your code so we can see what you have 
going on? Maybe a tiny example?


It's not easy to tell from just the images.

Thanks!

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


A spacing problem

2019-07-04 Thread Robert Blackstone
Dear all,

Presently I’m vainly struggling with a nasty spacing problem: an empty fragment 
of a new bar sticking out of the last bar of a system. 
Dear all,

Presently I’m vainly struggling with a nasty spacing problem: an empty fragment 
of a new bar sticking out of the last bar of a system. 
In the piece I’ve been working on it happens 4 times. (See screenshots) 
I have carefully checked the note durations in each bar and there seems to be 
nothing wrong with any of them.

What can I do to avoid or remedy this?

I’ll be very grateful for any advice.

Best regards,
Robert Blackstone 




NB in the third screenshot with the text “ohi-me v’apri”, the  b-flat in the 
bass belongs to a separate voice. (<< {\stemDown as,2 des2 }  \\ {s2. \stemUp 
bes4  } >> |%P2V1-30}___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


clef spacing problem with staff scaling

2017-10-22 Thread musicus

Dear all,

I have a problem with spacing a small snippet of music. Of course I 
could manually add some extra space each time after the Clef, but I 
wonder if there is a better solution.
In my opinion, this spacing behaviour should clearly adapt to the staff 
size...


Cheers,
musicus\version "2.19.65"

\score {
  \layout {
#(layout-set-staff-size 15)
  }
  \new Staff { g' a' }
}

\score {
  \new Staff { g' a' }
}

\score {
  \layout {
#(layout-set-staff-size 40)
  }
  \new Staff { g' a' }
}

\score {
  \layout {
#(layout-set-staff-size 80)
  }
  \new Staff { g' a' }
}


\score {
  \layout {
#(layout-set-staff-size 15)
  }
  \new Staff \with {
\remove Time_signature_engraver
  }{ g' a' }
}

\score {
  \new Staff \with {
\remove Time_signature_engraver
  }{ g' a' }
}

\score {
  \layout {
#(layout-set-staff-size 40)
  }
  \new Staff \with {
\remove Time_signature_engraver
  }{ g' a' }
}

\score {
  \layout {
#(layout-set-staff-size 80)
  }
  \new Staff \with {
\remove Time_signature_engraver
  }{ g' a' }
}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: top-markup-spacing problem

2016-03-14 Thread Thomas Morley
2016-03-14 16:13 GMT+01:00 Sharon Rosner :
> Sharon Rosner wrote
>> Oh man, sorry for that!
>
> I should add that between my first and second message I've already found a
> possible workaround - adding an empty score using Devnull. But this solution
> is far from ideal as it confuses lilypond into using different sets of
> flexible vertical spacing values. So for example instead of
> mark-markup-spacing, it would score-markup-spacing etc.
>
> Sorry again for the confusion,
> Sharon
>



Hi Sharon,

I'd call it a bug, please report.

Here a smaller example:

\version "2.14.2" %% up to "2.19.38"

#(set-default-paper-size "a6")

\paper {
  annotate-spacing = ##t

  %% settings to ease comparability of pages:
  print-first-page-number = ##t
  oddHeaderMarkup = \markup \box \oddHeaderMarkup
  evenHeaderMarkup = \markup \box \evenHeaderMarkup
  bookTitleMarkup = \markup \fromproperty #'header:title

  %% #'-syntax to make it compile with v2.14
  top-markup-spacing #'basic-distance = 8
  top-markup-spacing #'minimum-distance = 8
  top-markup-spacing #'padding = 0 % negative padding to ignore skyline
  top-markup-spacing #'stretchability = 0 % fixed position
}

val = 5

%% header on first page
\header {
  title =
  \markup \box \line { "1 - Hey"  \with-color #red \draw-line #`(0 . ,val) }
}

\pageBreak

%% top-level markup on second page
\markup \box \line  { "2 - Hey"  \with-color #red \draw-line #`(0 . ,val) }


A possible workaround might be to topalign toplevel-markups:

#(define-markup-command (vup layout props arg)
  (markup?)
  (let* ((mol (interpret-markup layout props arg)))
(ly:stencil-aligned-to mol Y UP)))

%% top-level markup on second page
\markup \vup \box \line  { "2 - Hey"  \with-color #red \draw-line #`(0 . ,val) }


Cheers,
  Harm

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


Re: top-markup-spacing problem

2016-03-14 Thread Sharon Rosner
Sharon Rosner wrote
> Oh man, sorry for that!

I should add that between my first and second message I've already found a
possible workaround - adding an empty score using Devnull. But this solution
is far from ideal as it confuses lilypond into using different sets of
flexible vertical spacing values. So for example instead of
mark-markup-spacing, it would score-markup-spacing etc.

Sorry again for the confusion,
Sharon



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/top-markup-spacing-problem-tp188527p188530.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: top-markup-spacing problem

2016-03-14 Thread Sharon Rosner
> … missing …
> 
>> attached files
> 
> :-) Simon

Oh man, sorry for that!

Sharon



markup_margins.ly
Description: Binary data


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


Re: top-markup-spacing problem

2016-03-14 Thread Simon Albrecht

On 14.03.2016 15:53, Sharon Rosner wrote:

The


… missing …


attached files


:-) Simon

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


top-markup-spacing problem

2016-03-14 Thread Sharon Rosner
Hi all,

I’ve run into a problem when setting top-markup-spacing. When the markup is a 
score title, lilypond uses the basic-distance as the distance between the top 
margin and the top of the markup. When manually adding a top-level markup, 
however, the distance is calculated between the top margin and the base-line of 
the markup. The attached files show the problem (notice the difference between 
the positions of the titles on pages 1 & 2).

Is this a bug? Would there be any way to override this (apparently incorrect) 
behaviour?

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


Chord names vertical spacing problem (since 2.14?)

2012-05-02 Thread Chani
Hello,

I have a problem with the vertical spacing of multiple lines containing 
only chord names. 
They used to be very close to each other, now it seems that it
leaves a 
blank vertical space between lines (as if there was a staff in between).
I think (but I might be wrong) that it only happens since 
I have updated to 2.14.2.

Here is a tiny example :

\chords {
  c4:min f:min7
  \break
  c4:min f:min7
}


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


Re: Chord names vertical spacing problem (since 2.14?)

2012-05-02 Thread Keith OHara
Chani chani.xy at gmail.com writes:

 I have a problem with the vertical spacing of multiple lines containing 
 only chord names. 
 They used to be very close to each other, now it seems that it
 leaves a 
 blank vertical space between lines 

That is true. Vertical spacing was re-written for 2.14.
It seems that the old 'between-system-space' was ignored between 
systems with no staves, just lyrics and chord names.  Was there
any way to adjust the spacing between lines?

The new 'system-system-spacing' is included between lines of chord
names, but the default is inappropriately large. You can reduce it:

\paper {system-system-spacing #'basic-distance = #5 
system-system-spacing #'minimum-distance = #0 }





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


Re: single part spacing problem

2010-08-17 Thread Xavier Scheuer
2010/8/17 胡海鹏 - Hu Haipeng hhpmu...@163.com:

 Hello,
   When I extract the timpani part from my overture (I have not made
 cues), a fatal problem comes--spacing issues.  No matter what staff
 size I set, the warning couldn't fit music on page always appears.
 How to sove it?

Hi!

There used to be spacing issues couldn't fit music on page
(I personally reported a few of them), but they are all solved now
(IIRC).

I see you are using 2.13.24, where these bugs were present.
Please upgrade to 2.13.30, the result is fine with this version.

Cheers,
Xavier

--
Xavier Scheuer x.sche...@gmail.com

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


Re:Re: single part spacing problem

2010-08-17 Thread 胡海鹏 - Hu Haipeng
Thanks. But when I used 30, my full score was fattened from 34 pages to 38, and 
there are many warnings saying (de)crescendo too small, in fact they are not 
small; and a programming error in harp part in 2.13.24 increased to several: 
no note heads for the line spanner on neighbor line? Confused.
  Anyway, I'll try the single part now.

Regards
Haipeng

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


single part spacing problem

2010-08-16 Thread 胡海鹏 - Hu Haipeng
Hello,
  When I extract the timpani part from my overture (I have not made cues), a 
fatal problem comes--spacing issues. No matter what staff size I set, the 
warning couldn't fit music on page always appears. How to sove it?
Regards
Haipeng
a simplified version (without rehearsal and top texts)
  \version 2.13.24
crpap = {
  \set crescendoText = \markup { \italic Cresc. poco a poco }
  \set crescendoSpanner = #'text
  \override DynamicTextSpanner #'style = #'dotted-line
}
offCr = {
  \unset crescendoText
  \unset crescendoSpanner
  \revert DynamicTextSpanner #'style
}
  timpani = \relative c {
\clef bass \key c \major \time 4/4
  % introduction
  % initial, bars 1-6
R1^3 in G, C  E |
\time 5/4
r8 \repeat tremolo 12 c32\mp\ \repeat tremolo 12 c c8\!\f r4 |
\time 4/4
R1 |
\time 5/4
r8 \repeat tremolo 12 e32\mp\ \repeat tremolo 12 e e8\!\f r4 |
\repeat tremolo 24 g,32\p\ \repeat tremolo 16 g |
c8-\!\f r^E to D r4 r r2 |
  % part 1
  % rehearsal 1, bars 7-20
\time 9/8 R1*9/8*3 |
\time 5/4 R1*5/4*3 |
g4.\mf d'4 g,4. d'4 |
g,8\mp\ d' g, d' g, d' g, d' g, g- |
\time 9/8
c4.-\!\sf^D to F g4\f g16 g g g c8 g- |
c4.- g4 c16 c c c g8 g- |
c4.- g4 \repeat tremolo 4 c32\p\ \repeat tremolo 12 c |
\time 5/4
f8-\!\sf^C to D r r4 r8 \repeat tremolo 8 f32\mp\ f8\!\f r4 |
r \repeat tremolo 8 f32\mp\ f8\!\f r r2 |
r2 d16\mf d d8 d16\f d d8-\sf r4\fermata \bar ||
  % rehearsal 2, bars 21-37
R1*5/4*9^G to A, F to E |
\repeat tremolo 12 a32\mf e'4 a,4. a4 |
d4. a4\ d4. d4\!\p |
R1*5/4*6^A to Bb, D to B, F to Eb |
  % rehearsal 3, bars 38-51
\time 3/4
R2.*7 |
r2 r8 b\f |
\time 5/4
ees4. bes4\mf ees4. bes4 |
ees4.\ bes4 ees4. bes4 |
ees4.\!\f bes4 ees4.^to E b4 |
e4. b4 e4.\ e4\! |
R1*5/4^Bb to G, E to D |
d4\mf\ d8 d d d4 d8 d d |
  % rehearsal 4, bars 52-65
\time 9/8
g,4.\!\f d'4 d16 d d d g,8 d'- |
g,4.- d'4 g,16 g g g d'8 d- |
g,4. d'4 d16 d d d g,8 d'- |
g,4.- d'4 g,16 g g g d'8 d- |
g,16 g g g g8 d'16 d d d d8 g,16 g g g g8 |
d'4 d8 g,4 d'8 d4 d8 |
\repeat tremolo 24 g,32\ \repeat tremolo 12 g |
\repeat tremolo 24 g \repeat tremolo 12 g |
\repeat tremolo 24 g \repeat tremolo 12 g |
\repeat tremolo 24 g\!\p \repeat tremolo 12 g |
g8 r r r4 r8 r4 r8 |
\time 5/4
g16 g g8 g g g g16 g g8 g g g |
g16\ g g8 g g g g r2 |
g4\!\pp^B to Bb, D to Eb r r r2\fermata \bar ||
  % part 2
  % rehearsal 5, bars 66-82
\key ees \major \time 4/4
R1*17 |
  % rehearsal 6, bars 83-108
R1*15 |
\repeat tremolo 24 ees'32\p\ ees8- ees-\! |
\tag #'score {  { \repeat tremolo 32 bes32 } \\ { s8\f s\mp\ s2 s4\! } 
 | }
\tag #'midi {  { \repeat tremolo 64 bes64 } \\ { s8\f s\mp\ s2 s4\! }  
| }
ees4\f r r2 | R1*7 |
\tag #'score {  { \repeat tremolo 32 g,32- } \\ { s2.\mf\ s4\p }  | }
\tag #'midi {  { \repeat tremolo 64 g64- } \\ { s2.\mf\ s4\p }  | }
  % rehearsal 7, bars 109-120
R1*5^Bb to C, Eb to D | R1^\fermataMarkup |
R1*3 |
\tag #'score { \repeat tremolo 32 g32-\p |
  \repeat tremolo 32 g\ |
  \repeat tremolo 32 g\fermata\!\pp \bar || }
  \tag #'midi { \repeat tremolo 64 g64-\p |
  \repeat tremolo 64 g\ |
  \repeat tremolo 64 g\fermata\!\pp \bar || }
  % part 3
  % rehearsal 8, bars 121-130
\key c \major \time 3/4
\repeat tremolo 24 g32 |
\repeat tremolo 24 g |
\repeat tremolo 24 g |
\repeat tremolo 24 g |
\time 4/4
\repeat tremolo 32 g\cresc |
\repeat tremolo 32 g |
\time 3/4
\repeat tremolo 24 g |
\repeat tremolo 24 g |
\time 5/4
\repeat tremolo 24 g-\f\ \repeat tremolo 16 g |
c8-\!\sf r r4 r r2 |
  % rehearsal 9, bars 131-146
\time 9/8 R1*9/8*3 |
\time 5/4 R1*5/4*3 |
g4.\mf d'4 g,4. d'4 |
g,8\mp\ d' g, d' g, d' g, d' g, g- |
\time 9/8
c4.-\!\sf^D to F g4\f g16 g g g c8 g- |
c4.- g4 c16 c c c g8 g- |
c4.- g4 \repeat tremolo 4 c32\p\ \repeat tremolo 12 c |
\time 5/4
f8-\!\sf r r4 r8 \repeat tremolo 8 f32\mp\ f8\!\f r4 |
r \repeat tremolo 8 f32\mp\ f8\!\f r r4 r8 \repeat tremolo 4 c32\mp\ |
\repeat tremolo 4 c c8\!\f r4 r \repeat tremolo 8 c32\mp\ c8\!\f r |
r2 r4 r8 g16\mf g g8 g16\f g |
g8-\sf r r4 r r2 |
  % rehearsal 10, bars 147-167
R1*5/4*8 |
f'4.\mf c4 f4. c4 |
R1*5/4 | R1*5/4 |
c4. g4 c4. g4 |
R1*5/4 | R1*5/4 |
f'4.\mp\cresc c4 f4.^to D c4 |
d4. d4 g,8\!\f d'\mf\ d d g, |
c4\!\f r r r2 | R1*5/4 |
g4.\mp\cresc g4 c4. c4 |
c4. c4 d4 d8- d- d- |
\tag #'score { \repeat tremolo 24 g,32\!\sf\ \repeat tremolo 16 g \bar 
|| }
\tag #'midi { \repeat unfold 10 g\!\sf\ \repeat unfold 10 g \repeat unfold 
10 g \repeat unfold 10 g \bar || }
  % coda
  % rehearsal 11, bars 168-188
\time 3/4
\repeat tremolo 24 g\!\pp |
\repeat tremolo 24 g |
\repeat tremolo 24 g |
\repeat tremolo 24 g |
\repeat tremolo 24 

Re: vertical spacing problem

2010-05-17 Thread Marek Klein
Thank you for the solution!
--
Marek
http://gregoriana.sk


2010/5/17 -Eluze elu...@gmail.com



 Marek Klein wrote:
 
  Hi,
  I have problem with the attached vocal score and I couldn't reproduce it
  with tiny example...
 
 
 
 i added 2 more options,  maybe these could help:

 \paper {
 %   page-count = 2
  ragged-bottom = ##f
  ragged-last-bottom = ##f
 }


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


vertical spacing problem

2010-05-16 Thread Marek Klein
Hi,
I have problem with the attached vocal score and I couldn't reproduce it
with tiny example...

I get 2-paged layout
http://gregoriana.sk/gg/wp-content/uploads/lasso-qui_manducat2v1.pdf
with the next to last row commented out (\markup),
There seems to be lot of space at the bottom of the second page, but if I
add the \markup, output is on 3 pages
http://gregoriana.sk/gg/wp-content/uploads/lasso-qui_manducat2v2.pdf
\version 2.13.19

Is this a bug?

Marek
\version 2.13.19

#(set-global-staff-size 16.5)
date = #(strftime %Y-%m-%d (localtime (current-time)))

\header{
  composer= \markup \center-column {Orlando di Lasso \small (1532 - 1594)}
  title=Communio: Qui manducat
  copyright= \markup {Marek Klein, gregoriana.sk,  \date}
}

%5
global={
  \key f \major
  %\autoBeamOff
}
%%%
MusicSopranA = \relative c''{
  R1 R1 R1 |
  r2 c2 | c2( d | e) e( | d) d | c c~ |
  %str141
  c e( | g2. ) g4 | g2 e( | f e4 f |
  f8 e d2 cis8  b |  cis d4  cis!8) d2~ | d r4 c | bes a( b c~ |
  c4  b) c2~ | c r4 g | a8( bes c a bes c d4~ | d c) d bes |
  %142
  a2 a | r r4 d~( | d8 c d e f4. e16 d | c8 bes c4) bes d~( |
  d8 c c2)  b4 | c a c d~ | d  cis d2 | r4 c c c~ | c c c2 |
  r4 c4.(  b16 a  b!4) | c1 | c2. g4 | a1\fermata \bar |. |
}
MusicAlt = \relative c'' {
  R1 R1 R1 |
  g2 g( | a4. g8 f e d4) | g g2( c4~ | c bes8 a bes4) bes | a2 g |
  %str141
  c,2 c' | c4 c c8( g c4~ | c8  b16 a  b!4) c c~ | c bes g a~( |
  a8 g16 f g4) a2 | r4 a bes2 | a4.( bes8 c4) g~( | g8 f e f g4) a
  g4.( f8 e f g4) | a2 g | r2 r4 d | a' a f f~ |
  %142
  f4 c r2 | r a'2( | bes) a~ | a f4 d |
  a'4( g8 f g2) | r a | a4 a2 g4 | g2 g | a g4 a |
  a2 r4 d, | g a2( g4~ | g8 f f2) e4 | f1\fermata |
}
MusicTenorA = \relative c' {
  c2 c~( | c4 d2) e4~ | e e4.( d8 c4~ |
  c4)  b c c~ | c a2 f4 | r g c2 | g1 | R1 |
  %str141
  e'2( g~ | g4) g g2 | g,4. g8 g'2 | a4 f r2 |
  r2 e2 | e( g) | d( e | d4 c d2) |
  d2( c) | R1 | e2 g | e( d) |
  %142
  r4 f4.( e8 d4) | c( bes a2) | g r | R1 |
  R1 | e'2( f | e d | e c) | c r4 c |
  c2( d | c) c~ | c1~ | c1\fermata |
}
MusicTenorB = \relative c' {
  R1 R1 | c2 c( |
  d2 e4. d16 e | f4 c2  b4) | c2 e( | g2.) g4 | e f4.( e16 d e8 f |
  %141
  g8 a g4. f8 e d | e1) | d2 r4 c~ | c d e c |
  d2 r | a2 g4 g'~( | g8 f16 e f4) g2 | r2 r4 f4 |
  d4 g4.( f8 e d | e c f2 e8 d | c2) d4 bes | a2( bes) |
  %142
  c4 a d8( e f g | a4) d, r2 | r4 d4.( c8 d e | f4 e8 f d e f g |
  f8 e d c d2) | c( a) | r4 a2 b4 | c4.( d8 e4) e | f( e8 d e4) e |
  f2 g4.( f8 | e4) f f, g | a2 g4. g8 | f1\fermata |
}
MusicBas = \relative c {
  r2 f | f( g | a) a( | 
  g) r4 c, | f4.( e8 d2) | c1 | R1 | a'2( c~ |
  %str141
  c4) c c2~ | c1 | r2 c( | a4 bes c a |
  bes2) a | R1 | r2 c2 | g4 a( g f) |
  g2 r | a c | a( g) | R1 |
  %142
  f2 d4.( e8 | f4 g2  fis4) | g2 r | a2( bes) |
  a2( g) | a4.( g8 f4 d) | a'2 fis4 g | c,2 r4 c | f8( g a bes c bes a g |
  f8 g a4) g g | c, f2 e4 | f2 c | f1\fermata |
}
%%%
TextSopranA = \lyricmode { 
  et bi -- bit, et bi -- bit san -- gui -- nem me -- um, 
  in me ma -- net, 
  et e -- go in e -- o, 
  di -- cit Do -- mi -- nus,
  di -- cit Do -- mi -- nus,
  di -- cit Do -- mi -- nus,
  di -- cit Do -- mi -- nus. 
}
TextAlt = \lyricmode { 
  et bi -- bit san -- gui -- nem me -- um, 
  san -- gui -- nem me -- um, 
  san -- gui -- nem me -- um, 
  in me ma -- net, 
  in me ma -- net, 
  et e -- go in e -- o, 
  di -- cit Do -- mi -- nus,
  di -- cit Do -- mi -- nus,
  di -- cit Do -- mi -- nus,
  di -- cit Do -- mi -- nus. 
}
TextTenorA = \lyricmode { 
  et bi -- bit san -- gui -- nem, 
  et bi -- bit, 
  et bi -- bit san -- gui -- nem,
  san -- gui -- nem me -- um, 
  in me ma -- net, 
  et e -- go in e -- o, 
  di -- cit Do -- mi -- nus. 
}
TextTenorB = \lyricmode { 
  et bi -- bit san -- gui -- nem me -- um,
  san -- gui -- nem me -- um, 
  in me ma -- net, 
  in me ma -- net, 
  et e -- go in e -- o, 
  di -- cit,
  di -- cit Do -- mi -- nus,
  di -- cit Do -- mi -- nus,
  di -- cit Do -- mi -- nus. 
}
TextBas = \lyricmode { 
  et bi -- bit, et bi -- bit san -- gui -- nem me -- um, 
  in me ma -- net, 
  et e -- go in e -- o, 
  di -- cit,
  di -- cit Do -- mi -- nus,
  di -- cit Do -- mi -- nus,
  di -- cit Do -- mi -- nus. 
}
%%%
\book {
\score {
 
  \new ChoirStaff 

  \new Voice = sopran {
\set Staff.instrumentName = Sopran 
\set Staff.shortInstrumentName = S 
 \global \MusicSopranA }
  \new Lyrics \lyricsto sopran { \TextSopranA }
  \new Voice = alt {
\set Staff.instrumentName = Alt 1 
\set Staff.shortInstrumentName = A1 
 \global \MusicAlt }
  \new Lyrics \lyricsto alt { \TextAlt }
  \new Voice = tenora {
\set Staff.instrumentName = Alt 2 
\set Staff.shortInstrumentName = A2 
\clef G  

Re: vertical spacing problem

2010-05-16 Thread -Eluze


Marek Klein wrote:
 
 Hi,
 I have problem with the attached vocal score and I couldn't reproduce it
 with tiny example...
 
 
 
i added 2 more options,  maybe these could help:

\paper {
%   page-count = 2
  ragged-bottom = ##f 
  ragged-last-bottom = ##f
}

-- 
View this message in context: 
http://old.nabble.com/vertical-spacing-problem-tp28577461p28577755.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: Lyrics spacing problem - overlapping syllables

2009-01-29 Thread Graham Percival
On Wed, Jan 28, 2009 at 11:03:13PM +0100, Mats Bengtsson wrote:

 Bertalan Fodor (LilyPondTool) wrote:
 Now taking a second look, I don't think it's a bug, only a limitation  
 of the lyrics engraving procedure: it doesn't take notes into acount,  
 only resolves lyrics overlapping (when two syllables would overlap.)

 Well, if the limitation leads to undesired output, then why not
 call it a bug?

He's probably using the Offical Bug-LilyPond Terminology (tm),
which states that problems which require extra code are missing
features, whereas problems in existing code are bugs.  (where
5-line fixes are still considered no extra code.  Or something
like that)

It's taken years for this to catch on, so don't complain about it
now!  :)

Cheers,
- Graham


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


Re: Lyrics spacing problem - overlapping syllables

2009-01-29 Thread Jiri Zurek (Prague)

Yes, I knew that warning and inserting the spacing item padding was the first
thing which I tried. However, without any success - the insertion of the
line 
\once \override Score.SeparationItem #'padding = #3
into the music is ignored by the spacing engine. Using still the same
example as above, the code here replaces only the variable notyOKriste:

notyOKriste = \relative c' {\time 12/8 a'4 c8 a4 g8 f4 e8 f4. c'4 d8 f4 e8 
d4 bes8 c4 c8 d4 c8 a4 d,8 f16[ \melisma e d8  c] \melismaEnd 
\once \override Score.SeparationItem #'padding = #3
d4. \bar || }


I am rather new to Lilypond and therefore I always try to think first that
the error is on my side - perhaps I am inserting the separationitem code
into wrong place...? 
However, the syllable alignment which overlaps the neighboring note problem
is most probably a bug: since the code of the lyric spacing is already
present in Lilypond, and since it does not produce the desired output, I
still think this issue qualifies as a bug in the strict sense of the word. 

I tried also the trick with the null markup on the last note of the melisma
with the melisma ending just the note before as suggested by Mats, but this
code does not work on my setup. During the compilation, the Lilypond stops
at the line Analysing... and produces nothing (but still giving no error).
-- 
View this message in context: 
http://www.nabble.com/Lyrics-spacing-problem---overlapping-syllables-tp21665565p21726627.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: Lyrics spacing problem - overlapping syllables

2009-01-29 Thread Bertalan Fodor (LilyPondTool)
You could also try to put invisible but non breaking spaces as a 
syllable, aligned to the left:

   

Bert

Jiri Zurek (Prague) wrote:

Yes, I knew that warning and inserting the spacing item padding was the first
thing which I tried. However, without any success - the insertion of the
line 
\once \override Score.SeparationItem #'padding = #3

into the music is ignored by the spacing engine. Using still the same
example as above, the code here replaces only the variable notyOKriste:

notyOKriste = \relative c' {\time 12/8 a'4 c8 a4 g8 f4 e8 f4. c'4 d8 f4 e8 
d4 bes8 c4 c8 d4 c8 a4 d,8 f16[ \melisma e d8  c] \melismaEnd 
\once \override Score.SeparationItem #'padding = #3

d4. \bar || }


I am rather new to Lilypond and therefore I always try to think first that
the error is on my side - perhaps I am inserting the separationitem code
into wrong place...? 
However, the syllable alignment which overlaps the neighboring note problem

is most probably a bug: since the code of the lyric spacing is already
present in Lilypond, and since it does not produce the desired output, I
still think this issue qualifies as a bug in the strict sense of the word. 


I tried also the trick with the null markup on the last note of the melisma
with the melisma ending just the note before as suggested by Mats, but this
code does not work on my setup. During the compilation, the Lilypond stops
at the line Analysing... and produces nothing (but still giving no error).
  





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


Re: Lyrics spacing problem - overlapping syllables

2009-01-29 Thread Mats Bengtsson



Bertalan Fodor (LilyPondTool) wrote:
You could also try to put invisible but non breaking spaces as a 
syllable, aligned to the left:

   
That's more or less what I proposed in my earlier reply to this thread. 
Take a look at it again.


   /Mats


Bert

Jiri Zurek (Prague) wrote:
Yes, I knew that warning and inserting the spacing item padding was 
the first

thing which I tried. However, without any success - the insertion of the
line \once \override Score.SeparationItem #'padding = #3
into the music is ignored by the spacing engine. Using still the same
example as above, the code here replaces only the variable notyOKriste:

notyOKriste = \relative c' {\time 12/8 a'4 c8 a4 g8 f4 e8 f4. c'4 d8 
f4 e8 d4 bes8 c4 c8 d4 c8 a4 d,8 f16[ \melisma e d8  c] \melismaEnd 
\once \override Score.SeparationItem #'padding = #3

d4. \bar || }


I am rather new to Lilypond and therefore I always try to think first 
that

the error is on my side - perhaps I am inserting the separationitem code
into wrong place...? However, the syllable alignment which overlaps 
the neighboring note problem

is most probably a bug: since the code of the lyric spacing is already
present in Lilypond, and since it does not produce the desired output, I
still think this issue qualifies as a bug in the strict sense of the 
word.
I tried also the trick with the null markup on the last note of the 
melisma
with the melisma ending just the note before as suggested by Mats, 
but this
code does not work on my setup. During the compilation, the Lilypond 
stops
at the line Analysing... and produces nothing (but still giving no 
error).
 




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


Re: Lyrics spacing problem - overlapping syllables

2009-01-28 Thread Jiri Zurek (Prague)

After reading some more threads about the lyrics alignment, I have got the
impression, that the problem of a syllable overlapping with the last note(s)
of the preceding melisma could be solved by adding an extender to the
melismatic syllable. The extender should last up to low c of the last bar of
the music. Strangely enough, this does not help, as the extender does not
extend up to the last note of the melisma (c), but it is cut off before (on
a d already), possibly by the next syllable extend. This looks as suggesting
that the syllable -mme should be sung not on the last note (d) only, but
already on the note preceding it (on the c). This is unexpected behavior and
I am starting to think that this might be a bug in the Lilypond. Am I right?

This is the same example as above, but with the extender added to the
melisma-syllable:

\version 2.12.1

\paper {
#(set-paper-size b5)
line-width = 14.6\cm
indent = 0.0
ragged-right = ##t
ragged-last = ##t
  
  }

notyOKriste = \relative c' {\time 12/8 a'4 c8 a4 g8 f4 e8 f4. c'4 d8 f4 e8
d4 bes8 c4 c8 d4 c8 a4 d,8 f16[ \melisma e d8 c] \melismaEnd d4. \bar || }

oKriste = \lyricmode { Ó Kri -- ste do -- bro -- ti -- vý, na nás vel -- mi
na -- las --
  ka -- vý, čímť se o -- pla -- tí __ mme? }

\score {
  
\new Voice = cantus {
  \notyOKriste
}
\new Lyrics 
  \lyricsto cantus {
  \oKriste
  }
  

\layout {
  \context { 
\Score
\remove Bar_number_engraver

  }
  \context {
\Lyrics
\consists Separating_line_group_engraver
%aby lyrika nesla do taktovych car.
\consists Bar_engraver
\override BarLine #'transparent = ##f

%\override LyricSpace #'minimum-distance = #3.0
  }
}
} 

  end of the musical example

http://www.nabble.com/file/p21703981/ExtenderSyll.png ExtenderSyll.png 
-- 
View this message in context: 
http://www.nabble.com/Lyrics-spacing-problem---overlapping-syllables-tp21665565p21703981.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: Lyrics spacing problem - overlapping syllables

2009-01-28 Thread Bertalan Fodor (LilyPondTool)
Lyrics syllables should not overlap in any case, LilyPond should 
automatically increase the note dinstance if needed. So it seems to me 
as a bug.


Bert

Jiri Zurek (Prague) wrote:

After reading some more threads about the lyrics alignment, I have got the
impression, that the problem of a syllable overlapping with the last note(s)
of the preceding melisma could be solved by adding an extender to the
melismatic syllable. The extender should last up to low c of the last bar of
the music. Strangely enough, this does not help, as the extender does not
extend up to the last note of the melisma (c), but it is cut off before (on
a d already), possibly by the next syllable extend. This looks as suggesting
that the syllable -mme should be sung not on the last note (d) only, but
already on the note preceding it (on the c). This is unexpected behavior and
I am starting to think that this might be a bug in the Lilypond. Am I right?

This is the same example as above, but with the extender added to the
melisma-syllable:

\version 2.12.1

\paper {
#(set-paper-size b5)
line-width = 14.6\cm
indent = 0.0
ragged-right = ##t
ragged-last = ##t
  
  }


notyOKriste = \relative c' {\time 12/8 a'4 c8 a4 g8 f4 e8 f4. c'4 d8 f4 e8
d4 bes8 c4 c8 d4 c8 a4 d,8 f16[ \melisma e d8 c] \melismaEnd d4. \bar || }

oKriste = \lyricmode { Ó Kri -- ste do -- bro -- ti -- vý, na nás vel -- mi
na -- las --
  ka -- vý, čímť se o -- pla -- tí __ mme? }

\score {
  
\new Voice = cantus {
  \notyOKriste
}
\new Lyrics 
  \lyricsto cantus {

  \oKriste
  }
  

\layout {
  \context { 
\Score

\remove Bar_number_engraver

  }

  \context {
\Lyrics
\consists Separating_line_group_engraver
%aby lyrika nesla do taktovych car.
\consists Bar_engraver
\override BarLine #'transparent = ##f

%\override LyricSpace #'minimum-distance = #3.0

  }
}
} 


  end of the musical example

http://www.nabble.com/file/p21703981/ExtenderSyll.png ExtenderSyll.png 
  





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


Re: Lyrics spacing problem - overlapping syllables

2009-01-28 Thread James E. Bailey


Am 28.01.2009 um 13:19 schrieb Bertalan Fodor (LilyPondTool):

Lyrics syllables should not overlap in any case, LilyPond should  
automatically increase the note dinstance if needed. So it seems to  
me as a bug.




It's a known issue in section 2.1.3. Melismata are not detected  
automatically, and extender lines must be inserted by hand.



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


Re: Lyrics spacing problem - overlapping syllables

2009-01-28 Thread James E. Bailey


Am 28.01.2009 um 13:28 schrieb James E. Bailey:



Am 28.01.2009 um 13:19 schrieb Bertalan Fodor (LilyPondTool):

Lyrics syllables should not overlap in any case, LilyPond should  
automatically increase the note dinstance if needed. So it seems  
to me as a bug.




It's a known issue in section 2.1.3. Melismata are not detected  
automatically, and extender lines must be inserted by hand.


Oh wow, I feel dumb. This is something completely different. There  
actually isn't any overlap. The text mme? is centered under the  
notehead, as it should be, but because it's so long a syllable, I'm  
guessing he wants the note moved to the right, so that the text could  
not be considered to be part of the preceding note. In that case, I  
would suggest, \once \override LyricText #'self-alignment-X = #-1.  
The text won't be centered under the notehead, but padding a notehead  
is beyond my ability. And it's what I would do if it bothered me.



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


Re: Lyrics spacing problem - overlapping syllables

2009-01-28 Thread Jiri Zurek (Prague)

Indeed, my problem is completely different than automatic insertion of
extenders. Indeed, I want Lilypond that it adds some padding automatically
to the notehead whenever there is long syllable under it, so that the
physical extent of the printed letters of that syllable does not overlap
with neighboring notes. If it overlaps, then it might wrongly suggest to the
singer, that the syllable belongs to a different notehead than it is ment to
belong. 
The left-aligned lyrics is not a solution (it is only a dirty solution)
since what I am aiming at is vowel-centered alignment in all cases (
http://www.nabble.com/Lyrics---align-first-vowel-of-a-syllable-under-the-notehead-td21600612.html
as I suggest in another thread ). So, I still think it is a bug. If there is
no disagreement, I will put this into bug announcements forum. But I will
wait for a couple of days because someone can still come correcting my view.
-- 
View this message in context: 
http://www.nabble.com/Lyrics-spacing-problem---overlapping-syllables-tp21665565p21706169.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: Lyrics spacing problem - overlapping syllables

2009-01-28 Thread Bertalan Fodor (LilyPondTool)
Now taking a second look, I don't think it's a bug, only a limitation of 
the lyrics engraving procedure: it doesn't take notes into acount, only 
resolves lyrics overlapping (when two syllables would overlap.)


You should change the alignment of the syllable a bit (not to the left, 
but like 0.3 or some other fraction)


Bert

Jiri Zurek (Prague) wrote:

Indeed, my problem is completely different than automatic insertion of
extenders. Indeed, I want Lilypond that it adds some padding automatically
to the notehead whenever there is long syllable under it, so that the
physical extent of the printed letters of that syllable does not overlap
with neighboring notes. If it overlaps, then it might wrongly suggest to the
singer, that the syllable belongs to a different notehead than it is ment to
belong. 
The left-aligned lyrics is not a solution (it is only a dirty solution)

since what I am aiming at is vowel-centered alignment in all cases (
http://www.nabble.com/Lyrics---align-first-vowel-of-a-syllable-under-the-notehead-td21600612.html
as I suggest in another thread ). So, I still think it is a bug. If there is
no disagreement, I will put this into bug announcements forum. But I will
wait for a couple of days because someone can still come correcting my view.
  





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


Re: Lyrics spacing problem - overlapping syllables

2009-01-28 Thread Mats Bengtsson



Bertalan Fodor (LilyPondTool) wrote:
Now taking a second look, I don't think it's a bug, only a limitation 
of the lyrics engraving procedure: it doesn't take notes into acount, 
only resolves lyrics overlapping (when two syllables would overlap.)

Well, if the limitation leads to undesired output, then why not
call it a bug?

One possible workaround is to insert an invisible syllable at the
last note of the mellisma (or rather to shorten the mellisma by
one note and add the invisible syllable to the end note of the
true mellisma):

\version 2.12.1

\paper {
   #(set-paper-size b5)
   line-width = 14.6\cm
   indent = 0.0
   ragged-right = ##t
   ragged-last = ##t
 
 }


notyOKriste = \relative c' {\time 12/8 a'4 c8 a4 g8 f4 e8 f4. c'4 d8 f4 e8
d4 bes8 c4 c8 d4 c8 a4 d,8 f16[ \melisma e d8 \melismaEnd c] d4. \bar || }

oKriste = \lyricmode { Ó Kri -- ste do -- bro -- ti -- vý, na nás vel -- mi
na -- las --
 ka -- vý, čímť se o -- pla -- tí -- \markup \null mme? }

\score {
 
   \new Voice = cantus {
 \notyOKriste
   }
   \new Lyrics 
 \lyricsto cantus {

 \oKriste
 }
 

\layout {
 \context { 
   \Score

   \remove Bar_number_engraver
   
 }

 \context {
   \Lyrics
   \consists Separating_line_group_engraver
   %\override LyricSpace #'minimum-distance = #3.0
 }
}
}


/Mats




You should change the alignment of the syllable a bit (not to the 
left, but like 0.3 or some other fraction)


Bert

Jiri Zurek (Prague) wrote:

Indeed, my problem is completely different than automatic insertion of
extenders. Indeed, I want Lilypond that it adds some padding 
automatically

to the notehead whenever there is long syllable under it, so that the
physical extent of the printed letters of that syllable does not 
overlap
with neighboring notes. If it overlaps, then it might wrongly suggest 
to the
singer, that the syllable belongs to a different notehead than it is 
ment to
belong. The left-aligned lyrics is not a solution (it is only a 
dirty solution)

since what I am aiming at is vowel-centered alignment in all cases (
http://www.nabble.com/Lyrics---align-first-vowel-of-a-syllable-under-the-notehead-td21600612.html 

as I suggest in another thread ). So, I still think it is a bug. If 
there is
no disagreement, I will put this into bug announcements forum. But I 
will
wait for a couple of days because someone can still come correcting 
my view.





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



--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: mats.bengts...@ee.kth.se
WWW: http://www.s3.kth.se/~mabe
=



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


Re: Lyrics spacing problem - overlapping syllables

2009-01-28 Thread Mats Bengtsson

James E. Bailey wrote:


... padding a notehead is beyond my ability. And it's what I would do 
if it bothered me.
See Known issues and warnings of 
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Horizontal-spacing-overview#Horizontal-spacing-overview


 /Mats


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


Lyrics spacing problem - overlapping syllables

2009-01-26 Thread Jiri Zurek (Prague)

Please, look at the last note of the piece: the last syllable of the
following piece (-mme) is overlapping with the melisma preceding it. How
to instruct Lilypond to make some more room for the syllable to shift it
away from the foregoing ending melisma? I tried the Spacing lyrics from
the Documentation but it is not helpful since the LyricSpace
#'minimum-distance affects only the space between words and not between the
syllables of the same word. For this reason, I removed the minimum-distance
line from the layout. Also, I do not think it is Lyric spacing (or Lyrics
padding) problem, rather, it is the problem of music spacing: the Lilypond
should be aware of the fact that there is longer syllable under the given
notehead. The notehead should be padded from both sides to make the whole
syllable to fit so that the syllable does not extend under the adjacent
noteheads.

\version 2.12.1

\paper {
#(set-paper-size b5)
line-width = 14.6\cm
indent = 0.0
ragged-right = ##t
ragged-last = ##t
  
  }

notyOKriste = \relative c' {\time 12/8 a'4 c8 a4 g8 f4 e8 f4. c'4 d8 f4 e8
d4 bes8 c4 c8 d4 c8 a4 d,8 f16[ \melisma e d8 c] \melismaEnd d4. \bar || }

oKriste = \lyricmode { Ó Kri -- ste do -- bro -- ti -- vý, na nás vel -- mi
na -- las --
  ka -- vý, čímť se o -- pla -- tí -- mme? }

\score {
  
\new Voice = cantus {
  \notyOKriste
}
\new Lyrics 
  \lyricsto cantus {
  \oKriste
  }
  

\layout {
  \context { 
\Score
\remove Bar_number_engraver

  }
  \context {
\Lyrics
\consists Separating_line_group_engraver
%\override LyricSpace #'minimum-distance = #3.0
  }
}
}
http://www.nabble.com/file/p21665565/JistK_10_SpirituSelfContained.pdf
JistK_10_SpirituSelfContained.pdf 
-- 
View this message in context: 
http://www.nabble.com/Lyrics-spacing-problem---overlapping-syllables-tp21665565p21665565.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: spacing problem

2008-08-14 Thread Werner LEMBERG

I've just found a wonderful example which demonstrates what I want to
fix.  Look at the fourth and fifth quarter: It's *really* ugly.

On the other hand I'm not sure whether this is a different spacing
bug.  Joe?


Werner
inline: bad-spacing.png___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: spacing problem

2008-08-14 Thread Mats Bengtsson
Did you try setting \override Score.SpacingSpanner 
#'average-spacing-wishes = ##f


  /Mats

Quoting Werner LEMBERG [EMAIL PROTECTED]:



I've just found a wonderful example which demonstrates what I want to
fix.  Look at the fourth and fifth quarter: It's *really* ugly.

On the other hand I'm not sure whether this is a different spacing
bug.  Joe?


   Werner







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


Re: spacing problem

2008-08-14 Thread Werner LEMBERG

 Did you try setting \override Score.SpacingSpanner
 #'average-spacing-wishes = ##f

It gives exactly the same result with both ##f and ##t.  Such
formatting must never happen IMHO.


   Werner


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


Re: spacing problem

2008-08-13 Thread Werner LEMBERG

  Isn't this too small in tight situations?  Note heads might
  (almost) touch...
 
 In tight situations, the rods take over the spacing.  I think there
 is a small threshold that makes sure they don't touch.

Where shall I look?  BTW, is there a documentation how rods and
springs interact?

  IMHO, this should be configurable.
 
 You could look into the Note_spacing class, which could decide to
 add some more fixed width if the left side is a dotted note, or
 perhaps scale up the fixed width for notes longer than 1/8th.

OK.  Will have a look and try something.

 (If you do anything, please make sure it does the right thing for
 polyphonic situations too.)

Please elaborate.  I'm quite lost here and currently can't see the big
picture.

 I am not sure if you should use durations rather than dottedness.
 Should a dotted 64th need a lot of space to accomodate for the dot,
 or should it be treated like a very short note?

A dotted, beamed note gets automatically more horizontal space due to
the dot(s); I think nothing should change in this case.  This holds
for beamed notes in general.  Regarding flagged notes, I'm not sure,
but many flagged notes in succession are rather rare.  The additional
space I envision should be applied to notes only which don't have a
beam or a flag.


Werner


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


Re: spacing problem

2008-08-13 Thread James E. Bailey


Am 13.08.2008 um 08:17 schrieb Werner LEMBERG:



I am not sure if you should use durations rather than dottedness.
Should a dotted 64th need a lot of space to accomodate for the dot,
or should it be treated like a very short note?


A dotted, beamed note gets automatically more horizontal space due to
the dot(s); I think nothing should change in this case.  This holds
for beamed notes in general.  Regarding flagged notes, I'm not sure,
but many flagged notes in succession are rather rare.

Not in vocal music, where \autoBeamOff is the norm.



The additional
space I envision should be applied to notes only which don't have a
beam or a flag.


   Werner


___
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: spacing problem

2008-08-13 Thread Werner LEMBERG

  A dotted, beamed note gets automatically more horizontal space due
  to the dot(s); I think nothing should change in this case.  This
  holds for beamed notes in general.  Regarding flagged notes, I'm
  not sure, but many flagged notes in succession are rather rare.

 Not in vocal music, where \autoBeamOff is the norm.

I know, but for this it's not of great importance since the main guide
for a singer is the text which always dominates the horizontal
alignment of notes in tight situations.


Werner


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


Re: spacing problem

2008-08-13 Thread Han-Wen Nienhuys
On Wed, Aug 13, 2008 at 3:17 AM, Werner LEMBERG [EMAIL PROTECTED] wrote:
 In tight situations, the rods take over the spacing.  I think there
 is a small threshold that makes sure they don't touch.

 Where shall I look?  BTW, is there a documentation how rods and
 springs interact?

Look at simple-spacer.cc to see how the aggregrate works.

 (If you do anything, please make sure it does the right thing for
 polyphonic situations too.)

 Please elaborate.  I'm quite lost here and currently can't see the big
 picture.

If one stave has a dotted note and another has not, the result should
probably be something average between both. If you put the adjustments
in the Note_spacing routines  (which should get called per staff),
this should happen automatically

 I am not sure if you should use durations rather than dottedness.
 Should a dotted 64th need a lot of space to accomodate for the dot,
 or should it be treated like a very short note?

 A dotted, beamed note gets automatically more horizontal space due to
 the dot(s); I think nothing should change in this case.  This holds
 for beamed notes in general.  Regarding flagged notes, I'm not sure,
 but many flagged notes in succession are rather rare.  The additional
 space I envision should be applied to notes only which don't have a
 beam or a flag.

see

Spring
Note_spacing::get_spacing (Grob *me, Item *right_col,
   Real base_space, Real increment)

which tries to compensate for the symbol width using

  Drul_arraySkyline skys = Spacing_interface::skylines (me, right_col);
  Real distance = skys[LEFT].distance (skys[RIGHT]);


Try looking at the result to see how dots influence the spacing params.


-- 
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


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


Re: spacing problem

2008-08-13 Thread Werner LEMBERG
  Where shall I look?  BTW, is there a documentation how rods and
  springs interact?
 
 Look at simple-spacer.cc to see how the aggregrate works.

Aah, so rods are horizontal constraints which can't compressed
further.

  (If you do anything, please make sure it does the right thing for
  polyphonic situations too.)
 
  Please elaborate.  I'm quite lost here and currently can't see the
  big picture.
 
 If one stave has a dotted note and another has not, the result
 should probably be something average between both. If you put the
 adjustments in the Note_spacing routines (which should get called
 per staff), this should happen automatically

OK.  Will test that.  Thanks for the hints.


Werner


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


Re: spacing problem

2008-08-12 Thread Werner LEMBERG
  It's not specific to dotted notes but to notes which have longer
  durations, and which get squeezed far too much -- the same problem
  occurs for, say, half notes and whole notes.  I simply want to
  control these squeezing values globally.
 
 The spacing is controlled by 2 values in the end: the ideal length
 of the spring, and the width of the fixed part (the remaining is the
 stretchable part).  I guess you want to increase the fixed width for
 these notes (which also decreases the stretching in case of loose
 lines - the springs are symmetric in stretch and shrink).  You could
 experiment with
 
   Spacing_spanner::musical_column_spacing
 
 to tweak the fixed length.

You mean a factor for base_note_space (at least this is what I
understand at looking at this code)?  What about making it
configurable?


Werner


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


Re: spacing problem

2008-08-12 Thread Han-Wen Nienhuys
On Tue, Aug 12, 2008 at 6:33 AM, Werner LEMBERG [EMAIL PROTECTED] wrote:
  It's not specific to dotted notes but to notes which have longer
  durations, and which get squeezed far too much -- the same problem
  occurs for, say, half notes and whole notes.  I simply want to
  control these squeezing values globally.

 The spacing is controlled by 2 values in the end: the ideal length
 of the spring, and the width of the fixed part (the remaining is the
 stretchable part).  I guess you want to increase the fixed width for
 these notes (which also decreases the stretching in case of loose
 lines - the springs are symmetric in stretch and shrink).  You could
 experiment with

   Spacing_spanner::musical_column_spacing

 to tweak the fixed length.

 You mean a factor for base_note_space (at least this is what I
 understand at looking at this code)?  What about making it
 configurable?

It already is to some extent; look at lily/spacing-options.cc


-- 
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


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


Re: spacing problem

2008-08-12 Thread Werner LEMBERG
  You mean a factor for base_note_space (at least this is what I
  understand at looking at this code)?  What about making it
  configurable?
 
 It already is to some extent; look at lily/spacing-options.cc

I can't see anything in this file which influences the minimum value
of a note's fixed-length part.  get_duration_space() is obviously not
what I'm looking for; it rather produces a default value which can
still be squeezed by a spring, right?


Werner


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


Re: spacing problem

2008-08-12 Thread Han-Wen Nienhuys
You're looking for whatever goes into the 2nd argument of the Spring
constructor.

On Tue, Aug 12, 2008 at 1:17 PM, Werner LEMBERG [EMAIL PROTECTED] wrote:
  You mean a factor for base_note_space (at least this is what I
  understand at looking at this code)?  What about making it
  configurable?

 It already is to some extent; look at lily/spacing-options.cc

 I can't see anything in this file which influences the minimum value
 of a note's fixed-length part.  get_duration_space() is obviously not
 what I'm looking for; it rather produces a default value which can
 still be squeezed by a spring, right?


Werner




-- 
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


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


Re: spacing problem

2008-08-12 Thread Werner LEMBERG

  I can't see anything in this file which influences the minimum
  value of a note's fixed-length part.  get_duration_space() is
  obviously not what I'm looking for; it rather produces a default
  value which can still be squeezed by a spring, right?

 You're looking for whatever goes into the 2nd argument of the Spring
 constructor.

Hmm.  In file note-spacing.cc, function Note_Spacing::get_spacing,
which is used in Spacing_Spanner::musical_column_spacing, I see this
code:

  Real distance = skys[LEFT].distance (skys[RIGHT]);
  Real min_dist = max (0.0, distance);
  ...
  Spring ret (max (0.0, ideal), min_dist);
  ...
  return ret;

It seems to me that `distance' can even become zero.  I can't say
whether this can cause problems due to lack of knowledge of the source
code.  On the other hand, musical_column_spacing contains this code in
case the above one isn't called:

  spring = Spring (max (base_note_space, options-increment_),
   options-increment_);

This looks better, however it means that *all* notes, regardless of
its duration, have a minimum width of `spacing-increment' (which is
the Scheme parameter assotiated with `increment_'); the default value
is the width of a note head.  Can this be correct?  Isn't this too
small in tight situations?  Note heads might (almost) touch...

IMHO, this should be configurable.


Werner


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


Re: spacing problem

2008-08-12 Thread Han-Wen Nienhuys
On Tue, Aug 12, 2008 at 5:26 PM, Werner LEMBERG [EMAIL PROTECTED] wrote:

 You're looking for whatever goes into the 2nd argument of the Spring
 constructor.

 Hmm.  In file note-spacing.cc, function Note_Spacing::get_spacing,
 which is used in Spacing_Spanner::musical_column_spacing, I see this
 code:

  Real distance = skys[LEFT].distance (skys[RIGHT]);
  Real min_dist = max (0.0, distance);
  ...
  Spring ret (max (0.0, ideal), min_dist);
  ...
  return ret;

 It seems to me that `distance' can even become zero.  I can't say
 whether this can cause problems due to lack of knowledge of the source
 code.  On the other hand, musical_column_spacing contains this code in
 case the above one isn't called:

  spring = Spring (max (base_note_space, options-increment_),
   options-increment_);

 This looks better, however it means that *all* notes, regardless of
 its duration, have a minimum width of `spacing-increment' (which is
 the Scheme parameter assotiated with `increment_'); the default value
 is the width of a note head.  Can this be correct?  Isn't this too

Yep.

 small in tight situations?  Note heads might (almost) touch...

In tight situations, the rods take over the spacing.  I think there is
a small threshold that makes sure they don't touch.

 IMHO, this should be configurable.

You could look into the Note_spacing class, which could decide to add
some more fixed width if the left side is a dotted note, or perhaps
scale up the fixed width for notes longer than 1/8th. (If you do
anything, please make sure it does the right thing for polyphonic
situations too.)

I am not sure if you should use durations rather than dottedness.
Should a dotted 64th need a lot of space to accomodate for the dot, or
should it be treated like a very short note?

-- 
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


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


Re: spacing problem

2008-08-04 Thread Werner LEMBERG

 AFAIK, the spacing engine does not treat dotted notes specially.
 You may want to isolate the file to just the dotted note and set
 breakpoints in gdb in notespacing.cc to get a better idea of what is
 happening.

It's not specific to dotted notes but to notes which have longer
durations, and which get squeezed far too much -- the same problem
occurs for, say, half notes and whole notes.  I simply want to control
these squeezing values globally.


Werner


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


Re: spacing problem

2008-08-04 Thread Han-Wen Nienhuys
On Mon, Aug 4, 2008 at 3:18 AM, Werner LEMBERG [EMAIL PROTECTED] wrote:
 It's not specific to dotted notes but to notes which have longer
 durations, and which get squeezed far too much -- the same problem
 occurs for, say, half notes and whole notes.  I simply want to control
 these squeezing values globally.

The spacing is controlled by 2 values in the end: the ideal length of
the spring, and the width of the fixed part (the remaining is the
stretchable part).  I guess you want to increase the fixed width for
these notes (which also decreases the stretching in case of loose
lines - the springs are symmetric in stretch and shrink).  You could
experiment with

  Spacing_spanner::musical_column_spacing

to tweak the fixed length.

-- 
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


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


Re: spacing problem

2008-08-04 Thread Joe Neeman
On Mon, 2008-08-04 at 11:34 -0300, Han-Wen Nienhuys wrote:
 On Mon, Aug 4, 2008 at 3:18 AM, Werner LEMBERG [EMAIL PROTECTED] wrote:
  It's not specific to dotted notes but to notes which have longer
  durations, and which get squeezed far too much -- the same problem
  occurs for, say, half notes and whole notes.  I simply want to control
  these squeezing values globally.
 
 The spacing is controlled by 2 values in the end: the ideal length of
 the spring, and the width of the fixed part (the remaining is the
 stretchable part).  I guess you want to increase the fixed width for
 these notes (which also decreases the stretching in case of loose
 lines - the springs are symmetric in stretch and shrink).

Actually, we can now control the stretching independently of the fixed
width. For example, in Note_spacing::get_spacing, the compression
strength of the spring depends on something that is not quite the fixed
width because we don't count flags for their full width.

Joe



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


Re: spacing problem

2008-08-04 Thread Han-Wen Nienhuys
On Mon, Aug 4, 2008 at 7:23 PM, Joe Neeman [EMAIL PROTECTED] wrote:

 The spacing is controlled by 2 values in the end: the ideal length of
 the spring, and the width of the fixed part (the remaining is the
 stretchable part).  I guess you want to increase the fixed width for
 these notes (which also decreases the stretching in case of loose
 lines - the springs are symmetric in stretch and shrink).

 Actually, we can now control the stretching independently of the fixed
 width. For example, in Note_spacing::get_spacing, the compression
 strength of the spring depends on something that is not quite the fixed
 width because we don't count flags for their full width.

Well, yes - I'm not saying that the fixed part of the spring exactly
equals the fixed size of the symbol.

-- 
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


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


spacing problem

2008-08-03 Thread Werner LEMBERG

Please have a look at the attached PDF file, generated from this code:

  \version 2.11.53

  #(ly:set-option 'point-and-click #f)

  \header{
tagline = ##f
  }

  \relative c'' {
d4 r d8[ d d d] |
d4 r d r |
d4 r d8[ d d d] |
d4 r d r |
d4 r d8[ d d d] |
d4 r d r |
d4 r d8[ d d d] |
d4 r d r |
d4 r d8[ d d d] |
r4 des2. |
r2 d4 r |
  }

  \paper {
paper-height = 5.0\cm
ragged-right = ##f
indent = 0.0\cm
  }

This is the `natural' spacing as provided by lilypond.  However, IMHO,
the horizontal spacing of the dotted half note is too small.  How can
I increase it?  I've nothing found in the manual which controls this
squeezing.

Please don't give educated guesses but hard facts -- I tried a lot,
and I wasn't successful.


Werner


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


Re: spacing problem

2008-08-03 Thread Patrick McCarty
On Thu, Jul 31, 2008 at 11:15 AM, Werner LEMBERG [EMAIL PROTECTED] wrote:

 Please have a look at the attached PDF file, generated from this code:

 [snip]

 This is the `natural' spacing as provided by lilypond.  However, IMHO,
 the horizontal spacing of the dotted half note is too small.  How can
 I increase it?  I've nothing found in the manual which controls this
 squeezing.

Hi Werner,

You can tweak the 'extra-spacing-width property like so:

  \version 2.11.53

  #(ly:set-option 'point-and-click #f)

  \header{
tagline = ##f
  }

  \relative c'' {
d4 r d8[ d d d] |
d4 r d r |
d4 r d8[ d d d] |
d4 r d r |
d4 r d8[ d d d] |
d4 r d r |
d4 r d8[ d d d] |
d4 r d r |
d4 r d8[ d d d] |
r4
\override NoteHead #'extra-spacing-width = #'(0 . 3)
des2. |
\revert NoteHead #'extra-spacing-width
r2 d4 r |
  }

  \paper {
paper-height = 5.0\cm
ragged-right = ##f
indent = 0.0\cm
  }

There is an example in LM 4.4.3 using DynamicText, and the property
description is in LM 4.5.1.

HTH,
Patrick


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


Re: spacing problem

2008-08-03 Thread Werner LEMBERG
 You can tweak the 'extra-spacing-width property like so: [...]

Thanks.  I was unclear, sorry: I want to control it globally -- all
such occurrences are bad; IMHO a dotted half note must never have so
little vertical space (but this is both a matter of taste and the
circumstances: within a part it might be fine; within a score it is
horrible).


Werner


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



Re: spacing problem

2008-08-03 Thread Han-Wen Nienhuys
Hi,

AFAIK, the spacing engine does not treat dotted notes specially.   You
may want to isolate the file to just the dotted note and set
breakpoints in gdb in notespacing.cc to get a better idea of what is
happening.

On Sun, Aug 3, 2008 at 4:05 PM, Werner LEMBERG [EMAIL PROTECTED] wrote:
 You can tweak the 'extra-spacing-width property like so: [...]

 Thanks.  I was unclear, sorry: I want to control it globally -- all
 such occurrences are bad; IMHO a dotted half note must never have so
 little vertical space (but this is both a matter of taste and the
 circumstances: within a part it might be fine; within a score it is
 horrible).

-- 
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen


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


Re: solved: Staff spacing problem with piano centered dynamics

2008-07-17 Thread Neil Puttock
Hi Jim,

2008/7/17 jimmy2 [EMAIL PROTECTED]:

 I still wish I knew how to force staves of a particular system to be closer.
 I tried various commands which seemed like they should work, but with no
 effect.

Have a look at the headword for NR 1.8 `Text'
(http://kainhofer.com/~lilypond/Documentation/user/lilypond/Text.html#Text).
The second system has a forced distance of 12 staff spaces using
\overrideProperty Score.NonMusicalPaperColumn
#'line-break-system-details.

Section 4.5.3 `Explicit staff and system positioning'
(http://kainhofer.com/~lilypond/Documentation/user/lilypond/Explicit-staff-and-system-positioning.html#Explicit-staff-and-system-positioning)
shows you how to tweak the spacing between staves.

Regards,
Neil


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


Re: solved: Staff spacing problem with piano centered dynamics

2008-07-17 Thread Neil Puttock
2008/7/17 Jim Cline [EMAIL PROTECTED]:
 Hi Neil,
 thanks for the info!  I had plowed through section 4.5.3 previously, but the
 explicit example you mentioned looks like it will be more helpful--Jim

Unfortunately, that section is undermined by the formatting of the
examples, since every system should appear as six bars wide; I can't
blame you if you found it slightly confusing. :)

Just a word of warning: if you're using the centred dynamics template,
the dynamics spanner is like an invisible stave, so it must be
included in the list of offsets in #'line-break-system-details.

Regards,
Neil


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


Staff spacing problem with piano centered dynamics

2008-07-14 Thread jimmy2

After months of work, I just finished setting a long piece for piano, using
the example
LES NÉRÉIDES given in http://lilypond.org/doc/v2.5/examples.html as a
template.
This uses dynamics between the two staves,

\score {
   \new PianoStaff 
 \new Staff = upper \upper
 \new Dynamics = dynamics \dynamics
 \new Staff = lower 
   \clef bass
   \lower
 ...

The problem is that whenever dynamics are present, they tend to create much 
more extra space between the staves than is necessary, leading to very
nonuniform looking
systems (see  http://www.nabble.com/file/p18454033/example.jpg example.jpg
).  I have tried everything  I could find in the documentation and on this
forum which seemed to be relevant, and nothing has had any effect on this
unwanted extra vertical space.   I will greatly appreciate any advice!
--Jim
-- 
View this message in context: 
http://www.nabble.com/Staff-spacing-problem-with-piano-centered-dynamics-tp18454033p18454033.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: Staff spacing problem with piano centered dynamics

2008-07-14 Thread Mats Bengtsson

What LilyPond version do you use? Don't expect an example written for
version 2.5 to provide optimal layout in a later version, especially
not if it uses such  strange tricks as this particular example. To find
a relevant example to use as a starting point, look at the Templates
section of the manual for your version of LilyPond. Note also that the
vertical alignment handling has been significantly revised and improved
in the latest development version, 2.11.x, which by now is at least as
bug free as the stable 2.10.33 version.

   /Mats

Quoting jimmy2 [EMAIL PROTECTED]:



After months of work, I just finished setting a long piece for piano, using
the example
LES NÉRÉIDES given in http://lilypond.org/doc/v2.5/examples.html as a
template.
This uses dynamics between the two staves,

\score {
  \new PianoStaff 
\new Staff = upper \upper
\new Dynamics = dynamics \dynamics
\new Staff = lower 
  \clef bass
  \lower
...

The problem is that whenever dynamics are present, they tend to create much
more extra space between the staves than is necessary, leading to very
nonuniform looking
systems (see  http://www.nabble.com/file/p18454033/example.jpg example.jpg
).  I have tried everything  I could find in the documentation and on this
forum which seemed to be relevant, and nothing has had any effect on this
unwanted extra vertical space.   I will greatly appreciate any advice!
--Jim
--
View this message in context:
http://www.nabble.com/Staff-spacing-problem-with-piano-centered-dynamics-tp18454033p18454033.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







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


Re: Staff spacing problem with piano centered dynamics

2008-07-14 Thread Jim Cline

Hi Mats,

I am using version 2.11.46.  The layout I was using appeared to correspond 
to that of 2.10 (in fact, I'm no longer sure I used Les Nereides, I may 
have just gotten the template from the proper place for 2.10).  I have now 
fixed the layout to follow the 2.11 documentation, 
http://lilypond.org/doc/v2.11/Documentation/user/lilypond-learning/Piano-templates#Piano-templates 
The only differences I noticed between the two versions was the addition 
of


\override DynamicLineSpanner #'Y-offset = #0

in 2.11 and the omission of the lines

   \override DynamicText #'extra-offset = #'(0 . 2.5)
   \override Hairpin #'extra-offset = #'(0 . 2.5)
   \override VerticalAlignment #'forced-distance = #7

which were present in 2.10.  Anyway I have tried all combinations of the 
above, and there is still no effect on the problematic systems.  I have 
attached the layout section in case you can spot something that I have 
missed.  Thanks!


--Jim

On Tue, 15 Jul 2008, Mats Bengtsson wrote:

What LilyPond version do you use? Don't expect an example written for version 
2.5 to provide optimal layout in a later version, especially not if it uses 
such  strange tricks as this particular example. To find a relevant example 
to use as a starting point, look at the Templates section of the manual for 
your version of LilyPond. Note also that the vertical alignment handling has 
been significantly revised and improved in the latest development version, 
2.11.x, which by now is at least as bug free as the stable 2.10.33 version.


  /Mats

Quoting jimmy2 [EMAIL PROTECTED]:



After months of work, I just finished setting a long piece for piano, using
the example
LES NÉRÉIDES given in http://lilypond.org/doc/v2.5/examples.html as a
template.
This uses dynamics between the two staves,

\score {
  \new PianoStaff 
\new Staff = upper \upper
\new Dynamics = dynamics \dynamics
\new Staff = lower 
  \clef bass
  \lower
...

The problem is that whenever dynamics are present, they tend to create much
more extra space between the staves than is necessary, leading to very
nonuniform looking
systems (see  http://www.nabble.com/file/p18454033/example.jpg example.jpg
).  I have tried everything  I could find in the documentation and on this
forum which seemed to be relevant, and nothing has had any effect on this
unwanted extra vertical space.   I will greatly appreciate any advice!
--Jim
--
View this message in context: 
http://www.nabble.com/Staff-spacing-problem-with-piano-centered-dynamics-tp18454033p18454033.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




 \score {
   \new PianoStaff 
 \new Staff = upper \upper
 \new Dynamics = dynamics \dynamics
 \new Staff = lower 
   \clef bass
   \lower
 
 \new Dynamics = pedal \pedal
   
   \layout {
 \context {
   \type Engraver_group
   \name Dynamics
   \alias Voice % So that \cresc works, for example.
   \consists Output_property_engraver
   \override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 1)
   \override DynamicLineSpanner #'Y-offset = #0
   pedalSustainStrings = #'(Ped. *Ped. *)
   pedalUnaCordaStrings = #'(una corda  tre corde)
 
   \consists Piano_pedal_engraver
   \consists Script_engraver
   \consists Dynamic_engraver
   \consists Text_engraver
 
   \override TextScript #'font-size = #2
   \override TextScript #'font-shape = #'italic
%   \override DynamicText #'extra-offset = #'(0 . 2.5)
%   \override Hairpin #'extra-offset = #'(0 . 2.5)
 
   \consists Skip_event_swallow_translator
 
   \consists Axis_group_engraver
 }
 \context {
   \PianoStaff
   \accepts Dynamics
%   \override VerticalAlignment #'forced-distance = #7
 }
   }
 }

 \score {
   \new PianoStaff  
 \new Staff = upper  \upper \dynamics 
 \new Staff = lower  \lower \dynamics 
 \new Dynamics = pedal \pedal
   
   \midi {
 \context {
   \type Performer_group
   \name Dynamics
   \consists Piano_pedal_performer
 }
 \context {
   \PianoStaff
   \accepts Dynamics
 }
   }
 }

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


Spacing problem

2007-07-26 Thread Siska Ádám

Hello,


I'm now getting some spacing errors with noteheads. I attach an image.
Is this some positioning bug in 2.11? (In 2.10 I didn't notice it.) If 
not, is there some possible workaround for cases like these? (Both are 
produced at beam endings, so maybe if there is some method for 
increasing space between beams, that could also help.)



Thank you,
Adam



Siska Ádám
+36 (70) 207-63-85
http://apocalypse.rulez.org/~sadam
inline: ScreenShot.tiff___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Spacing problem

2007-07-26 Thread Trevor Bača

On 7/26/07, Siska Ádám [EMAIL PROTECTED] wrote:

Hello,


I'm now getting some spacing errors with noteheads. I attach an image.
Is this some positioning bug in 2.11? (In 2.10 I didn't notice it.) If
not, is there some possible workaround for cases like these? (Both are
produced at beam endings, so maybe if there is some method for
increasing space between beams, that could also help.)


The pic helps, but very hard to debug without seeing the input code.

Can you produce a minimal example that, for example, shows just those
two measures?


--
Trevor Bača
[EMAIL PROTECTED]
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Spacing problem

2007-07-26 Thread Siska Ádám

Hello,


I've sent the score to the list a few time ago, but it didn't arrive for 
me, although normally I get a copy of my own messages posted to the 
list. Did it arrive, or is there some restrictions for attachment type 
and/or size on this list?


Thank you,
Adam



Siska Ádám
+36 (70) 207-63-85
http://apocalypse.rulez.org/~sadam


Trevor Bača wrote:

On 7/26/07, Siska Ádám [EMAIL PROTECTED] wrote:

Hello,


I'm now getting some spacing errors with noteheads. I attach an image.
Is this some positioning bug in 2.11? (In 2.10 I didn't notice it.) If
not, is there some possible workaround for cases like these? (Both are
produced at beam endings, so maybe if there is some method for
increasing space between beams, that could also help.)


The pic helps, but very hard to debug without seeing the input code.

Can you produce a minimal example that, for example, shows just those
two measures?





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


weird horizontal-spacing problem

2006-08-02 Thread David Griffel
I'm a beginner with lilypond, have learnt a lot from the documentation, 
but here's a problem I can't solve.


I'm writing the score of a piano song, with lyrics between the staves. 
The music has verbose performance instructions at various points, which 
I've done like this:


 f bes \emptyText ees
 ^ Immer staerker und lebhafter
 f

Mostly this works fine.  But the text above appears in the last line of 
the song, and the result is a really ugly large horizontal space in the 
music, seehttp://www.zen22109.zen.co.uk/screenshot-1.jpg


For the .ly file see  http://www.zen22109.zen.co.uk/geheim__.ly
I've marked the relevant bit with %  HERE IS THE PROBLEM

I've searched the online documentation, and the only helpful thing I've 
found is \emptyText, which doesn't work here, and a statement somewhere 
that lilypond has no way of adjusting horizontal spacing (!!)


Comments and attempts to diagnose:

*  inserting text earlier in the score works perfectly

*  the problem does not go away if I use \ragged-right, see 
http://www.zen22109.zen.co.uk/screenshot-2.jpg


*  the problem goes away if I don't print the lyrics: spacing is then OK

*  the problem goes away if I comment out the text: % ^ ...
So it's not purely a lyrics problem.

*  I don't use  \lyricsto  because the upper stave has some sections in 
a single voice and other sections in two voices, so there's no unique 
voice to attach the lyrics to.


I hope it's not some really stupid beginner's mistake . . . well 
actually I hope it _is_, because then it'll be easy to fix.  Any help 
will be much appreciated,


David Griffel


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


Re: weird horizontal-spacing problem

2006-08-02 Thread Mats Bengtsson
It indeed seems as if you have hit a weird bug. I send a copy to the 
bug-lilypond

mailing list and note that the following short example shows the same bug:

\version 2.9.14
\score{
 \new GrandStaff
 
   \new Staff = trebleStaff \relative c' {
 \key aes  \major
 \time 2/4
 
{f8 bes \emptyText ees ^Immer staerker und lebhafter f }
\\
{ d, bes' bes aes }
 

}
   \new Lyrics \lyricmode {zu,8 und nur ein }
 
\layout{ragged-right = ##t }
}


However, the bug also seems related to the fact that you don't use 
\lyricsto.
You can easily use \lyricsto even in a situation like this where the 
sopranos
occasionally split into divisi. See the first example of Sect. Divisi 
Lyrics

in the manual (just leave out the lyrics for the split part). See also the
section on Explicitly Instantiating Voices. Actually, here comes a
modified version of the previous example using \lyricsto, which also shows
how to do the settings to get bar numbers every 5th bar line (all 
settings like
these have to be done within a context, they can't be done at the top 
level of

the \score block.


\score{
 \new GrandStaff
 
   \set Score.barNumberVisibility = #(every-nth-bar-number-visible 5)
   \override Score.BarNumber  #'break-visibility = #end-of-line-invisible

   \new Staff = trebleStaff \new Voice = upper \relative c' {
 \key aes  \major
 \time 2/4
 f2
 
{\voiceOne f8 bes \emptyText ees ^Immer staerker und 
lebhafter f }

\new Voice { \voiceTwo d, bes' bes aes }
  \oneVoice
 f2
}
   \new Lyrics \lyricsto upper {zu,8 und nur ein }
 
\layout{ragged-right = ##t }
}

  /Mats

David Griffel wrote:

I'm a beginner with lilypond, have learnt a lot from the 
documentation, but here's a problem I can't solve.


I'm writing the score of a piano song, with lyrics between the staves. 
The music has verbose performance instructions at various points, 
which I've done like this:


 f bes \emptyText ees
 ^ Immer staerker und lebhafter
 f

Mostly this works fine.  But the text above appears in the last line 
of the song, and the result is a really ugly large horizontal space in 
the music, seehttp://www.zen22109.zen.co.uk/screenshot-1.jpg


For the .ly file see  http://www.zen22109.zen.co.uk/geheim__.ly
I've marked the relevant bit with %  HERE IS THE PROBLEM

I've searched the online documentation, and the only helpful thing 
I've found is \emptyText, which doesn't work here, and a statement 
somewhere that lilypond has no way of adjusting horizontal spacing (!!)


Comments and attempts to diagnose:

*  inserting text earlier in the score works perfectly

*  the problem does not go away if I use \ragged-right, see 
http://www.zen22109.zen.co.uk/screenshot-2.jpg


*  the problem goes away if I don't print the lyrics: spacing is then OK

*  the problem goes away if I comment out the text: % ^ ...
So it's not purely a lyrics problem.

*  I don't use  \lyricsto  because the upper stave has some sections 
in a single voice and other sections in two voices, so there's no 
unique voice to attach the lyrics to.


I hope it's not some really stupid beginner's mistake . . . well 
actually I hope it _is_, because then it'll be easy to fix.  Any help 
will be much appreciated,


David Griffel


___
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


spacing problem

2005-11-24 Thread Andreas Rittershofer
I have two drumvoices, both are in 5/8.

voiceTwo has five eights, this is easy.

voiceOne has six eights in the same time, made with \times 5/6.

The layout is ugly, the spacing of the notes isn't equidistant in
neither voice nor are the first and last notes aligned vertically.

How to fix this?

mfg ar
-- 
E-Learning in der Schule:
http://www.dbg-metzingen.de/Menschen/Lehrer/Q-T/Rittershofer/E-Learning/



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


Re: spacing problem

2005-11-24 Thread Mats Bengtsson



Andreas Rittershofer wrote:

I have two drumvoices, both are in 5/8.

voiceTwo has five eights, this is easy.

voiceOne has six eights in the same time, made with \times 5/6.

The layout is ugly, the spacing of the notes isn't equidistant in
neither voice nor are the first and last notes aligned vertically.

The first notes should be aligned but not the last ones, right?

Did you take a look at the last example in the section on Polymetric
notation?

I tried a variation of that example adopted to your situation and
noticed that the spacing was a bit uneven if the total score didn't
fill the first line, but if you set raggedright=##t or fill the score
with more music, the spacing looks really good as far as I can see.

   /Mats


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


Re: Spacing Problem

2004-09-22 Thread Michael Lakes
Yes, well, the original sheet where I saw the problem was broken at 2 
measures.  Breaking it at 1 measure wouldn't look good.  But I suppose 
everything will space wider ...

I don't have a problem with the breaking of the measures though.  The 
problem is the inconsistent spaces of the 8th notes (as you can see from the 
output of the code I posted).  There's one 8th note in consecutive series of 
8th notes that had the spacing about the same as 16th note, as I said, this 
is immediately noticeable.  And gives me pauses when I try to read through 
it.


From: Jack O'Quin [EMAIL PROTECTED]
To: Michael Lakes [EMAIL PROTECTED]
CC: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: Spacing Problem
Date: 21 Sep 2004 09:54:47 -0500
Michael Lakes [EMAIL PROTECTED] writes:
 Yeah, fixed note spacing base on note duration would not be good.  I
 thought of that as a fix for this problem, which would look better
 than what's currently produced.


 Notes in a measure probably should have the same spacing if they're
 the same notes.  This case, the 8th note seems to have half the space
 compare to other 8th notes which is immediately noticeable.


 I tried some of those parameters but doesn't seem to get the output I
 want.  It seems not possible to produce fixed outputs proportional to
 the duration ...
I've had good results printing jazz charts in 4- or 8-bar lines by
inserting a few \break commands in strategic places.  This does make
most 32-bar standards easier to read.
Lily does a good job of dividing the intervening measures in sensible
ways.  Very rarely, I add a \noBreak somewhere.  I see no reason to
force each measure to exactly the same width.
My band members really like these charts, BTW.  They are easier to
read than most printed Fake Books.  Thanks to all who created this
great program...
--
  joq
_
Get ready for school! Find articles, homework help and more in the Back to 
School Guide! http://special.msn.com/network/04backtoschool.armx


___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Spacing Problem

2004-09-22 Thread Mats Bengtsson
New attempt to answer the original question!
I played a bit with your example. If you really want all the 8th notes
spaced as if there was a regular set of 16th notes in another voice,
you can easily fake that using an invisible voice with all 16th notes,
as shown in the second bar of my example below.
However, I'm still convinced that it's not good typesetting practice to
typeset all eighth notes of a bar (or even of a single beam) with
equal spacing. Consider for example the more extreme case in the third
bar of my example. Do you really prefer the equal spacing that I have
faked in the fourth bar?
If you really want to claim that the layout is incorrect, you should
read http://lilypond.org/web/about/automated-engraving/ and then go
to your collection of music and really check how it's done in well
typeset scores.
\version 2.2.2
\score {
  \notes\relative c'''{
  {a8 a a a a a a a}\\
{a,16 a a a a a a a a8 a16 a a a a a}
  {a'8 a a a a a a a}\\
{a,16 a a a a a a a a8 a16 a a a a a}\\
{\hideNotes \repeat unfold 16 d16} \break
  {a'8 a a a a a a a}\\
{a,8[ a32 gis a b ] \repeat unfold 12 a16}
  {a'8 a a a a a a a}\\
{a,8[ a32 gis a b ] \repeat unfold 12 a16}\\
{\hideNotes\repeat unfold 16 d32}
 }
}
   /Mats
Michael Lakes wrote:
Hello again,
There seems to be incorrect spacing for the code below.  The 8th notes 
in the middle of the measures don't have the same spacing as other 8th 
notes.

Is there any way to correct this?  I tried some of the spacing 
parameters but didn't seem to do work ... Oh, is it possible to make the 
spacing of the notes fixed (like 8th notes always get 1cm, 16th notes 
get .5cm)?

\version 2.2.2
\score {
 \notes {
 \relative c'''{{a8 a a a a a a a}\\{a,16 a a a a a a a a8 a16 
a a a a a}}
 \relative c'''{{a8 a a a a a a a}\\{a,16 a a a a a a a a8 a16 
a a a a a}}
 \relative c'''{{a8 a a a a a a a}\\{a,16 a a a a a a a a8 a16 
a a a a a}}

 }
}
_
Get ready for school! Find articles, homework help and more in the Back 
to School Guide! http://special.msn.com/network/04backtoschool.armx


___
lilypond-user mailing list
[EMAIL PROTECTED]
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
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Spacing Problem

2004-09-22 Thread Michael Lakes
Ah, didn't even think about using the invisible notes!  This works perfectly 
for the piece (it's a little different than what I posted, but the rythm and 
note durations are the same).  Thanks a lot!

eh, yes, I agree equal spacing wouldn't be correct in most cases.  But I'm 
looking at a very specific case (maybe shows automated music engraving is 
very hard to achieved? props to the developers).  However, I do think equal 
note duration in a measure should get equal spacing.   But, there're two 
voice in the measure ... correct spacing in one means incorrect spacing for 
another.   Maybe some compromise needs to be reach.  The default Lilypond 
output group the 8th notes too close making the note look like 16th note 
relative to the other 8th notes.

Thanks for the answer, it's greatly appreciated!
From: Mats Bengtsson [EMAIL PROTECTED]
To: Michael Lakes [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: Spacing Problem
Date: Wed, 22 Sep 2004 10:34:05 +0200
New attempt to answer the original question!
I played a bit with your example. If you really want all the 8th notes
spaced as if there was a regular set of 16th notes in another voice,
you can easily fake that using an invisible voice with all 16th notes,
as shown in the second bar of my example below.
However, I'm still convinced that it's not good typesetting practice to
typeset all eighth notes of a bar (or even of a single beam) with
equal spacing. Consider for example the more extreme case in the third
bar of my example. Do you really prefer the equal spacing that I have
faked in the fourth bar?
If you really want to claim that the layout is incorrect, you should
read http://lilypond.org/web/about/automated-engraving/ and then go
to your collection of music and really check how it's done in well
typeset scores.
\version 2.2.2
\score {
  \notes\relative c'''{
  {a8 a a a a a a a}\\
{a,16 a a a a a a a a8 a16 a a a a a}
  {a'8 a a a a a a a}\\
{a,16 a a a a a a a a8 a16 a a a a a}\\
{\hideNotes \repeat unfold 16 d16} \break
  {a'8 a a a a a a a}\\
{a,8[ a32 gis a b ] \repeat unfold 12 a16}
  {a'8 a a a a a a a}\\
{a,8[ a32 gis a b ] \repeat unfold 12 a16}\\
{\hideNotes\repeat unfold 16 d32}
 }
}
   /Mats
Michael Lakes wrote:
Hello again,
There seems to be incorrect spacing for the code below.  The 8th notes in 
the middle of the measures don't have the same spacing as other 8th notes.

Is there any way to correct this?  I tried some of the spacing parameters 
but didn't seem to do work ... Oh, is it possible to make the spacing of 
the notes fixed (like 8th notes always get 1cm, 16th notes get .5cm)?

\version 2.2.2
\score {
 \notes {
 \relative c'''{{a8 a a a a a a a}\\{a,16 a a a a a a a a8 a16 
a a a a a}}
 \relative c'''{{a8 a a a a a a a}\\{a,16 a a a a a a a a8 a16 
a a a a a}}
 \relative c'''{{a8 a a a a a a a}\\{a,16 a a a a a a a a8 a16 
a a a a a}}

 }
}
_
Get ready for school! Find articles, homework help and more in the Back to 
School Guide! http://special.msn.com/network/04backtoschool.armx


___
lilypond-user mailing list
[EMAIL PROTECTED]
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
=
_
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Spacing Problem

2004-09-21 Thread Michael Lakes
Yeah, fixed note spacing base on note duration would not be good.  I thought 
of that as a fix for this problem, which would look better than what's 
currently produced.

Notes in a measure probably should have the same spacing if they're the same 
notes.  This case, the 8th note seems to have half the space compare to 
other 8th notes which is immediately noticeable.

I tried some of those parameters but doesn't seem to get the output I want.  
It seems not possible to produce fixed outputs proportional to the duration 
...

Thanks though.
From: Mats Bengtsson [EMAIL PROTECTED]
To: Michael Lakes [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: Spacing Problem
Date: Mon, 20 Sep 2004 12:52:28 +0200
Have your read
http://lilypond.org/doc/v2.2/Documentation/user/out-www/lilypond/Horizontal-spacing.html
I guess the main authors of LilyPond would say that they didn't
implement it to be able to produce such an ugly layout, you may
still be able to get fixed note spacing by adjusting these parameters.
/Mats
Michael Lakes wrote:
Hello again,
There seems to be incorrect spacing for the code below.  The 8th notes in 
the middle of the measures don't have the same spacing as other 8th notes.

Is there any way to correct this?  I tried some of the spacing parameters 
but didn't seem to do work ... Oh, is it possible to make the spacing of 
the notes fixed (like 8th notes always get 1cm, 16th notes get .5cm)?

\version 2.2.2
\score {
 \notes {
 \relative c'''{{a8 a a a a a a a}\\{a,16 a a a a a a a a8 a16 
a a a a a}}
 \relative c'''{{a8 a a a a a a a}\\{a,16 a a a a a a a a8 a16 
a a a a a}}
 \relative c'''{{a8 a a a a a a a}\\{a,16 a a a a a a a a8 a16 
a a a a a}}

 }
}
_
Get ready for school! Find articles, homework help and more in the Back to 
School Guide! http://special.msn.com/network/04backtoschool.armx


___
lilypond-user mailing list
[EMAIL PROTECTED]
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
=
_
On the road to retirement? Check out MSN Life Events for advice on how to 
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement


___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Spacing Problem

2004-09-21 Thread Jack O'Quin
Michael Lakes [EMAIL PROTECTED] writes:

 Yeah, fixed note spacing base on note duration would not be good.  I
 thought of that as a fix for this problem, which would look better
 than what's currently produced.
 
 
 Notes in a measure probably should have the same spacing if they're
 the same notes.  This case, the 8th note seems to have half the space
 compare to other 8th notes which is immediately noticeable.
 
 
 I tried some of those parameters but doesn't seem to get the output I
 want.  It seems not possible to produce fixed outputs proportional to
 the duration ...

I've had good results printing jazz charts in 4- or 8-bar lines by
inserting a few \break commands in strategic places.  This does make
most 32-bar standards easier to read.

Lily does a good job of dividing the intervening measures in sensible
ways.  Very rarely, I add a \noBreak somewhere.  I see no reason to
force each measure to exactly the same width.

My band members really like these charts, BTW.  They are easier to
read than most printed Fake Books.  Thanks to all who created this
great program...
-- 
  joq


___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: vertical spacing problem

2004-09-20 Thread Nancho Alvarez
D Josiah Boothby wrote:
Hello, all,
I'd like to change either the vertical spacing or the global staff 
size after page one, and can't figure out a way to do that. If I have 
the spacing such that p.1 fits three systems, p.2 has a glaringly 
large white space at the bottom. To see what I'm talking about, you 
can download from the following urls the first two pages of the score 
(in .png or .pdf, depending on your preference).

Maybe you can try  to put in the paper secion the lines
   interscoreline= 0.0 \cm
   interscorelinefill= 1.0
This is not what you ask,  but makes the staffs spaced to fill the whole 
page.
I hope it helps
  NANCHO


___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Spacing Problem

2004-09-20 Thread Mats Bengtsson
Have your read
http://lilypond.org/doc/v2.2/Documentation/user/out-www/lilypond/Horizontal-spacing.html
I guess the main authors of LilyPond would say that they didn't
implement it to be able to produce such an ugly layout, you may
still be able to get fixed note spacing by adjusting these parameters.
/Mats
Michael Lakes wrote:
Hello again,
There seems to be incorrect spacing for the code below.  The 8th notes 
in the middle of the measures don't have the same spacing as other 8th 
notes.

Is there any way to correct this?  I tried some of the spacing 
parameters but didn't seem to do work ... Oh, is it possible to make the 
spacing of the notes fixed (like 8th notes always get 1cm, 16th notes 
get .5cm)?

\version 2.2.2
\score {
 \notes {
 \relative c'''{{a8 a a a a a a a}\\{a,16 a a a a a a a a8 a16 
a a a a a}}
 \relative c'''{{a8 a a a a a a a}\\{a,16 a a a a a a a a8 a16 
a a a a a}}
 \relative c'''{{a8 a a a a a a a}\\{a,16 a a a a a a a a8 a16 
a a a a a}}

 }
}
_
Get ready for school! Find articles, homework help and more in the Back 
to School Guide! http://special.msn.com/network/04backtoschool.armx


___
lilypond-user mailing list
[EMAIL PROTECTED]
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
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Spacing Problem

2004-09-18 Thread Michael Lakes
Hello again,
There seems to be incorrect spacing for the code below.  The 8th notes in 
the middle of the measures don't have the same spacing as other 8th notes.

Is there any way to correct this?  I tried some of the spacing parameters 
but didn't seem to do work ... Oh, is it possible to make the spacing of the 
notes fixed (like 8th notes always get 1cm, 16th notes get .5cm)?

\version 2.2.2
\score {
 	\notes {
 		\relative c'''{{a8 a a a a a a a}\\{a,16 a a a a a a a a8 a16 a a a a 
a}}
 		\relative c'''{{a8 a a a a a a a}\\{a,16 a a a a a a a a8 a16 a a a a 
a}}
 		\relative c'''{{a8 a a a a a a a}\\{a,16 a a a a a a a a8 a16 a a a a 
a}}

}
}
_
Get ready for school! Find articles, homework help and more in the Back to 
School Guide! http://special.msn.com/network/04backtoschool.armx


___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


vertical spacing problem

2004-09-18 Thread D Josiah Boothby
Hello, all,
I'd like to change either the vertical spacing or the global staff size 
after page one, and can't figure out a way to do that. If I have the 
spacing such that p.1 fits three systems, p.2 has a glaringly large white 
space at the bottom. To see what I'm talking about, you can download from 
the following urls the first two pages of the score (in .png or .pdf, 
depending on your preference).

http://students.washington.edu/josiah/lilypond/ricercare-page1.png
http://students.washington.edu/josiah/lilypond/ricercare-page2.png
http://students.washington.edu/josiah/lilypond/ricercare-pages-1-2.pdf
The following is from my .ly, and I haven't been successful at trying to 
set the global staff size more than once, and same with setting the 
Staff.minimumVerticalExtent.

\version 2.2.6
#(set-global-staff-size 14)
global = \notes {
\set Staff.minimumVerticalExtent = #'(-5 . 5)
...
}
___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Staff Lyrics vertical spacing problem

2004-08-16 Thread Alexis de Bernis
On Fri, Aug 13, 2004 at 10:09:19AM +0200, Mats Bengtsson wrote:
 I suppose that you used the property Staff.minimumVerticalExtent,
 which affects the spacing around each stave, no matter if it's one
 stave out of several in a full orchestral score or if it's the only
 stave.
 
 The distance between score lines is affected by a paper variable called
 interscoreline, as described in Section 4.6.5 Page layout of the manual.
 You may want to reduce that instead.
 
/Mats


Thanks to all of you for your answers. Reducing interscoreline
made it in a very convenient way :-)



-- Alexis




 
 Graham Percival wrote:
 On 12-Aug-04, at 11:58 AM, [EMAIL PROTECTED] wrote:
 
 I experience some little glitches by trying to reduce the overall
 vertical spacing on a very simple song containing a line of lyrics and
 only one staff. When I reduce verticalExtent, it looks like the first
 two lines of Staff are closer than the other lines... I have seen no
 way to reduce the vertical Extent for all the lines without the two
 first ones being closer than the succeeding ones.
 
[...]



___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Staff Lyrics vertical spacing problem

2004-08-13 Thread Graham Percival
On 12-Aug-04, at 11:58 AM, [EMAIL PROTECTED] wrote:
I experience some little glitches by trying to reduce the overall
vertical spacing on a very simple song containing a line of lyrics and
only one staff. When I reduce verticalExtent, it looks like the first
two lines of Staff are closer than the other lines... I have seen no
way to reduce the vertical Extent for all the lines without the two
first ones being closer than the succeeding ones.
The other staff lines might be forced to be farther apart due to
articulations, text, dynamics, etc.  Certainly the verticalExtent
property is supposed to affect all lines.  What happens if you set
verticalExtent to a really small number (ie 0), or a really big
number (say, 10) ?  Does the problem remain?
If the problem remains, could you send us a small example that 
demonstrates this?

P.S : please CC me the answer since I am not on the list !
Don't worry; policy on this list is to CC everybody, even when we know
that they're on the list.  :)
Cheers,
- Graham

___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


cc'ing was: Re: Staff Lyrics vertical spacing problem

2004-08-13 Thread Paul Scott
Graham Percival wrote:
Don't worry; policy on this list is to CC everybody, even when we know
that they're on the list.  :)
Does anyone have a problem with my not cc'ing people that I know are on 
the list?

Paul Scott

___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Staff Lyrics vertical spacing problem

2004-08-13 Thread Mats Bengtsson
I suppose that you used the property Staff.minimumVerticalExtent,
which affects the spacing around each stave, no matter if it's one
stave out of several in a full orchestral score or if it's the only
stave.
The distance between score lines is affected by a paper variable called
interscoreline, as described in Section 4.6.5 Page layout of the manual.
You may want to reduce that instead.
   /Mats
Graham Percival wrote:
On 12-Aug-04, at 11:58 AM, [EMAIL PROTECTED] wrote:
I experience some little glitches by trying to reduce the overall
vertical spacing on a very simple song containing a line of lyrics and
only one staff. When I reduce verticalExtent, it looks like the first
two lines of Staff are closer than the other lines... I have seen no
way to reduce the vertical Extent for all the lines without the two
first ones being closer than the succeeding ones.

The other staff lines might be forced to be farther apart due to
articulations, text, dynamics, etc.  Certainly the verticalExtent
property is supposed to affect all lines.  What happens if you set
verticalExtent to a really small number (ie 0), or a really big
number (say, 10) ?  Does the problem remain?
If the problem remains, could you send us a small example that 
demonstrates this?

P.S : please CC me the answer since I am not on the list !

Don't worry; policy on this list is to CC everybody, even when we know
that they're on the list.  :)
Cheers,
- Graham

___
lilypond-user mailing list
[EMAIL PROTECTED]
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
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Staff Lyrics vertical spacing problem

2004-08-13 Thread Graham Percival
On 13-Aug-04, at 1:21 AM, Jan Nieuwenhuizen wrote:
Graham Percival writes:
P.S : please CC me the answer since I am not on the list !
Don't worry; policy on this list is to CC everybody, even when we know
that they're on the list.  :)
Unless the header Mail-Followup-To: header indicates that sender does
not want copies, of course.
Yes, true.  But that's automatically taken care of by any modern
email client.
Paul: I don't think that anybody minds not being cc'd if they
subscribe to the list; it's just that it's easier for us to simply
hit the reply to all key instead of wondering if somebody is on
the list or not and trimming accordingly.  And since we know that
that's the policy, we don't mind receiving two copies instead of one.
Cheers,
- Graham

___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Staff Lyrics vertical spacing problem

2004-08-12 Thread alexis



Hi,


I am a newcomer to the marvelous word of lilypond, and first, I would
like to thank you for such a great program !

I experience some little glitches by trying to reduce the overall
vertical spacing on a very simple song containing a line of lyrics and
only one staff. When I reduce verticalExtent, it looks like the first
two lines of Staff are closer than the other lines... I have seen no
way to reduce the vertical Extent for all the lines without the two
first ones being closer than the succeeding ones.

Could you help me with that ? Is there a sort of added vertical
extent from the second line ? I can not find a way to further reduce
the space between the bottom of a lyrics line and the top of the next
line of Staff that works for the after-first line of lyrics...

Thanks in advance,

-- Alexis

P.S : please CC me the answer since I am not on the list !




___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Figured bass spacing problem

2003-07-24 Thread Han-Wen Nienhuys
[EMAIL PROTECTED] writes:
  I've changed this in 1.7 CVS, by introducing
  alignBassFigureAccidentals. It defaults to off, which produces your
  desired notation. Is this the official notation?
 
 I think so yes.  Certainly it's much better than the old rendering.  If
 an accidental is there without a number, it applies to the 3rd of the
 chord and the accidental should be centered.  To be pedantic, I also
 think that instead of:
 
 7
 5
 3 6
 
 It should be:
 
 7
 5 6
 3
 
 This applies for things like,b7
(B 
 6
 5 6
 
 as well, i.e. the 6 should be vertically centered in the gap left for
 figured bass (a bit up from where it is in the ASCII art).

People don't seem  to agree on the proper format of the figures. Can
you provide me with definite references?


-- 

Han-Wen Nienhuys   |   [EMAIL PROTECTED]   |   http://www.xs4all.nl/~hanwen 


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user


Re: Figured bass spacing problem

2003-07-24 Thread David Raleigh Arnold
On Thursday 24 July 2003 11:32 am, Han-Wen Nienhuys wrote:
 [EMAIL PROTECTED] writes:
   I've changed this in 1.7 CVS, by introducing
   alignBassFigureAccidentals. It defaults to off, which produces
   your desired notation. Is this the official notation?
 
  I think so yes.  Certainly it's much better than the old rendering.
   If an accidental is there without a number, it applies to the 3rd
  of the chord and the accidental should be centered.  To be
  pedantic, I also think that instead of:
 
  7
  5
  3 6
 
  It should be:
 
  7
  5 6
  3
 
  This applies for things like,b7

 (B

  6
  5 6
 
  as well, i.e. the 6 should be vertically centered in the gap left
  for figured bass (a bit up from where it is in the ASCII art).

 People don't seem  to agree on the proper format of the figures. Can
 you provide me with definite references?

Use Piston's Harmony.  Also, what could 

6
5 6

possibly mean?  Either you have the interval of the 6th or you don't.
DaveA

-- 
The biggest losers of all are the winners of an unjust war.  Bush lied.
Thousands died.  Only the winning part is over.  It is necessary that
WMD be found, so they will be.  dra@ http://www.openguitar.com


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user


Re: Figured bass spacing problem

2003-07-24 Thread Mark Hymers
On Thu, 24, Jul, 2003 at 06:20:02PM -0400, David Raleigh Arnold spoke thus..
 6
 5 6
 
 possibly mean?  Either you have the interval of the 6th or you don't.

No no no!

I'm talking about layout - that's for two different fingerings:

(pretend there's a bass clef at the start)

,----,
'  ||'
'--||'
'  |,'
'--,---X-'
' X  '
''
''
''

  6
   6
  5

(Note I'm not intending the gap between the 6 and 5, it's the
limitations of ASCII art); I'm trying to show the 6 in the middle.

Rather than

  6
  56

which places the 6 far too far away from the stave to be readable.

Having said that, I've checked various editions and some do this:

  66
  5


And if the bass is above the stave (as in the OUP edition of Continuo
Playing According to Handel) some do this:

  6
  56

which makes sense, i.e they are stacked so that the numbers start
closest to the stave.

However before suggesting anything I'm off to the Uni library tomorrow
to look in the music section and try and find some definitive
references.

Hope this makes more sense.

Mark

-- 
Mark Hymers markh at linuxfromscratch dot org

'I regret nothing?'  That's not a song, that's an idiots charter.
 Andy Hamilton, Old Harry's Game


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user


Re: Figured bass spacing problem

2003-07-24 Thread David Raleigh Arnold
On Thursday 24 July 2003 08:00 pm, Mark Hymers wrote:
 On Thu, 24, Jul, 2003 at 06:20:02PM -0400, David Raleigh Arnold spoke
 thus..

  6
  5 6
 
  possibly mean?  Either you have the interval of the 6th or you
  don't.

 No no no!

 I'm talking about layout - that's for two different fingerings:

 (pretend there's a bass clef at the start)

 ,----,
 '  ||'
 '--||'
 '  |,'
 '--,---X-'
 ' X  '
 ''
 ''
 ''

   6
6
   5

 (Note I'm not intending the gap between the 6 and 5, it's the
 limitations of ASCII art); I'm trying to show the 6 in the middle.

 Rather than

   6
   56

 which places the 6 far too far away from the stave to be readable.

 Having said that, I've checked various editions and some do this:

   66
   5


 And if the bass is above the stave (as in the OUP edition of Continuo
 Playing According to Handel) some do this:

   6
   56

 which makes sense, i.e they are stacked so that the numbers start
 closest to the stave.

 However before suggesting anything I'm off to the Uni library
 tomorrow to look in the music section and try and find some
 definitive references.

 Hope this makes more sense.

Sorry to make you type that mess, but I really didn't get it.  DaveA

-- 
The biggest losers of all are the winners of an unjust war.  Bush lied.
Thousands died.  Only the winning part is over.  It is necessary that
WMD be found, so they will be.  dra@ http://www.openguitar.com


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user


Re: Figured bass spacing problem

2003-07-23 Thread Mark Hymers
On Thu, 17, Jul, 2003 at 06:52:14PM +0200, Han-Wen Nienhuys spoke thus..
 
 [EMAIL PROTECTED] writes:
  The problem is that when I'm trying to display an accidental without a
  number it doesn't line up properly.
  
  So, for example (#=sharp, b=flat !=natural):
  
  4#
   b
  
  instead of
  4#
  b
 
 
 I've changed this in 1.7 CVS, by introducing
 alignBassFigureAccidentals. It defaults to off, which produces your
 desired notation. Is this the official notation?

I think so yes.  Certainly it's much better than the old rendering.  If
an accidental is there without a number, it applies to the 3rd of the
chord and the accidental should be centered.  To be pedantic, I also
think that instead of:

7
5
3 6

It should be:

7
5 6
3

This applies for things like·

6
5 6

as well, i.e. the 6 should be vertically centered in the gap left for
figured bass (a bit up from where it is in the ASCII art).

That said however, the accidental change on its own is a wonderful
improvement.

Many thanks,

Mark

-- 
Mark Hymers markh at linuxfromscratch dot org

I once absent-mindedly ordered Three Mile Island dressing in a restaurant
 and, with great presence of mind, they brought Thousand Island Dressing and
 a bottle of chili sauce.
 Terry Pratchett, alt.fan.pratchett


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user


Figured bass spacing problem

2003-07-17 Thread Han-Wen Nienhuys

[EMAIL PROTECTED] writes:
 The problem is that when I'm trying to display an accidental without a
 number it doesn't line up properly.
 
 So, for example (#=sharp, b=flat !=natural):
 
 4#
  b
 
 instead of
 4#
 b


I've changed this in 1.7 CVS, by introducing
alignBassFigureAccidentals. It defaults to off, which produces your
desired notation. Is this the official notation?

(No expert on figured bass)



--
Han-Wen Nienhuys   |   [EMAIL PROTECTED]   |   http://www.xs4all.nl/~hanwen 


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user


Re: clusters: note spacing problem and other things

2001-10-01 Thread Rune Zedeler

David Pirotte wrote:

ly2dvi (GNU LilyPond) 1.5.13

As others have stated, your syntax is completely wrong.
But you should also notice that 1.5.13 have problems with the position
of dots - c.f. the bug mailing list.
If you don't need any of the new development functions, you really
should downgrade to the latest stable release - 1.4.8.

-Rune

___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user



clusters: note spacing problem and other things

2001-09-30 Thread David Pirotte

Hello

;; --

I am new user of lilypond. I am a composer, a young composer, and I hope that I
will be able to write my music with lilypond. But modern music is quite
demanding and so much more difficult to typeset then ancient music.

Is there any other composers of classical contemporary music
on this list?

I hope that lilypond developpers are also willing to make it a modern typesetter
alternative to commercial software (which are not good enough anyway). It would
be so nice!

So, please and in advance, pardon my requests: it will not be to point out
things that lilypond can not do, but just things I need to be able to do, hoping
that these requests will help others (or that people on the list can help me of
course). As a lilypond beginner, I obviously probably will ask stupid
question(s) to ...

;; --


   ly2dvi (GNU LilyPond) 1.5.13


So, here is a couple of little problems I encountered, very small example to
start with

1. the following compiles ok

\score {
  \notes 
\context Staff = Cl {
  \property Staff.instrument = Cl Sib
  \time 8/4 
  \clef violin
  {r2. r2.}
  }
\context Staff = staffB {
  \time 8/4
  \clef bass
  \relative a,
  {a2. a2. b2. c2. a2is a2. b2. c2. a2is}
  }

\paper {}
}

but does not produce the expected display results: even the r2. and
the a2. does not produce the result expected, (the dot is in the note,
and not after the note)

or is it my xdvi? (it seems i have xdvik, should i get another xdvi?

;; --

2. the following does not compiles

\score {
  \notes 
\context Staff = Cl {
  \property Staff.instrument = Cl Sib
  \time 8/4 
  \clef violin
  {r2. r2.}
  }
\context Staff = staffB {
  \time 8/4
  \clef bass
  \relative a,
 {a2. a2. b2. c2. a2is. a2. b2. c2. a2is.}
% a2is. instead of a2is
  }

\paper {}
}

clusters in general are not 'displayed' properly, note spacing problems. a strange
thing is that if I do not have

  {a2. a2. b2. c2. a2is. ...}
  but
  {a2. b2. c2. a2is. ...}

  then the cluster is really badly 'computed'

is there a special feature for clusters?

;; --

3. i wanted to call staff using numbers to, but is seems not possible:

\score {
  \notes 
\context Staff = Cl1 {
...
\context Staff = Cl2 {
...

does not compile: is it the expected behavior? can't we use numbers
in staff names

;; --

4. i would like to define a piano always with 3 staff, with clef as is:

   \violin
   \bass
   \bass -15 

   how can i define a clef twice octava bassa ? (the \bass clef with the number
   15 sligthly below and right)

;; --

thanks a lot for help and understanding
david

___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user