lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: \justify & break


From: Marc Hohl
Subject: Re: \justify & break
Date: Thu, 05 Oct 2017 09:50:04 +0200



Am 05.10.2017 9:32 vorm. schrieb Gianmaria Lari <address@hidden>:
On 5 October 2017 at 09:28, Thomas Morley <address@hidden> wrote:
2017-10-05 6:56 GMT+02:00 Gianmaria Lari <address@hidden>:
> On 5 October 2017 at 01:05, Thomas Morley <address@hidden> wrote:
>>
>> 2017-10-04 17:53 GMT+02:00 Gianmaria Lari <address@hidden>:
>> > On 4 October 2017 at 17:15, Malte Meyn <address@hidden> 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.

Why \justify-string use the scheme-syntax and not the lilypond syntax?

You need scheme when using \n, otherwise an empty line works fine for separating paragraphs in \justify-string, no scheme needed.

Marc
g.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]