Re: Misalignment in pedal indications

2005-10-27 Thread Raphael Manfredi
Quoting Mats Bengtsson <[EMAIL PROTECTED]> from ml.lilypond.bugs:
:Why make such a complicated solution? It's easier to just increase the
:relevant staff-padding property:
:
:\override Staff.SustainPedalLineSpanner #'staff-padding = #4

I'll try that as a workaround.  Note that the proper offsettting should
be determined by Lilypond automatically, IMHO.  That's what a typesetting
engine is for. :-)

:I had a quick look in an album of Brahms piano pieces and I found at
:least a couple of examples where they didn't align the markings in
:similar situations.

In all the Beethoven pieces I have, they did align the Pedal indications.
At least the "*" and the corresponding leading "Ped" should be aligned.

Any suggestion on how to easily have the "*" emitted after the duration
of a rest at the bass?

Raphael


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


Re: Misalignment in pedal indications

2005-10-27 Thread Mats Bengtsson



Erik Sandberg wrote:

On Wednesday 26 October 2005 20.06, Raphael Manfredi wrote:


The following exerpt demonstrates that "Ped" and "*" are not properly
aligned on a same horizontal line, making te indications confusing
and hard to read.



As a workaround, perhaps you can use a text spanner, this should align each 
pair of Ped and * vertically. See input/test/text-spanner.ly for ideas.


If you want all Ped and * markings to be on the same vertical position, then 
you can create them in a Lyrics context, like

<<
\new PianoStaff << ... >>
\new Lyrics \lyricmode { \markup {...}2.. \markup {...}8 | ...  }

where the {...}s are substituted for something that creates Ped and * 
markings.


Why make such a complicated solution? It's easier to just increase the
relevant staff-padding property:

\override Staff.SustainPedalLineSpanner #'staff-padding = #4


I don't know about the conventions for pedal markings. Do you have any 
examples of hand-engraved scores, that show clearly that all pedal markings 
below one system should be vertically aligned? (in this case, I'll add it to 
the bug database)


I had a quick look in an album of Brahms piano pieces and I found at
least a couple of examples where they didn't align the markings in
similar situations.

   /Mats


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


Re: Misalignment in pedal indications

2005-10-27 Thread Erik Sandberg
On Wednesday 26 October 2005 20.06, Raphael Manfredi wrote:
> The following exerpt demonstrates that "Ped" and "*" are not properly
> aligned on a same horizontal line, making te indications confusing
> and hard to read.

As a workaround, perhaps you can use a text spanner, this should align each 
pair of Ped and * vertically. See input/test/text-spanner.ly for ideas.

If you want all Ped and * markings to be on the same vertical position, then 
you can create them in a Lyrics context, like
<<
\new PianoStaff << ... >>
\new Lyrics \lyricmode { \markup {...}2.. \markup {...}8 | ...  }
>>
where the {...}s are substituted for something that creates Ped and * 
markings.


I don't know about the conventions for pedal markings. Do you have any 
examples of hand-engraved scores, that show clearly that all pedal markings 
below one system should be vertically aligned? (in this case, I'll add it to 
the bug database)

> The latter is probably an enhancement request, but it prevents typesetting
> of a whole set of music...  Maybe there is a complex way to do what I want
> to do here?  It should be simple in lilypond though, because it's a rather
> a basic need when dealing with Romantic-styled music.

Try 
<< r2 {s4. s8\sustainUp} >>

-- 
Erik


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


Misalignment in pedal indications

2005-10-26 Thread Raphael Manfredi
The following exerpt demonstrates that "Ped" and "*" are not properly
aligned on a same horizontal line, making te indications confusing
and hard to read.

Also, I've not be able to find a way to put the "sustain up" even AFTER
the duration of the note (here a rest), which is kind of mandatory when
you have a chord arpegiated by the other hand...

The latter is probably an enhancement request, but it prevents typesetting
of a whole set of music...  Maybe there is a complex way to do what I want
to do here?  It should be simple in lilypond though, because it's a rather
a basic need when dealing with Romantic-styled music.

Again, in the example below I add to stuff the line to demonstrate the
problem with the misalignment.  Bars other than the 3rd are correctly
typeset, because of the leading rest, but still all the "Ped" indications
are not on the same line.


% Shows that "Ped" and "*" are not aligned on the same line at
% the first measure.  I believe all "Ped" instances should be
% aligned on the same horizontal level throughout the same system.
% Also illustrates that it would be good to have a notation to
% express that "sustainUp" is to trigger AFTER the duration of the
% note but before the next one: I want the sustain to remain whilst
% the right hand continues to arpegiate the chord...
\version "2.6.3"
\new PianoStaff {
<<
\new Staff {
\clef treble \time 2/2 \key c \major
\relative c' {
g2 r8 c e g |
g,2 r8 c e g |
g,2 r8 c e g |
g,2 r8 c e g |
}
}
\new Staff {
\clef bass \time 2/2 \key c \major
\relative c {
\stemDown
g8\sustainDown c e g r2\sustainUp |
r8\sustainDown g, c g' r2\sustainUp |
r8\sustainDown g, c g' r2\sustainUp |
r8\sustainDown g, c g' r2\sustainUp |
}
}
>>
}


Raphael


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