Re: Displaying a staff despite \removeEmptyStaves
Am 06.04.2015 um 00:00 schrieb Anton Curl: On 05/04/2015 23:50, Urs Liska wrote: Do you really need to write spacer rests in such staves? Usually you would enter MultiMeasureRests when instruments are pausing and let LilyPond remove the staves automatically if appropriate. In that case Kieren's solution should work also for you. HTH Urs ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user In fact, it's at a point where the musician is improvising. I can't write rests, because he's playing. Therefor I use spacer rest with \startTextSpan and \stopTextSpan. I don't know enough about your setup, but if you'd write \hide MultiMeasureRest it should make the rests invisible but still act as rests. Maybe this helps? Urs Anton Curl ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Displaying a staff despite \removeEmptyStaves
Am 05.04.2015 um 23:38 schrieb Anton Curl: On 05/04/2015 21:58, Kieren MacMillan wrote: You need to add multi-measure-rest-interface to the keepAliveInterfaces for that staff. Here are the two bits of syntactic sugar I use: showMMRs = { \set Staff.keepAliveInterfaces = #'( rhythmic-grob-interface multi-measure-rest-interface lyric-interface stanza-number-interface percent-repeat-interface) } hideMMRs = \unset Staff.keepAliveInterfaces So put a \showMMRs in your music expression at the point where you want to force that Staff context to appear (despite having \RemoveEmptyStaves active), and put a \hideMMRs when you want it to return to “default” (i.e., the Staff will disappear, if possible). Hope this helps! Kieren. ___ Kieren MacMillan, composer www: http://www.kierenmacmillan.info email: i...@kierenmacmillan.info Thanks for the reply! Your solution works with R1*4 for example, but not with s1*4. I assume I have to add an *-interface, but I can't find which. Do you really need to write spacer rests in such staves? Usually you would enter MultiMeasureRests when instruments are pausing and let LilyPond remove the staves automatically if appropriate. In that case Kieren's solution should work also for you. HTH Urs Anton Curl ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Displaying a staff despite \removeEmptyStaves
On 05/04/2015 21:58, Kieren MacMillan wrote: You need to add multi-measure-rest-interface to the keepAliveInterfaces for that staff. Here are the two bits of syntactic sugar I use: showMMRs = { \set Staff.keepAliveInterfaces = #'( rhythmic-grob-interface multi-measure-rest-interface lyric-interface stanza-number-interface percent-repeat-interface) } hideMMRs = \unset Staff.keepAliveInterfaces So put a \showMMRs in your music expression at the point where you want to force that Staff context to appear (despite having \RemoveEmptyStaves active), and put a \hideMMRs when you want it to return to “default” (i.e., the Staff will disappear, if possible). Hope this helps! Kieren. ___ Kieren MacMillan, composer www: http://www.kierenmacmillan.info email: i...@kierenmacmillan.info Thanks for the reply! Your solution works with R1*4 for example, but not with s1*4. I assume I have to add an *-interface, but I can't find which. Anton Curl ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Displaying a staff despite \removeEmptyStaves
On 05/04/2015 21:59, Colin Campbell wrote: As a quick, off the top of my admittedly empty head, kludge: assuming you know where the staff will break, why not just put in a spacer rest? Cheers, Colin I don't know if I understand well what you mean by put in a spacer rest. My staff is already full of s1, so it's not displayed because of \removeEmptyStaves, and this isn't what I want. Anton Curl ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Displaying a staff despite \removeEmptyStaves
On 05/04/2015 23:50, Urs Liska wrote: Do you really need to write spacer rests in such staves? Usually you would enter MultiMeasureRests when instruments are pausing and let LilyPond remove the staves automatically if appropriate. In that case Kieren's solution should work also for you. HTH Urs ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user In fact, it's at a point where the musician is improvising. I can't write rests, because he's playing. Therefor I use spacer rest with \startTextSpan and \stopTextSpan. Anton Curl ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Scaling Scores
Peter, you wrote Saturday, April 04, 2015 11:51 PM Using version 2.18.2, I found that #(set-global-staff-size 10) inserted at the book level scales everything on the page nicely. Ditto for a big size like 40. But \score{ … \layout { #(layout-set-staff-size 10) } } has unpredictable results. The documentation at http://www.lilypond.org/doc/v2.18/Documentation/notation-big-page#setting-the-staff-size doesn't make a distinction. There is a footnote on that page: Known issues and warnings layout-set-staff-size does not change the distance between the staff lines. Maybe this is the issue that affected you. Perhaps that comment should be moved to the main text. Trevor ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: align text with rests horizontally
Try: \override TextScript.self-alignment-X = #CENTER 2015-04-05 3:38 GMT+02:00 MarcM m...@mouries.net: I'm trying to put text below rests to indicate what to do for the next note. I tried 2 ways to align text with rests but the text is not aligned horizontally. Any other way to try? Here is a sample: http://lilybin.com/0krmre/1 -- View this message in context: http://lilypond.1069038.n5.nabble.com/align-text-with-rests-horizontally-tp174079.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Abbreviations
On Sat, 04 Apr 2015 18:56:47 +0200 Simon Albrecht simon.albre...@mail.de wrote: ... it should be in some way characteristic of a tuplet, A tuplet is nothing more than a sequence of notes that do not have a discrete duration like 1/4 or 1/8. For example, a 3/2 tuplet means the notes have 2/3 of the notated durations. I'd say it would be feasible to write a8 \tuplet 3/2 { f8 a c } b as a8 f5 a c b8 where 5 approximates the duration of 2/3*8 = 5.33. -- Johan ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Abbreviations
Am 05.04.2015 um 09:54 schrieb Johan Vromans: On Sat, 04 Apr 2015 18:56:47 +0200 Simon Albrecht simon.albre...@mail.de wrote: ... it should be in some way characteristic of a tuplet, A tuplet is nothing more than a sequence of notes that do not have a discrete duration like 1/4 or 1/8. For example, a 3/2 tuplet means the notes have 2/3 of the notated durations. I'd say it would be feasible to write a8 \tuplet 3/2 { f8 a c } b as a8 f5 a c b8 where 5 approximates the duration of 2/3*8 = 5.33. Well, 1) using estimated values seems unprofessional, and 2) the point about a tuplet is that it’s not the same as a mere scaled duration: it creates a visual indication of the proportion. And the coding you propose mixes the two, I think. For me, if ever, a8 f5 a c b8 would be analogous to a8 f8*2/3 a c b8, which gives different output. Yours, Simon ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Displaying a staff despite \removeEmptyStaves
Hi everyone! Is it possible to force an empty staff to be displayed occasionally when \removeEmptyStaves is used? Thanks! Anton Curl ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Displaying a staff despite \removeEmptyStaves
On 2015-04-05 01:38 PM, Anton Curl wrote: Hi everyone! Is it possible to force an empty staff to be displayed occasionally when \removeEmptyStaves is used? Thanks! Anton Curl As a quick, off the top of my admittedly empty head, kludge: assuming you know where the staff will break, why not just put in a spacer rest? Cheers, Colin -- I've learned that you shouldn't go through life with a catcher's mitt on both hands. You need to be able to throw something back. -Maya Angelou, poet (1928- ) ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Displaying a staff despite \removeEmptyStaves
Hi Anton, Is it possible to force an empty staff to be displayed occasionally when \removeEmptyStaves is used? You need to add multi-measure-rest-interface to the keepAliveInterfaces for that staff. Here are the two bits of syntactic sugar I use: showMMRs = { \set Staff.keepAliveInterfaces = #'( rhythmic-grob-interface multi-measure-rest-interface lyric-interface stanza-number-interface percent-repeat-interface) } hideMMRs = \unset Staff.keepAliveInterfaces So put a \showMMRs in your music expression at the point where you want to force that Staff context to appear (despite having \RemoveEmptyStaves active), and put a \hideMMRs when you want it to return to “default” (i.e., the Staff will disappear, if possible). Hope this helps! Kieren. ___ Kieren MacMillan, composer www: http://www.kierenmacmillan.info email: i...@kierenmacmillan.info ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user