lilypond-user
[Top][All Lists]
Advanced

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

Re: Adding to header using module-define! and alist with markups


From: Nate Whetsell
Subject: Re: Adding to header using module-define! and alist with markups
Date: Fri, 3 Dec 2021 12:04:20 -0500

Thanks for your help!

Using \justify as

```
\paper {
 scoreTitleMarkup = \markup {
   \column {
     \fromproperty #'header:piece
     \justify { #'header:instruction }
   }
 }
}
```

may be on the right track, but this results in (for all cases):

```
test.ly:7:17: error: not a markup
     \justify { 
                #'header:instruction }
```

Hopefully I’m missing something simple.

On Dec 2, 2021, at 11:35 AM, David Kastrup <dak@gnu.org> wrote:

Nate Whetsell <nathan.whetsell@gmail.com> writes:

Thanks, but unfortunately using a backtick and commas seems to produce the same output. If it’s helpful, here’s the same example with a backtick and commas:

```
\version "2.22.0"

\paper {
scoreTitleMarkup = \markup {
  \column {
    \fromproperty #'header:piece
    \justify-field #'header:instruction
  }
}
}

Well, \justify-field just takes a string, like \justify-string does.
Maybe it should check for markup lists and pass them through \justify .

-- 
David Kastrup


reply via email to

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