Hi! Now that I could get lilypond working (thank you again!), I wanted to typeset one of my pieces. I could solve some problems, but wanted to share my advances...and doubts! :-)
Attached is part of the score (I originally did it with finale), and the .ly. Some problems: - Do you see the little "|" over some notes of the left hand? I couldn't get them exactly over the noteheads. - I would like that the beams of the left hand notes do not "interrupt" at the end of the line (I want them as they are in the .jpg). - The same thing with the beams of the right hand notes. - I would like the noteheads of the right hand notes to be like "half-notes". Well... there are other things (like the bar-lines -which I don't want to be displayed-, and some spacing changes, etc), but I think I can handle it. Thank you very much, Luis. P.S.: Of course, when I finish it, I will share with you :-) P.S.2: AH! I almost forget: I think I got a bug. Please see the .ly.
<<attachment: estudio.jpg>>
\version "2.4.2" \include "espanol.ly" \header { title = "Breve estudio para piano" composer = "Luis G. López" instrument = " " dedication = "To the patients guys from lilypond-list ;)" } upper = \relative do'' { %\override Staff.TimeSignature #'transparent = ##t \clef treble \key do \major \time 3/1 \tempo 4.=65 \stemUp \override Staff.Beam #'thickness = #0.2 << { %Voice 1 \override Voice.Beam #'positions = #'(8 . 8) %1st System s2. s16 <<mi,8 mi'[>> s4 s16 <<fas8 fas,>> s4 s16 <<do'8 do'>> s8. <<mib,8 mib'>> s4. <<reb8 reb,]>> %2nd System s4 s8. <<sol8 sol,[>> s4 s16 <<mi8 mi'>> s4. <<fas8 fas,>> s8. <<la8 la'>> s16 <<mib8 mib'>> s4. <<reb8 reb,>> s16 <<sol8 sol,>> s8 s8 <<mi mi']>> s8. %%$ POSSIBLE BUG REPORT: If I use (see end of preceding line) "s4 %%$ <<mi mi']>> s8." instead of "s8 s8 <<mi mi'>> s8.", I get the %%$ error "stem doesn't fit in beam". } \\ { %Voice 2 %1st System \override Voice.Beam #'positions = #'(-4 . -4) s1 s1 s1 %2nd System s4 la,8[ s4 si8 s fa' s4 s8. lab8 s solb s2 s16 do,8 s4. <<la8 la']>> } >> } lower = \relative do { %\override Staff.TimeSignature #'transparent = ##t \clef bass \key do \major \time 3/1 %\set subdivideBeams = ##t \set Score.beatLength = #(ly:make-moment 3 1) % 1st system %\override Voice.Beam #'positions = #'(-4 . -4) si16 dos sol' sib lab \set Voice.stemRightBeamCount = #1 re, \set Voice.stemLeftBeamCount = #1 si! dos sol' sib! lab \set Voice.stemRightBeamCount = #1 re, \set Voice.stemLeftBeamCount = #1 si! dos^"|" sol' sib! lab \set Voice.stemRightBeamCount = #1 re, \set Voice.stemLeftBeamCount = #1 si! dos sol'^"|" sib! lab \set Voice.stemRightBeamCount = #1 re, \set Voice.stemLeftBeamCount = #1 si! dos sol' sib!^" |" lab \set Voice.stemRightBeamCount = #1 re, \set Voice.stemLeftBeamCount = #1 si! dos sol'^"|" sib! lab \set Voice.stemRightBeamCount = #1 re, \set Voice.stemLeftBeamCount = #1 si! dos sol' sib! lab^"|" \set Voice.stemRightBeamCount = #1 re, \set Voice.stemLeftBeamCount = #1 si! dos sol' sib! lab \set Voice.stemRightBeamCount = #1 re, \set Voice.stemLeftBeamCount = #1 %2nd system si16 dos?^"|" sol' sib lab?^"|" \set Voice.stemRightBeamCount = #1 re, \set Voice.stemLeftBeamCount = #1 si! dos sol'^"|" sib! lab^"|" \set Voice.stemRightBeamCount = #1 re, \set Voice.stemLeftBeamCount = #1 si! dos sol'^"|" sib! lab^"|" \set Voice.stemRightBeamCount = #1 re, \set Voice.stemLeftBeamCount = #1 si! dos sol' sib!^"|" lab \set Voice.stemRightBeamCount = #1 re,^"|" \set Voice.stemLeftBeamCount = #1 si!^"|" dos sol' sib!^"|" lab \set Voice.stemRightBeamCount = #1 re, \set Voice.stemLeftBeamCount = #1 si! dos sol'^"|" sib! lab \set Voice.stemRightBeamCount = #1 re,^"|" \set Voice.stemLeftBeamCount = #1 si! dos sol'^"|" sib! lab \set Voice.stemRightBeamCount = #1 re,^"|" \set Voice.stemLeftBeamCount = #1 si! dos sol' sib! lab^"|" \set Voice.stemRightBeamCount = #1 re, \set Voice.stemLeftBeamCount = #1 } dynamics = { s1\f s1 s1 s1\f } \score { \context PianoStaff << \context Staff=upper \with { \remove "Time_signature_engraver" } \upper \context Dynamics=dynamics \dynamics \context Staff=lower \with { \remove "Time_signature_engraver" } << \clef bass \lower >> >> \layout { \context { \type "Engraver_group_engraver" \name Dynamics \alias Voice % So that \cresc works, for example. \consists "Output_property_engraver" minimumVerticalExtent = #'(-1 . 1) 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 } } \midi { \tempo 4 . = 65 \context { \type "Performer_group_performer" \name Dynamics \consists "Piano_pedal_performer" \consists "Span_dynamic_performer" \consists "Dynamic_performer" } \context { \PianoStaff \accepts Dynamics } } }
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user