Re: Polyphonic Tablature
On Monday 23 October 2006 12:08, Han-Wen Nienhuys wrote: > Mats Bengtsson escreveu: > > Daniel Tonda wrote: > >> Just revised the code I proposed and you're right. I wasn't aware that > >> by using << >> one could remove the \simultaneous. Less typing indeed. > > > > Right! \simultaneous{...} is completely equivalent to <<...>> > > Actually, the following is exactly equivalent to your example: > > I've added \simultaneous for consistency a long time ago, but maybe we > should just drop it? in any case we could softcode it, I think. -- Erik ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Repositioning \tempo, and one other question
Which version of LilyPond do you use? The property instrumentName has been renamed in version 2.9, so if you use version 2.8, you should read the documentation for that version. (In general, though, I recommend to read the manual for version 2.9 since it includes many new clarifications, but here you have hit upon one of the few aspects where the new manual isn't relevant if you have an older version). Please always tell what LilyPond version you use, to avoid the risk of getting irrelevant answers. /Mats OnionRingOfDoom wrote: Also, my instrument names seem to not be displayed propperly in my score. The names are declared as follows: Soprano = \relative c'' { \set Staff.instrumentName = #"Soprano Sax " \set Staff.shortInstrumentName = #"s.Sax " \global \clef treble \key c \minor % notes } Then, the score is set up as so: \score { << \new StaffGroup = "horns" << \new Staff = "Soprano" \Soprano % more staves... >> >> } I saw this work in the Jazz Combo example, but it's not working for me for some reason. Any help is greatly appreciated, as always! -- = 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
SystemStartBrace in PianoStaff
Hello everybody, I'm not very talented in Lilypond typesetting but -still- I wonder how comes the same Pianostaff code can make a "standard" Piano system Brace : http://www.mutopiaproject.org/ftp/ChopinFF/O27/chopin-nocturne-8/chopin-nocturne-8-preview.png or a "small" one : http://www.lilypond.org/doc/v2.9/input/mutopia/E.Satie/petite-ouverture-a-danser-page1.png It's something I definitely can't understand ; as far as I'm concerned, I have a .ly script which goes like this : \score { << \set Score.markFormatter = #format-mark-box-letters \override Score.RehearsalMark #'break-align-symbol = #'staff-bar \context Staff = "flute" \flute \new PianoStaff << \context Staff = "upper" \pianod \context Staff = "lower" \pianog \set PianoStaff.instrumentName = "Piano" \set PianoStaff.shortInstrumentName = "Pno. " %%\override PianoStaff.SystemStartBrace #'transparent = ##f >> >> \layout {} and I usually get a "standard" Brace ; but since I updated Lilypond to version 2.9.26, I now get a "small" one. Can somebody nice tell me more about it ? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: SystemStartBrace in PianoStaff
This is a bug that should be corrected in the next release, as far as I know. See the mailing list archives of bug-lilypond for more information. /Mats Valentin Villenave wrote: Hello everybody, I'm not very talented in Lilypond typesetting but -still- I wonder how comes the same Pianostaff code can make a "standard" Piano system Brace : http://www.mutopiaproject.org/ftp/ChopinFF/O27/chopin-nocturne-8/chopin-nocturne-8-preview.png or a "small" one : http://www.lilypond.org/doc/v2.9/input/mutopia/E.Satie/petite-ouverture-a-danser-page1.png It's something I definitely can't understand ; as far as I'm concerned, I have a .ly script which goes like this : \score { << \set Score.markFormatter = #format-mark-box-letters \override Score.RehearsalMark #'break-align-symbol = #'staff-bar \context Staff = "flute" \flute \new PianoStaff << \context Staff = "upper" \pianod \context Staff = "lower" \pianog \set PianoStaff.instrumentName = "Piano" \set PianoStaff.shortInstrumentName = "Pno. " %%\override PianoStaff.SystemStartBrace #'transparent = ##f >> >> \layout {} and I usually get a "standard" Brace ; but since I updated Lilypond to version 2.9.26, I now get a "small" one. Can somebody nice tell me more about it ? ___ 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
RE: Repositioning \tempo, and one other question
Hi Try using \set Staff.instrument = "Soprano Sax" \set Staff.instr = "s.Sax" This works in ver 2.8.6 However, you may find the alignment of instrument names across a range of staves is not what you would like. As I understand it this is because the instrument name is positioned during individual staff processing and is right-aligned to the start of the staff. It is not possible to take other staves into account. (Perhaps someone more knowledgeable could correct me if any of this is wrong). This is OK if all the staves are within a group or all without one but if you use several staff groups or have staves outside a group the names of instruments within the group appear to be right-aligned to the group bracket and so are slightly offset from the names attached to single staves. There are various work-arounds for this, and also for centre-aligning names or left-aligning names. The ones I have used are: Centre-aligning instrument names: \set Staff.instrument = \markup { \hcenter-in #5.0 Solo } This will centre "Solo" in a box of length 5.0 which is itself offset from the staff end (in this case not the brace, it seems). All the instrument names can then be centre-aligned by specifying the same box length for all of them. However, it seems necessary for the specified box length to be up to twice as long as the longest name for the alignment to be correct. You may need to move the first system over to the right to make enough room. Set indent=3.0\cm or whatever in layout to do this. Left-aligning instrument names: This is somewhat arcane - anyone found a better way? \set Staff.instrument=\markup { \override #'(baseline-skip . 0) \left-align { \column { \transparent A Solo } } } This works by using a fixed length string ("" in the example above) to establish a left-hand edge at a fixed distance from the aligned right-hand edge. The real string is then left-aligned with this by using \left-align and \column. The fixed-length string is made transparent, and the vertical distance between the two elements of the column is set to zero with the override. The length of the fixed length string is chosen to be slightly longer than the longest instrument name. Because the left-aligned points of a single staff, a choirstaff and a piano staff are at slightly different distances from the left margin the 'fixed' string needs to be slightly longer by about a "a" character (using the default font) for any single staves. HTH Trevor > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > OnionRingOfDoom > Sent: 24 October 2006 03:36 > To: lilypond-user@gnu.org > Subject: Repositioning \tempo, and one other question > > > > Like the subject says, is there any way to reposition the \tempo mark? I'd > love to be able to move it a bit to the left. > > Also, my instrument names seem to not be displayed propperly in my score. > The names are declared as follows: > > Soprano = \relative c'' { > \set Staff.instrumentName = #"Soprano Sax " > \set Staff.shortInstrumentName = #"s.Sax " > \global > \clef treble > \key c \minor > % notes > } > > Then, the score is set up as so: > > \score { > << > \new StaffGroup = "horns" << > \new Staff = "Soprano" \Soprano > % more staves... > >> > >> > } > > I saw this work in the Jazz Combo example, but it's not working for me for > some reason. Any help is greatly appreciated, as always! > -- > View this message in context: > http://www.nabble.com/Repositioning-%5Ctempo%2C-and-one-other-ques tion-tf2498893.html#a6966138 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: Lyrics collide with barlines
Hi Catalin Try changing the \new StaffGroup statement to \new ChoirStaff. This will restrict all the barlines to just the music staves and avoid all clashes with the lyrics. Trevor > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > Catalin Francu > Sent: 23 October 2006 22:58 > To: lilypond-user@gnu.org > Subject: Lyrics collide with barlines > > > Hi, > > I have typeset over 100 pages of music with Lilypond 2.8.6 last month > and there's only one thing that I could not figure out how to do. > Every now and then, lyrics will collide with barlines. See for > example: > > http://catalin.francu.com/Music/colinde/ > > (some Romanian carols). Look at la_vitleem_colo_n_jos.ly and the > generated la_vitleem_colo_n_jos.pdf. You'll see the collisions right > from the first system. The documentation proposes a solution here: > > http://www.lilypond.org/doc/v2.8/Documentation/user/lilypond/Vocal > -music.html#Vocal-music > > However, that doesn't work well for me. See the modified > la_vitleem_colo_n_jos2.ly and la_vitleem_colo_n_jos2.pdf in the same > folder. Two unwanted effects happen when I do what the manual says: > > - The bar lines now extend down, including the bass lyrics (before, > they ended on the bass staff) > - Some non-simple barlines (such as the repeat barline after measure > 18) appear chopped in pieces. > > Ideally, I'd like a way to tell Lilypond "I want at least two mm of > space between barlines and text". > > Other than that, big big kudos (I wish I only had one gripe with every > software package I used). > > Catalin > > > ___ > 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: Repositioning \tempo, and one other question
I hope you have read the section on Instrument Names in the manual for version 2.9. /Mats Trevor Daniels wrote: However, you may find the alignment of instrument names across a range of staves is not what you would like. As I understand it this is because the instrument name is positioned during individual staff processing and is right-aligned to the start of the staff. It is not possible to take other staves into account. (Perhaps someone more knowledgeable could correct me if any of this is wrong). This is OK if all the staves are within a group or all without one but if you use several staff groups or have staves outside a group the names of instruments within the group appear to be right-aligned to the group bracket and so are slightly offset from the names attached to single staves. There are various work-arounds for this, and also for centre-aligning names or left-aligning names. The ones I have used are: Centre-aligning instrument names: \set Staff.instrument = \markup { \hcenter-in #5.0 Solo } This will centre "Solo" in a box of length 5.0 which is itself offset from the staff end (in this case not the brace, it seems). All the instrument names can then be centre-aligned by specifying the same box length for all of them. However, it seems necessary for the specified box length to be up to twice as long as the longest name for the alignment to be correct. You may need to move the first system over to the right to make enough room. Set indent=3.0\cm or whatever in layout to do this. Left-aligning instrument names: This is somewhat arcane - anyone found a better way? \set Staff.instrument=\markup { \override #'(baseline-skip . 0) \left-align { \column { \transparent A Solo } } } This works by using a fixed length string ("" in the example above) to establish a left-hand edge at a fixed distance from the aligned right-hand edge. The real string is then left-aligned with this by using \left-align and \column. The fixed-length string is made transparent, and the vertical distance between the two elements of the column is set to zero with the override. The length of the fixed length string is chosen to be slightly longer than the longest instrument name. Because the left-aligned points of a single staff, a choirstaff and a piano staff are at slightly different distances from the left margin the 'fixed' string needs to be slightly longer by about a "a" character (using the default font) for any single staves. HTH Trevor -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of OnionRingOfDoom Sent: 24 October 2006 03:36 To: lilypond-user@gnu.org Subject: Repositioning \tempo, and one other question Like the subject says, is there any way to reposition the \tempo mark? I'd love to be able to move it a bit to the left. Also, my instrument names seem to not be displayed propperly in my score. The names are declared as follows: Soprano = \relative c'' { \set Staff.instrumentName = #"Soprano Sax " \set Staff.shortInstrumentName = #"s.Sax " \global \clef treble \key c \minor % notes } Then, the score is set up as so: \score { << \new StaffGroup = "horns" << \new Staff = "Soprano" \Soprano % more staves... >> >> } I saw this work in the Jazz Combo example, but it's not working for me for some reason. Any help is greatly appreciated, as always! -- View this message in context: http://www.nabble.com/Repositioning-%5Ctempo%2C-and-one-other-ques tion-tf2498893.html#a6966138 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 -- = 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
Aligning instrument names
Hi Mats Yes, I've read the 2.9 manual, but as I prefer to stick with the stable releases I shall wait for 2.10 before I try any of the new features. Incidentally there are some inconsistencies in this section of the 2.9 manual - the text uses the old form (Staff.instrument) and the examples the new (Staff.instrumentName). But as far as I can see the 2.9 manual does not suggest any method of left-aligning the instrument names, which is common in orchestral scores. Is there a better way in 2.9 to do this? The way of achieving centre-aligning, which is perhaps the most popular alignment, seems to be unchanged in 2.9, although I see the width of the brace still causes a need for some manual adjustment. Trevor > -Original Message- > From: Mats Bengtsson [mailto:[EMAIL PROTECTED] > Sent: 24 October 2006 13:01 > To: Trevor Daniels > Cc: lilypond-user@gnu.org > Subject: Re: Repositioning \tempo, and one other question > > > I hope you have read the section on Instrument Names in the manual for > version 2.9. > >/Mats > > Trevor Daniels wrote: > > However, you may find the alignment of instrument names across > a range of > > staves is not what you would like. As I understand it this is > because the > > instrument name is positioned during individual staff processing and is > > right-aligned to the start of the staff. It is not possible to > take other > > staves into account. (Perhaps someone more knowledgeable could > correct me if > > any of this is wrong). This is OK if all the staves are within > a group or > > all without one but if you use several staff groups or have > staves outside a > > group the names of instruments within the group appear to be > right-aligned > > to the group bracket and so are slightly offset from the names > attached to > > single staves. There are various work-arounds for this, and also for > > centre-aligning names or left-aligning names. The ones I have used are: > > > > Centre-aligning instrument names: > > > > \set Staff.instrument = \markup { \hcenter-in #5.0 Solo } > > > > This will centre "Solo" in a box of length 5.0 which is itself > offset from > > the staff end (in this case not the brace, it seems). All the > instrument > > names can then be centre-aligned by specifying the same box > length for all > > of them. However, it seems necessary for the specified box > length to be up > > to twice as long as the longest name for the alignment to be > correct. You > > may need to move the first system over to the right to make enough room. > > Set indent=3.0\cm or whatever in layout to do this. > > > > Left-aligning instrument names: > > > > This is somewhat arcane - anyone found a better way? > > > > \set Staff.instrument=\markup { > > \override #'(baseline-skip . 0) > > \left-align { \column { \transparent A Solo } } > > } > > This works by using a fixed length string ("" in the > example above) > > to establish a left-hand edge at a fixed distance from the aligned > > right-hand edge. The real string is then left-aligned with > this by using > > \left-align and \column. The fixed-length string is made > transparent, and > > the vertical distance between the two elements of the column is > set to zero > > with the override. The length of the fixed length string is chosen to be > > slightly longer than the longest instrument name. > > Because the left-aligned points of a single staff, a choirstaff > and a piano > > staff are at slightly different distances from the left margin > the 'fixed' > > string needs to be slightly longer by about a "a" character (using the > > default font) for any single staves. > > > > HTH > > > > Trevor > > > > > >> -Original Message- > >> From: [EMAIL PROTECTED] > >> [mailto:[EMAIL PROTECTED] > Behalf Of > >> OnionRingOfDoom > >> Sent: 24 October 2006 03:36 > >> To: lilypond-user@gnu.org > >> Subject: Repositioning \tempo, and one other question > >> > >> > >> > >> Like the subject says, is there any way to reposition the > \tempo mark? I'd > >> love to be able to move it a bit to the left. > >> > >> Also, my instrument names seem to not be displayed propperly > in my score. > >> The names are declared as follows: > >> > >> Soprano = \relative c'' { > >>\set Staff.instrumentName = #"Soprano Sax " > >>\set Staff.shortInstrumentName = #"s.Sax " > >>\global > >>\clef treble > >>\key c \minor > >> % notes > >> } > >> > >> Then, the score is set up as so: > >> > >> \score { > >><< > >>\new StaffGroup = "horns" << > >>\new Staff = "Soprano" \Soprano > >> % more staves... > >> >> > >> >> > >> } > >> > >> I saw this work in the Jazz Combo example, but it's not > working for me for > >> some reason. Any help is greatly appreciated, as always! > >> -- > >> View this message in context: > >> http://www.nabble.com/Repositioning-%5Ctempo%2C-and-one-other-ques > >> > > ti
Re: Lyrics collide with barlines
Hi, Thanks for your suggestions. ChoirStaff sounds like a more sensible choice, and it explains why lyrics don't try by default to avoid barlines. All the Romanian scores I've seen so far use top-to-bottom barlines, and I would have liked to use the same style, but if our conductor approves :) I'll switch to ChoirStaff. As for \whiteout, that's great to know in general, but I haven't found an equivalent for lyrics. Thanks, Catalin On 10/24/06, Trevor Daniels <[EMAIL PROTECTED]> wrote: Hi Catalin Try changing the \new StaffGroup statement to \new ChoirStaff. This will restrict all the barlines to just the music staves and avoid all clashes with the lyrics. Trevor > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > Catalin Francu > Sent: 23 October 2006 22:58 > To: lilypond-user@gnu.org > Subject: Lyrics collide with barlines > > > Hi, > > I have typeset over 100 pages of music with Lilypond 2.8.6 last month > and there's only one thing that I could not figure out how to do. > Every now and then, lyrics will collide with barlines. See for > example: > > http://catalin.francu.com/Music/colinde/ > > (some Romanian carols). Look at la_vitleem_colo_n_jos.ly and the > generated la_vitleem_colo_n_jos.pdf. You'll see the collisions right > from the first system. The documentation proposes a solution here: > > http://www.lilypond.org/doc/v2.8/Documentation/user/lilypond/Vocal > -music.html#Vocal-music > > However, that doesn't work well for me. See the modified > la_vitleem_colo_n_jos2.ly and la_vitleem_colo_n_jos2.pdf in the same > folder. Two unwanted effects happen when I do what the manual says: > > - The bar lines now extend down, including the bass lyrics (before, > they ended on the bass staff) > - Some non-simple barlines (such as the repeat barline after measure > 18) appear chopped in pieces. > > Ideally, I'd like a way to tell Lilypond "I want at least two mm of > space between barlines and text". > > Other than that, big big kudos (I wish I only had one gripe with every > software package I used). > > Catalin > > > ___ > 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: Aligning instrument names
Hi Trevor! > This is somewhat arcane - anyone found a better way? > > \set Staff.instrument=\markup { > \override #'(baseline-skip . 0) > \left-align { \column { \transparent A Solo } } > } Here's what I do (I hope I'll remember correctly as I can't find a file containing it right now): \set Staff.instrument = \markup { \combine \hspace #5.0 "My Instrument" } You can easily adjust the space by changing 5.0. Kind regards, Thies Albrecht -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user