Hi Simon, thanks for the answer.Well, your code helped me. In fact, my problem was that I was not sure I can create multiple \score {}.By creating a \score for each exercise, inserting your code in the brakets, I was able to create the exercises page.So, I have something like this \score {<< \new ChordNames \chordsExI \new StaffGroup \with { instrumentName = "Ex 1" } << \new Staff \musicExI \new TabStaff \musicExI >> >>} \score {<< \new ChordNames \chordsExII \new StaffGroup \with { instrumentName = "Ex 2" } << \new Staff \musicExII \new TabStaff \musicExII >> >>} [...]
Now, I'll like to have each exercise on a single line, or by the way control when to break. I'm able to avoid automatic break by adding \noBreak here and there, but in seems not like the best way to do it. Any better way to force, i.e., to break only after 5 bars for exercise1, 4 bars for exercise2, ...?Also, if an exercise won't be automatically breaked, it won't fill the page width. How to let every exercise to fill the page width? Tried ragged-last, ragged-last-bottom on \paper definition, but it didn't work. Many thanks! Il Mercoledì 4 Marzo 2015 22:57, Simon Albrecht <simon.albre...@mail.de> ha scritto: Hi Carlo, I don’t get what exactly is the problem you have. Normally you would have one score for each exercise, and each score has << %\new ChordNames \chords \new StaffGroup \with { instrumentName = "647" } << \new Staff \music \new TabStaff \music >> >> And normally lily will choose a perfectly adequate number of bars per line without any need of force. There is some method of forcing the exact number of bars per line, you might find it on the list archives (or someone else can point you to it). So, where’s your problem? Yours, Simon Am 04.03.2015 um 22:46 schrieb Carlo Vanoni: Hi, everyone! I'm trying to figure how to write a page (well, several pages) with multiple exercises (bass licks). An example is this page http://d29ci68ykuu27r.cloudfront.net/product/Look-Inside/large/4055621_181.jpg (of course without the fancy graphics) So, for each exercise there must be: - exercise title/number: can be Staff.instrumentName or a title on top of the staff - each exercise have both Staff and TabStaff - need to add chords on some exercises - ideally, each exercise can be forced to have a different number of bars per line I've made several tests but without success... Is there any example somewhere that explains how to get this? (I've searched a lot but I didn't find anything) Can someone guide me? Thanks a lot! _______________________________________________ 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