lilypond-user
[Top][All Lists]
Advanced

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

Re: \justify & break


From: Gianmaria Lari
Subject: Re: \justify & break
Date: Thu, 5 Oct 2017 06:56:19 +0200

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 :)

By the way why \justify-string use the scheme syntax and it is not a first class citizen of lilypond language?
Thank you, g.

reply via email to

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