Re: multiple \translator blocks?
Quoting Graham Percival [EMAIL PROTECTED]: Quick question -- how can I have multiple translations on the same context? \translator { \VoiceContext Fingering \override #'padding = #2.0 Fingering \override #'font-relative-size = #1 } The following snippet only applies the second \translation. \paper{ \translator { \VoiceContext Fingering \override #'padding = #2.0 } \translator { \VoiceContext Fingering \override #'font-relative-size = #1 } } Yes - each translatordescription describes a new context - and if it has the same name as a previous one then the previous is never seen. \translation { \VoiceContext blah blah \VocieContext blah blah } I get error: parse error, unexpected TRANSLATOR_IDENTIFIER: Yes, \VoiceContext is defined in ly/engraver-init.ly. Hopefully the definition should make it clear that it is a bad idea to repeat \VoiceContext twice. Generally it is a good idea to check definitions of the lilypond macros/variables when you are in doubt of how to use them. -Rune ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: multiple \translator blocks?
Graham Percival [EMAIL PROTECTED] writes: Quick question -- how can I have multiple translations on the same context? The following snippet only applies the second \translation. \paper{ \translator { \VoiceContext Fingering \override #'padding = #2.0 } \translator { \VoiceContext Fingering \override #'font-relative-size = #1 } } If I try commenting out the two middle lines (ie have \translation { \VoiceContext blah blah \VocieContext blah blah } I get error: parse error, unexpected TRANSLATOR_IDENTIFIER: Also comment out the second \VocieContext -- Jan Nieuwenhuizen [EMAIL PROTECTED] | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Increasing the horizontal space between notes
In my case, I'm not sure \break would work: I'm working with unmetered music (no bars) that combines notes and lyrics. I've looked at Horizontal Spacing under Global Layout in the manual, and, as you say, it looks fairly advanced, but it seems like the way to go for me. The section mentions two properties of SpacingSpanner: spacing-increment and shortest-duration-space. What is the syntax for these properties? How and where should they be set? Thank you. Oscar Valdez El sáb, 01-02-2003 a las 23:55, Graham Percival escribió: On Fri, 31 Jan 2003 23:44:35 -0600 Oscar A. Valdez [EMAIL PROTECTED] wrote: How can I modify the horizontal space between notes? There is a section on horizontal spacing in the manual (under global layout), but it's fairly advanced stuff. An easy solution is to have fewer bars per line -- adding a few \breaks will let you control how many bars per line. Fewer bars will mean more space between notes. In some circumstances this isn't a very good solution, but if you have a fairly simple score, it should work out all right. Cheers, - Graham ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Increasing the horizontal space between notes
On Monday 03 February 2003 04:40 pm, Oscar A. Valdez wrote: In my case, I'm not sure \break would work: I'm working with unmetered music (no bars) that combines notes and lyrics. I've looked at Horizontal Spacing under Global Layout in the manual, and, as you say, it looks fairly advanced, but it seems like the way to go for me. The section mentions two properties of SpacingSpanner: spacing-increment and shortest-duration-space. What is the syntax for these properties? How and where should they be set? Thank you. Oscar Valdez El sáb, 01-02-2003 a las 23:55, Graham Percival escribió: On Fri, 31 Jan 2003 23:44:35 -0600 Oscar A. Valdez [EMAIL PROTECTED] wrote: How can I modify the horizontal space between notes? There is a section on horizontal spacing in the manual (under global layout), but it's fairly advanced stuff. An easy solution is to have fewer bars per line -- adding a few \breaks will let you control how many bars per line. Fewer bars will mean more space between notes. In some circumstances this isn't a very good solution, but if you have a fairly simple score, it should work out all right. Cheers, - Graham \break is highly recommended, but if a particular measure is not wide enough, there are tricks you could use, probably more than these: 1. Put some spaces in text above or below notes, like this: { }{ } or \ \ \ \, 2. Add invisible rests or 32nd notes or something like that. (remove the appropriate engravers of the added voice). The invisible voice is the way most likely to swim over the shifting sands of syntax, and there's no programming. ;-) DaveA ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user