lilypond-user
[Top][All Lists]
Advanced

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

Re: Differing header position depending on tallest letter


From: David Kastrup
Subject: Re: Differing header position depending on tallest letter
Date: Fri, 10 Mar 2017 20:53:32 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Kieren MacMillan <address@hidden> writes:

> Hi Peter,
>
>> this would indeed work, but the approach is quite ugly:
>
> You should really handle the presentation manipulation in the presentation 
> layer, not the content layer:
>
> \version "2.19.54"
>
> \paper {
>   scoreTitleMarkup = \markup {
>     \combine \fromproperty #'header:title \transparent "Tj"
>   }
> }
>
> \header {
>   title = "Title"
> }
>
> { c'4 }
>
> Hope this helps!
> Kieren.
>
> p.s.
>
>> I don’t suppose there is a way to change a markup’s reference point
>> to being the baseline?
>
> This is a long-standing request of mine.  =)

A markup's reference point _is_ the baseline.  It's more a question of
what to do with _stacks_ of markups because a single reference point
cannot simultaneously represent the height of the top line and the depth
of the bottom line.

-- 
David Kastrup



reply via email to

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