lilypond-user
[Top][All Lists]
Advanced

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

Re: Formatting part of a header property


From: Br. Samuel Springuel
Subject: Re: Formatting part of a header property
Date: Mon, 17 Dec 2018 13:10:41 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.3.3

On 2018-12-17 12:08 PM, David Kastrup wrote:
Uh, anything wrong with the obvious

       custom = \markup { PRAELUDIUM I \italic { italicized text } Back to 
normal }

?
It works in the MWE I posted, but not in my original use case (the contents of the field disappear entirely. After some further exploration the problem seems to be that I'm making use of `\wordwrap-field` rather than `\fromproperty` (a necessity due to the fact that the contents of this field can get rather long). So, new non-MWE:

\version "2.19.82"


\book {
  \paper {
    indent = 0\mm
    scoreTitleMarkup = \markup {
      \fill-line {
        \null
        \fontsize #4 \bold \wordwrap-field #'header:piece
      }
    }
  }
  \header { tagline = ##f }
  \score {
    { s1 }
    \header {
piece = \markup { PRAELUDIUM I \italic { italicized text } Back to normal }
    }
  }
}


--
✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝
Br. Samuel, OSB
(R. Padraic Springuel)
St. Anselm’s Abbey
4501 South Dakota Ave, NE
Washington, DC, 20017
202-269-2300
(c) 202-853-7036

PAX ☧ ΧΡΙΣΤΟΣ



reply via email to

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