lilypond-user
[Top][All Lists]
Advanced

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

Re: Title/Subtitle Left-Align


From: Lukas-Fabian Moser
Subject: Re: Title/Subtitle Left-Align
Date: Fri, 1 Feb 2019 07:30:57 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

Hi,

Am 31.01.19 um 23:49 schrieb nagymusic:
Would anyone be willing to advise on how to left-align the title (also a
subtitle, dedication but not the composer)? I attached a screenshot from one
of the scores.

You can force LilyPond to use the whole line for the (then left-aligned) title using \fill-line:

  title = \markup \fill-line { \line { Add title here } \null }

This may be wrapped in a helper function:

#(define-markup-command (forceLeft layout props content) (markup?)
   (interpret-markup layout props
     #{
       \markup \fill-line { #content \null }
     #}
     ))

\header {
  title = \markup \forceLeft "Title of famous piece"
  subtitle = \markup \forceLeft \line { Interesting subtitle }
}

But note that due to copyright reasons, quite strict restrictions are likely to apply in most countries regarding re-typesetting the music contained in your link.

Lukas




reply via email to

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