Re: Lyrics to second voice messes up following measure

2015-02-22 Thread Phil Holmes
- Original Message - 
From: Philipp Legrum philipp.leg...@googlemail.com

To: lilypond-user@gnu.org
Sent: Sunday, February 22, 2015 4:03 PM
Subject: Lyrics to second voice messes up following measure



Hello fellow LilyPonders,

yesterday I stumbled over a problem involving lyrics assigned to a (cue)
voice in a bivocal measure.
Assigning a syllable to the *last note* of the bivocal measure messes up
the subsequent monovocal measure (and all subsequent ones).

Since I am a lilypond beginner, it's likely I am missing the obvious
here. Lilyponds behaviour, however, seems illogical to me and cumbersome
to work around.

I boiled down the behaviour to an attached 10-line example:
Add another syllable to the lyrics (line 6) and watch the note in the
following measure disappear.

Can somebody help me out here?
Thanks a lot in advance,
Phil


I think this is a known (very old) bug: 
http://code.google.com/p/lilypond/issues/detail?id=127


I use a fairly horrible workaround:

\new CueVoice = cue {d'2 d'2*1/2 \hideNotes d'4 \unHideNotes}

The *1/2 halves the effective musical length of the note, allowing me to 
slip in a hidden note of half the length.  This has no lyric and so corrects 
the problem with the main voice.


--
Phil Holmes 



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


Lyrics to second voice messes up following measure

2015-02-22 Thread Philipp Legrum

Hello fellow LilyPonders,

yesterday I stumbled over a problem involving lyrics assigned to a (cue) 
voice in a bivocal measure.
Assigning a syllable to the *last note* of the bivocal measure messes up 
the subsequent monovocal measure (and all subsequent ones).


Since I am a lilypond beginner, it's likely I am missing the obvious 
here. Lilyponds behaviour, however, seems illogical to me and cumbersome 
to work around.


I boiled down the behaviour to an attached 10-line example:
Add another syllable to the lyrics (line 6) and watch the note in the 
following measure disappear.


Can somebody help me out here?
Thanks a lot in advance,
Phil
\version 2.18.2
{
	
	  \new Voice = main {R1}
	  \new CueVoice = cue {d'2 d'2}
  \new Lyrics \lyricsto cue {A }

	d'4
}
\addlyrics {la}___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lyrics to second voice messes up following measure

2015-02-22 Thread Thomas Morley
2015-02-22 17:03 GMT+01:00 Philipp Legrum philipp.leg...@googlemail.com:
 Hello fellow LilyPonders,

 yesterday I stumbled over a problem involving lyrics assigned to a (cue)
 voice in a bivocal measure.
 Assigning a syllable to the *last note* of the bivocal measure messes up the
 subsequent monovocal measure (and all subsequent ones).

 Since I am a lilypond beginner, it's likely I am missing the obvious here.
 Lilyponds behaviour, however, seems illogical to me and cumbersome to work
 around.

Not really.
In general \addlyrics doen't work properly in more complex situations,
at least far too often.
\addlyrics is a short-cut, you pay for it with a lot of drawbacks.
I'd avoid the use of it in all but the most simplest cases.

 I boiled down the behaviour to an attached 10-line example:
 Add another syllable to the lyrics (line 6) and watch the note in the
 following measure disappear.

 Can somebody help me out here?
 Thanks a lot in advance,
 Phil

How about the following (some comments inline):

\version 2.18.2

  \new Staff {
  
\new Voice = main { R1 }
\new CueVoice = cue { d'2 d'2 }

  
  %% let Voice named main continue
  \context Voice = main{ d'4 e' f' g' }
  }
  %% sets lyrics on different level:
  %\new Lyrics \lyricsto cue { \set fontSize = #-3 A B }
  %\new Lyrics \lyricsto main { la le li lo }

  %% If you want the Lyrics on same line use:
  %\new Lyrics = lyr \lyricsto cue { \set fontSize = #-3 A B }
  %\context Lyrics = lyr \lyricsto main { \unset fontSize la le li lo }

  %% Or:
  \new Lyrics \lyricsto cue {
\set fontSize = #-3
A \set associatedVoice = #main B
\unset fontSize
la le li lo
  }


HTH,
  Harm

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


Fixed ledger line width with no dimension.

2015-02-22 Thread Pierre Perol-Schneider
Hi All,

Please find herewith my last attempt to reach a kind of modern and easy
gregorian notation (see previous discussion here :

http://lilypond.1069038.n5.nabble.com/kind-of-gregorian-moving-noteheads-tc170995.html
and here :

http://lilypond.1069038.n5.nabble.com/Hungarian-Gregorian-tc171130.html).


And I'm stucked for some days now: Since note heads should stick together,
ledger lines desapear (or are hidden by the note heads, see attached pic).

So I'm looking for a way to fix the leger line length without any dimension
so that no gap would remain.


TIA for any help,

Cheers

Pierre


modernGregorian.ily
Description: Binary data
\version 2.18.2
\include modernGregorian.ily

\paper { 
  indent = 0
}

sanctus = \transpose c c' {
  \clef G
  \key a\major
  \omit Stem
  \melisma { d \lst e } e 
  \bar |
  \melisma { 
\lst e \sli c \lst d \tli c \tli b, r d \lst f \tli e 
  }
  \melisma { d \lst e } e
  \once\override Staff.BarLine.bar-extent = #'(0 . 2) \bar |
  \melisma { e \lst g r a \lst b } \melisma { \lst a \tli g \tli f \tli e }
  \melisma { 
f \lst a \mli e \sli c \lst d \tli c \tli
b, -\tweak extra-offset #'(1 . -2.5) \orn 
r r \lst f \tli e f \lst g 
  } \melisma { \lst f \tli e }
  \bar ||
}

sanctusLyrics = \lyricmode {
  mi -- ni.
  Ho -- sán -- na in ex -- cél -- sis.
}

\score {
  
\cadenzaOn
\new Voice = Sanctus \sanctus
\new Lyrics \lyricsto Sanctus \sanctusLyrics
  
  \layout {
ragged-right = ##f
\context {
  \Lyrics
  \override VerticalAxisGroup.staff-affinity = ##f
}
  }
}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Spacing Cheat Sheet

2015-02-22 Thread Trevor Daniels

Noeck wrote Sunday, February 22, 2015 9:05 PM

 I would also be interested in how the stretchability value is used.
 I assumed it would be someting like \vfill in LaTeX, in this case only the
 relative value with respect to other spacings would be significant – i.e. the
 available extra space would be shared in proportions of the stretchability of
 the spacings. But this was just a guess.

I think that is right.  The Notation Reference says:

stretchability – a unitless measure of the dimension’s relative propensity to 
stretch. If zero, the distance will not stretch (unless collisions would 
result). When positive, the significance of a particular dimension’s 
stretchability value lies only in its relation to the stretchability values of 
the other dimensions. For example, if one dimension has twice the 
stretchability of another, it will stretch twice as easily.

See 
http://www.lilypond.org/doc/v2.19/Documentation/notation/flexible-vertical-spacing-paper-variables

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


Re: Spacing Cheat Sheet

2015-02-22 Thread Noeck
Hi,

I would also be interested in how the stretchability value is used.
I assumed it would be someting like \vfill in LaTeX, in this case only the
relative value with respect to other spacings would be significant – i.e. the
available extra space would be shared in proportions of the stretchability of
the spacings. But this was just a guess.
It looks like Kieren’s answer is closer to reality.

Cheers,
Joram

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