2017-10-05 6:56 GMT+02:00 Gianmaria Lari <[email protected]>: > On 5 October 2017 at 01:05, Thomas Morley <[email protected]> wrote: >> >> 2017-10-04 17:53 GMT+02:00 Gianmaria Lari <[email protected]>: >> > On 4 October 2017 at 17:15, Malte Meyn <[email protected]> wrote: >> >> Am 04.10.2017 um 17:11 schrieb Gianmaria Lari: >> >>> >> >>> Is there any \break like command to avoid to use two \justify? >> >> >> >> >> >> Use \justify-string instead. Empty lines make line breaks: >> > >> > [...] >> > >> > Yes, I saw \justify-string and it works but I wonder if it existed >> > something >> > more.... natural, like a \break or a command with the lilypond syntax >> > (and >> > not scheme syntax with #). >> > >> > The reason I'm so picky it's because I'm thinking to the day when I will >> > suggest lilypond as engraving program to other persons. I will not >> > propose >> > it to programmers and would like to avoid (each time is possible) to use >> > special syntax that I have to explain etc. etc. >> > >> > Thank you, g. >> >> Well, you could do: >> >> \markup { >> \column { >> \line \bold \smallCaps { Note } >> \justify-string >> #"L'articolazione d'elezione per lo staccato รจ quella del braccio, o >> nel >> caso di parti rapide, del polso. \n >> Nello staccato, braccio, mano e dita sono un tutt'uno ed agiscono in >> modo >> compatto senza scomporsi e senza articolazioni intermedie." >> } >> } >> >> Ofcourse \n _is_ scheme-syntax ;) > > > Uhmm... in that case I prefer to use two consecutive \justify. But \n is > good to know. I will keep it in my arsenal :)
Keep in mind: \n is valid input only as part of strings. > By the way why \justify-string use the scheme syntax and it is not a first > class citizen of lilypond language? > Thank you, g. Not sure what you mean. I don't know what a "first class citizen of lilypond language" might be. We have justify, justify-string, justify-field taking different arguments i.e. markup-list, string, symbol. All of them have their use-cases. Cheers, Harm _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
